Android :: Did Support Make A Dial In Native Code

Jul 28, 2009

I'm try to make a dial in native code, could i make a dial with RIL through socket or IPC communication?or push AT command directly to GSM Modem.

Android :: Did support make a dial in native code


Android :: Dial A USSD Code?

Jan 23, 2009

When I dial a divert number directly from the handset it works. For example: **004*+668190099# sets up my call forwarding to the number +668190099

However, when I try to do the same thing from within an application I get a problem. The number displayed in the dialer is missing the ending #.

CODE:....................

Is this a bug or is there some other reason it wont let me dial a ussd code?

View 5 Replies View Related

Android : M3u Playlists - Native Player Doesn't Support

Mar 8, 2010

The native android player doesn't support .m3u playlists. A Online Radio, DroidLive, and StreamFurious all support .m3u playlists, but they are intended for streaming radio, not playing your own playlists. Because of this there is no next song or previous song functionality, which is pretty important for me. Anyone know a program that can do this?

View 1 Replies View Related

Android :: Using Sqlite In Native Code

Nov 22, 2010

I have a library written in C which implements some complicated algorithm over two databases and as a result produce new one. I am trying to import it in android using android-ndk. What is the correct wat to use sqlite in you native libraries, i was able to build the sqlite manually using the ndk but when i use it gives some strange errors when trying to fetch rows from db which is on phone storate - after i fetch some data i got SQL:database not opened. how can use sqlite in native code on android.

View 2 Replies View Related

Android :: Can Use TraceView In Native Code When Using NDK

Dec 10, 2009

We know that it's very convenient to use TraceView in Android java code to check the runtime of different chunks of code. Now I develop my app with NDK and I want to check the runtime of some native functions, but I found nothing in TraceView guide if it's possible to use this tool. Because I noticed that one of my native methods spent too much time and I want to dig out the more detailed root cause. Is there anybody know if we can use TraceView in native code?

View 2 Replies View Related

Android :: Using Surface In The Native Code

Feb 3, 2010

I am planning to write a video player application and I am planning to use the gstreamer on the native side. I am trying to use the SurfaceFlinger for the rendering part. For this I have written a test program to experiment on the rendering part. I am using the surface flinger wrapper from the project

http://gitorious.org/rowboat/external-gst-plugins-android

But the following ERROR occurs when we try to run the .apk.

CODE:.......

The I changed the permission for "android.permission.ACCESS_SURFACE_FLINGER" in frameworks/base/core/ res/AndroidManifest.xml to "dangerous" and recompiled. But got the same error.

Then I commented out the "checkCallingPermission" method in IServiceManager.cpp and recompiled. Then also i got the same error.

View 4 Replies View Related

Samsung Behold 2 :: Doesn't Support Direct Dial Shortcut On Desktop?

Jan 7, 2010

Doesn't this phone support the direct dial shortcut on the desktop? I am trying to add contacts on my desktop that I would like 1-touch access to but the only way to add a contact is using the shortcut to contact. Clicking on that opens up the contact details and then I have to click on the number I want to call and select call or message. Is there any way to add a particular number for a particular contact directly onto the home screen? I know that the MT3G used to have a shortcut to direct dial option. Is there anyway to get that on this phone

View 2 Replies View Related

Android :: Getting Sensor Information From Native Code - C Or C++

Oct 12, 2010

Is this possible to access a sensor data form native code without using Java at all? I need to access to the sensor as fast as possible, but it seems like the "DELAY_FASTEST" parameter when registering an event change is not fast enough.

View 3 Replies View Related

Android :: How To Debug Native Code In Eclipse

Jun 18, 2010

I created one android application it is using one native method. I created shared library using ndk tools.My jni function is having some problems i want to debug it. How to debug it in eclipse tool

View 2 Replies View Related

Android :: Using SKIA Canvas In Native Code

Oct 4, 2009

I set out to use SkCanvas and other native SKIA classes but I could not find any sample code. After a week's of search and diving deep into Android source, I got it working. Below in my blog, I have detailed, how to use SimpleJNI native sample, to get native canvas going. If you find it useful or I did something wrong let me know http://matthiyosi.blogspot.com/2009/10/using-skia-in-android-native-c...

View 6 Replies View Related

Android :: Debugging Native Code (C++) Using Gdb With Eclipse / Is It Possible?

May 24, 2010

I have some piece of code which uses JNI. I can debug code wrote in Java directly in Eclipse (using ADT). I even have a script, which help me debug native code with gdb. However this is not very comfortable way for doing this.Is it possible to configure Eclipse to use gdb (I guess gdbserver) for debbuging android native applications? Do you know where I could find any description of this?

