android-1.6-donut

Include .so library to android ndk project

Deadly 提交于 2019-12-24 20:56:28
问题 I'm beginning with android NDK. I have to compile a native library for the 1.6 sdk (mupdf) but it requires the ljnigraphics lib (which was added lately on 2.2). I'm trying to include the compiled library to my android project but I can't figure out how to do it. 1. Is it the best way to do this ? 2. If yes how should I proceed ? Any tutorial or information to start will be appreciated. 3. If not do you know any pdf library i could use on android 1.6 ? Here is my Android.mk file : LOCAL_PATH :

Make a call and play a message? (Android 1.6)

时光怂恿深爱的人放手 提交于 2019-12-13 07:28:43
问题 I have an application that will need to make a call and play a recorded message. Is that even possible? 回答1: No, sorry. You can initiate a call with the right permission, but you have no way to play the recorded message. 来源: https://stackoverflow.com/questions/3764057/make-a-call-and-play-a-message-android-1-6

Navigate Between Activities in an ActivityGroup

北城余情 提交于 2019-12-12 02:46:20
问题 I'm developing an app which contain TabHost ,in one of those tabs i have an ActivityGroup , and from this ActivityGroup , i launch another SubActivity ( let's say that i Launch an Activity A ), and until this , everything is OK. The problem is when i press the BackButton ,the CurrentActivity( Activity A ) is destroyed, but the ParentActivity( The ActivityGroup ) is not resumed , and the app show just a null Window with the Title of My App ( " My Application Title " ) . The Code to launch the

How to get the system ip address after usb tethering of android phone?

谁都会走 提交于 2019-12-05 06:13:40
问题 I'm developing a mobile application in android. Here I want to detect the IP address of the computer,system,etc after the usb tethering of the any android phone I cannot find the solution. If I put the following code then it takes the only the IP address of phone ,I need IP address of system The following are code ArrayList<InetAddress> arrayList=new ArrayList<InetAddress>(); try { for (Enumeration<NetworkInterface> en = NetworkInterface.getNetworkInterfaces(); en.hasMoreElements();) {

How to get the system ip address after usb tethering of android phone?

只愿长相守 提交于 2019-12-03 21:02:05
I'm developing a mobile application in android. Here I want to detect the IP address of the computer,system,etc after the usb tethering of the any android phone I cannot find the solution. If I put the following code then it takes the only the IP address of phone ,I need IP address of system The following are code ArrayList<InetAddress> arrayList=new ArrayList<InetAddress>(); try { for (Enumeration<NetworkInterface> en = NetworkInterface.getNetworkInterfaces(); en.hasMoreElements();) { NetworkInterface intf = en.nextElement(); for (Enumeration<InetAddress> enumIpAddr = intf.getInetAddresses();