Internet on emulator

by Zeeshan Ahmad » Wed, 21 Jan 2009 00:15:28 GMT


Sponsored Links
 Hi there

I have an Ethernet LAN connection in my room and wanted to know as to
whether I can use it to surf the web on the emulator???

If yes then how???

--~--~---------~--~----~------------~-------~--~----~



Internet on emulator

by Zeeshan Ahmad » Mon, 26 Jan 2009 05:14:54 GMT


 Can we surf the net on emulator ???
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Internet on emulator

by Kather Jailani » Mon, 26 Jan 2009 08:09:59 GMT


 Yes u can





Can we surf the net on emulator ???

--~--~---------~--~----~------------~-------~--~----~



Internet on emulator

by Zeeshan Ahmad » Tue, 27 Jan 2009 01:15:47 GMT


 



How can I do so??
--~--~---------~--~----~------------~-------~--~----~



Internet on emulator

by Kather Jailani » Tue, 27 Jan 2009 03:44:39 GMT


 Use the brwsr











How can I do so??

--~--~---------~--~----~------------~-------~--~----~ You received this
message because you are subs...

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. JNI run time error even I use same code and lib as Android source code.

Hi, all
Now, I am trying to verify the JNI in Android java platform.
I am using HTC G1 phone.
I write a simple .c file to make a hello.so and a simple hello.java file to
load the library. My story is like below:

1. create hellolib.c file and compiled to a hellolib.so
create a folder in
create a hellolib.c file hellolib.c, it really nothing just a function
return;
*#include <jni.h>*
*#define .LOG_TAG "TestLib"*
*#undef LOG*
*#include <utils/Log.h>*
*JNIEXPORT void JNICALL java_com_testHelloLib_PrintHello(JNIEnv * env,
jobject jobj)*
*{*
*LOGD("hello android LIB");*
*}*

I compiled the hellolib.c to .so by changing the android.mk:
*LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)*
*LOCAL_SRC_FILES := \
 hellolib.c*
*LOCAL_C_INCLUDES := \
 $(JNI_H_INCLUDE)*
*LOCAL_SHARED_LIBRARIES := \
 libutils

LOCAL_PRELINK_MODULE := false*
*LOCAL_MODULE := libhello *

*include $(BUILD_SHARED_LIBRARY)
*
push the libhello.so to /system/lib

2. create a .java file.
*public class HelloAndroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
     super.onCreate(savedInstanceState);
        TextView tv = new TextView(this);
       native_test.add_xx(1, 2) ;*
*    }*
*
}
class native_test{
 static {
 System.loadLibrary("hello");// System.loadLibrary("media_jni");
 }*
* public native_test(HelloAndroid helloAndroid) {
   return;
 }
 public static int add_xx(int a, int b)
 {
  return 0;
 }
}*

3. push the .apk to the phone and run from eclips
 always a run time error like:"the application hello.android has stopped
unexpectedly, pla try again"

I changed the System.loadLibrary("hello") to a
System.loadLibrary("media_jni") like I saw in android source code, I get the
same error.

so, Could anyone help me to teach me where is my error? I missed something?
If my hellolib.so has problem, why I load the media_jni still meet the
problem? if my .java has problem, but it seems really like my java is like
the source code. Do I need to expose the .h file to java app?
I am really new for java programming, appreciate for your help!

Thanks
with best wishes
Jerry

--~--~---------~--~----~------------~-------~--~----~

2. API for validating app purchases

Having read a few threads about how users that have root access and
can copy the .apk after installing the app, ask for a refund and
install the app again, it occurred to me it would be nice to have an
API that connects to the Market and validates if the current user has
purchased the app. It should be up to the developer to decide how
often to check, what to do if the query to the Market fails due to
connection issues, etc.  It could be part of the current
PackageManager.

Example:
boolean hasUserPurchasedPackage(String PackageName);

Regards,
Alejandro

--~--~---------~--~----~------------~-------~--~----~

3. A question about the use of 鈥?logcat"

4. How to add transparent button to screen

5. How to formate sdcard

6. Paid Download Stats?

7. How to debug android c programs by gdbserver on G1