View 1 Replies View Related

Android :: Can Native Only Code Run As Standalone Application

Nov 8, 2010

We want to migrate a huge complex native program to Android system ,running it as a background service accepting command sent from Java Program using JNI along with IPC. However, the Android NDK state following words:

Please note that the NDK does not enable you to develop native-only applications. Android's primary runtime remains the Dalvik virtual machine.

Does that mean we have no way to run an standalone native-only application on Android as a background service? The native code can only exist in the form of library that will be loaded to the virtual machine through JNI?

View 2 Replies View Related

Android :: Porting JMF / Native Source Code

Jan 22, 2009

I am creating an Android application which uses the JMF (SIP, RTP, JAIN). So i downloaded the JMF source code for some adhoc change to my application.The basic questions 1. How will it behave the "native files - C/C++/header" in JMF source files(downloaded)? because android is based on java right now. 2. Is there any complete different way to porting/doing the SIP, RTP working in android?Is there any link from sun.com(this) site for JMF source code?Any suggestion and comment about this?

View 3 Replies View Related

Android :: How To Add Includes In Native C Code That Will Be Compiled By Ndk

Aug 23, 2010

How I can add headers to my native c file.

So here's the details.

I was able to setup my android project to call a native function from a .so file. And actually I need to add box2d to my project, but I when I include the header files, it won't make. So basically my problem is how do I tell the make file to include a whole folder with header and cpp files.

I tried adding the path directly to the include statement just for the sake of testing it. The error goes away, but new errors come out.

View 2 Replies View Related

Android :: How To Broadcast Intent From Native Code

Nov 2, 2010

Is it possible to broadcast an Intent from native code? If so, is there documentation and/or sample code pertaining to the relevant APIs?

View 1 Replies View Related

Android : How To Access A File (say .xml) From A Native Code?

Sep 16, 2010

I am trying out an example of OpenCV from http://github.com/billmccord/OpenCV-Android and am stuck at the point where it is mentioned "Before attempting to run the VideoEmulator application, you must first copy this XML file into the emulator in the following location: /data/data/org.siprop.opencv/files/haarcascade_frontalface_alt.xml " Where in my eclipse workspace do I need to place this haar xml file to be copied to the location /data/data/org.siprop.opencv/files/ of the emulator?

View 1 Replies View Related

Android :: Make A Call Without Dial In Background

Sep 15, 2009

Is possible to make a call programaticaly without the dial? I want to make an app that in background make a call, but i need that don't show the Dial app, only my own app.

View 7 Replies View Related

Android :: Print Backtrace When Debug Native Code

Nov 23, 2010

When I debug android app, if I work with Java, I can use Log.d("TAG", "xxxx", new Throwable()) to print backtrace of Java code. This is really handy for me to find bugs. But when I work with native library (e.g. libwebcore.so), there seems no way to print backtrace in runtime. The only way to debug native code is use gdbserver.

I have a question: Is there any way to print backtrace in C/C++?

View 3 Replies View Related

Android :: Access To Databases From Native Code - For Example Mmssms.db

Aug 9, 2010

Try to select (or update) from custom databases (for example mmssms.db) but on init I see " Unable to open the database file". Try send permissions in manifest <uses-permission android:name="android.permission.WRITE_SMS"/> <uses-permission android:name="android.permission.READ_SMS"/> but this doesn't help.

View 2 Replies View Related

Android :: App Closes Automatically - Native Code Crash

Jul 12, 2010

I've a very simple / minimal code application.

I'm drawing some lines on screen with my finger.

At some point, app closes itself / exists automatically.

No exception is thrown.

CODE:......................

View 3 Replies View Related

Android :: Debugging Integrated Java And Native Code

Feb 7, 2009

I am trying to figure out what is the best way to debug a mix of Java and native code? Please notice, that I am NOT trying to develop a native app. The app will be written entirely in Java, using Android SDK. However, I noticed that some pieces of the SDK use native methods (e.g. AssetManager, WebKit, etc). I wonder which tools Google developers use if/when they need to debug a mix of Java and C/C++ code? Eclipse/gdb or there are commercial tools which make the debugging experience less painful?

View 2 Replies View Related

Android :: How To Play Synthesized Sounds? (Native Code)

Oct 9, 2010

