GPS String hidden application

by Ashish » Thu, 12 Mar 2009 01:24:33 GMT


Sponsored Links
 Hello All,

i want to write a GPS application which will be started when i enter
string like (*#1234#) on the dialer screen and then the Application
will start so that only developer can access that application.
i want to write this application to just test all the functionalities
of the GPS.

can anyone help me out on this?
its really urgent.

thanks and regards,
Ashish dhiman

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



GPS String hidden application

by Ashish Dhiman » Thu, 12 Mar 2009 01:24:34 GMT


 Hello All,

i want to write a GPS application which will be started when i enter string
like (*#1234#) on the dialer screen and then the Application will start so
that only developer can access that application.
i want to write this application to just test all the functionalities of the
GPS.

can anyone help me out on this?
its really urgent.


thanks and regards
#Ashish Dhiman#

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


Sponsored Links


GPS String hidden application

by Ashish Dhiman » Thu, 12 Mar 2009 01:24:42 GMT


 Hello All,

i want to write a GPS application which will be started when i enter
string like (*#1234#) on the dialer screen and then the Application
will start so that only developer can access that application.
i want to write this application to just test all the functionalities
of the GPS.

can anyone help me out on this?
its really urgent.

thanks and regards,
Ashish dhiman

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



GPS String hidden application

by Mark Murphy » Thu, 12 Mar 2009 01:27:57 GMT


 


You have no means of intercepting events from the Dialer application.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!

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



GPS String hidden application

by alive » Sat, 14 Mar 2009 02:11:43 GMT


 You can handle your secret code by SpecialCharSequenceMgr.java and
Intents.SECRET_CODE_ACTION.

Best regards,
Clement Fan






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



GPS String hidden application

by Ashish Dhiman » Sat, 14 Mar 2009 13:18:44 GMT


 Hi Clement,

thanks for such a useful information.
it would be very helpful if you can provide me some example.

thanks and regards
#Ashish Dhiman#
Sent from: Bengaluru Karnataka India.


2009/3/13 alive <yf....@qisda.com>





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



Other Threads

1. http ?? how can i download the file from web??

how can i download the file from web??

 httpClinet ?

please tell me the API  or give me some demo!
--~--~---------~--~----~------------~-------~--~----~

2. ListView + SimpleCursorAdapter => NullPointerException

Hello there,

I am trying to access the contact list and display it in a CUSTOM
ListView (ListActivity is not an option). Unfortunately the activity
fails with a NullPointerException :( This may be a simple issue - have
I overlooked something ? Help appreciated ... (I have tried the code
with a ListActivity and got valid results - therefore I assume, the
Cursor instantiation is correct)

Activity Class:
---------------

import android.app.Activity;
import android.database.Cursor;
import android.os.Bundle;
import android.provider.Contacts;
import android.provider.Contacts.People;
import android.widget.ListView;
import android.widget.SimpleCursorAdapter;

public class Recommendation extends Activity
{
        //
        // GUI variables
        //
        private ListView        recommendationList;
        //
        // Logic variables
        //
        private Cursor          contacts;

        @Override
        public void onCreate(Bundle savedInstanceState)
        {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.mainmenu);
                recommendationList = (ListView) findViewById
(R.id.recommendationList);
                String[] projection = new String[] { People._ID, People.NAME,
People.PRIMARY_EMAIL_ID };
                contacts = managedQuery(Contacts.People.CONTENT_URI, projection,
null, null, null);
                SimpleCursorAdapter simpleCursorAdapter = new 
SimpleCursorAdapter
(this, android.R.layout.simple_list_item_2, contacts, new String[]
{ People.NAME, People.PRIMARY_EMAIL_ID }, new int[]
{ android.R.id.text1, android.R.id.text2 });
                recommendationList.setAdapter(simpleCursorAdapter);
        }
}

---------------

Recommendation.xml:
---------------

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
        android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:padding="10dp">
        <ListView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/recommendationList"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"/>
</LinearLayout>

---------------

LogCat:
---------------

12-08 14:30:55.852: ERROR/AndroidRuntime(4287): Uncaught handler:
thread main exiting due to uncaught exception
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):
java.lang.RuntimeException: Unable to start activity ComponentInfo
{de.xxx.android/de.xxx.android.Recommendation}:
java.lang.NullPointerException
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2140)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2156)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1580)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     at
android.os.Handler.dispatchMessage(Handler.java:88)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     at
android.os.Looper.loop(Looper.java:123)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     at
android.app.ActivityThread.main(ActivityThread.java:3742)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     at
java.lang.reflect.Method.invokeNative(Native Method)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     at
java.lang.reflect.Method.invoke(Method.java:515)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:739)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     at
dalvik.system.NativeStart.main(Native Method)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): Caused by:
java.lang.NullPointerException
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     at
de.xxx.android.Recommendation.onCreate(Recommendation.java:33)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1122)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2103)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):     ... 11 more

---------------

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

3. Network access problem on ubuntu

4. Home Screen issue

5. Creating a custom widget

6. Linux 2.6 now on the iPhone

7. How to track the changes in the EditField