I wrote an iPhone app some time ago that creates sound programatically. It uses an AudioQueue to generate sound. With the AudioQueue, I can register for a callback whenever the system needs sound, and respond by filling a buffer with raw audio data. The buffers are small, so the sound can respond to user inputs with reasonably low latency.

I'd like to do a similar app on Android, but I'm not sure how. The MediaPlayer and SoundPool classes seems to be for playing canned media from files, which is not what I need. The JetPlayer appears to be some sort of MIDI playback engine. Is there an equivalent to AudioQueue in the Android Java API? Do I have to use native code to accomplish what I want?

View 1 Replies View Related

Android :: Way To View Phone Native Code Profiling?

Mar 29, 2010

I started my emulator with ./emulator -trace profile -avd emulator_15. I then tracked down the trace files to ~/.android/avd/rodgers_emulator_15.avd/traces/profile, where there are six files: qtrace.bb, qtrace.exc, qtrace.insn, qtrace.method, qtrace.pid, qtrace.static. I can't figure out what to do with these files. I've tried both dmtracedump and traceview on all of the files, but none seem to generate any output I can do anything with.

How can I view the proportion of time taken by native method calls on Android?

View 2 Replies View Related

Android :: Native Code Called Successfully But Not Executed Properly

Sep 10, 2009

In Android , Native code is written as follows.
JNIEXPORT void JNICALL Java_com_android_Test_show(JNIEnv *env, jobject obj) {
printf("THIS IS TEST");
}

View 7 Replies View Related

Android :: Internal Compiler Error When Compiling Native Code

Aug 9, 2010

Currently I am trying to compile native code for Android. The code is from the OpenCV port for Android. I pasted all the code correctly in my project and edited my make files accordingly. When I set android:debuggable to false everything works fine and I get my native library. When I try while android:debuggable is set to true I get an error.

Here is a part of the log:

CODE:....................

From what I have found on the internet this is caused by the optimization level of the compilation. As long as the code isn't compiled so that is is debuggable afterwards everything should be fine.

Now apparently it is possible to avoid this by setting APP-OPTIM := release in the Application.mk or adding -O2 to LOCAL_CFLAGS. I have tried both and still I get this error.

Right now I don't really care that much about debugging my native code, but I would like to have basic debugging enabled. And I don't want to keep switching android:debuggable in my manifest every time I want to compile. I'm not even sure if it is okay at all if I just set android:debuggable to false pre compiling and to true post compiling, but I am sure I will forget it every second run.

View 1 Replies View Related

Android :: How To Make Native Zip Application

Oct 7, 2010

Hello, I would like to create a zip file from files located on the sd card, I have managed to do that using java but I think that the result is too slow, so I thought of going native using the android NDK.

My questions are:

Does anyone know any C/C++ library to zip unzip files that will work on android?

How to know if the library will work on android?

will this make any difference on performance?

View 3 Replies View Related

Android :: How To Parse And Analyze The Call Stack Of Native Code - Tools

Apr 19, 2009

The following is the log from native code.

CODE:.................

View 6 Replies View Related

Motorola Droid :: Make Calls - Random Pictures Of Android Come Up / Can't Dial *228

Jan 15, 2010

Every time I a call is dialing or is hung up, random pictures of the android character pop up, like him playing baseball, eating a hot dog, sitting at a desk, playing guitar in the park... etc. Does anyone know what caused this to start? what program maybe? and a way to turn it off? I think it started right after I rooted my droid, it kind of acts like a screen saver type thing. I've waited a while to see if anything has popped up on the forums, and nothing has, it's annoying lol. oh and My phone will not dial *228, just goes back to home screen

View 11 Replies View Related

Android :: Make App To Dial Number And Play Prerecorded Message On Call?

Sep 17, 2010

I want to make an application that should dial a number and play a prerecorded message on the call...

Can you please give me a clue if this can be done?

View 3 Replies View Related

Android :: Android -- Support 1.6 - Support For Deprecated Code In 1.5

Jul 3, 2010

I'm trying to build a app that uses the SmsMessage class but there are two versions depending on the API level of the device:

android.telephony.gsm.SmsMessage (deprecated for 1.6 and above)

android.telephony.SmsMessage (the new class for 1.6 and up)

I want to target 1.5 and yet have the newer class (android.telephony.SmsMessage) run on devices with 1.6 or higher. How do I do this?

I have already tired this: http://devtcg.blogspot.com/2009/12/gracefully-supporting-multiple-android.html but I couldn't get it to work (the author doesn't mention how he/she handles the different imports, the exact api level settings etc.)

CODE:....................

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved