[android-developers] Mobile Logs Application
I recently stumbled upon an application called Mobile Logs on my android in settingsmanage applicationsthird party. When I look at it, it appears to be some sort of tracking application that states it has the ability to intercept outgoing calls, read text messages, internet searches, find phone location, etc. I did not install this and I think that someone else in my house put it there. Does anyone know what this is? How do I find out who is accessing this information? Thank you so much for your help. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to retrieve a JSON object from a php url to my android
Hi, I am having this code HttpClient client = new DefaultHttpClient(); HttpGet request = new HttpGet(); request.setURI(new URI(uri)); HttpResponse response=client.execute(new HttpGet(uri)); InputStream ips = response.getEntity().getContent(); //String a = String(ips); BufferedReader buf = new BufferedReader(new InputStreamReader(ips,UTF-8)); And I am having a url like http://site.com/webservice.php that returns a JSON object. But am not getting the result.Somebody please help. I want to get the JSON object in my android class. I have went through almost all questionnaires in this site. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problem with Mezzofanti ( Android-phone application) :
Mezzofanti : Select a text of interest (menu at a restaurant, tourist information sign, etc), and take a photo. The internal-OCR engine will start Text Recognition. I have installed the app in my phone. when i tried to capture a photo, A warning is shown : *No languages installed, please install using **menu- preferences - download languages* I took option *menu - settings - Download new languages -* and the file starts downloading... but after some time a warning is shown : *' Error while installing new language'* -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Show Dialler on clicking an option menu
have an option menu. while clicking the option menu an edittext a button is amde visible in a screen but i need to show a phone dialler there. Im showing that dialler by clicking the edit text.. but my requirement is to show that dialler with that edittext button by clicking the option menu itself. My code is given below: TableRow tableRow; EditText phoneNumber; Button callNow; @Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case First: try { tableRow.setVisibility(View.VISIBLE); phoneNumber.setVisibility(View.VISIBLE); phoneNumber.setVisibility(View.FOCUS_UP); phoneNumber.setKeyListener(DialerKeyListener.getInstance()); callNow.setVisibility(View.VISIBLE); phoneNumber.setWidth(200); callNow.setWidth(100); break; } catch (Exception e) { // TODO: handle exception } break; } } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Can we access Java.util Map of a class in another class
I am using a SortedMap in a calss that extends SimpleCursoradapter. can i acess that map from another class that extends ListActivity. The code im using is given below. * public* *class* ListContacts *extends* ListActivity { ListAdapter lAdapter; @Override *public* *void* onCreate(Bundle savedInstanceState) { *super*.onCreate(savedInstanceState); setContentView(R.layout.*activitylist*); // /** * * Use the ContentResolver instance to query the database and return a * Cursor with the contacts list. The query is performed against the URI * stored in ContactsContract.Contacts.CONTENT_URI. */ Cursor cursor = getContentResolver().query( ContactsContract.Contacts.*CONTENT_URI*, *null*, ContactsContract.Contacts.*HAS_PHONE_NUMBER* + = 1, *null*,null); startManagingCursor(cursor); // start mappings String[] columns = *new* String[] { ContactsContract.Contacts.*DISPLAY_NAME * }; *int*[] names = *new* *int*[] { R.id.*contact_name* }; lAdapter = *new* ImageCursorAdapter(*this*, R.layout.*main*, cursor, columns ,names); @Override *protected* *void* onListItemClick(ListView l, View v, *int* position, *long * id) { *super*.onListItemClick(l, v, position, id); } } // end of class ListContacts * public* *class* ImageCursorAdapter *extends* SimpleCursorAdapter { *private* Cursor c; *private* Context context; SortedMapString, String phoneNumberMap = *new* TreeMapString, String(); *public* SortedMapString, String getPhoneNumberMap() { *return* phoneNumberMap; } *public* *void* setPhoneNumberMap(SortedMapString, String phoneNumberMap) { *this*.phoneNumberMap = phoneNumberMap; } *public* ImageCursorAdapter(Context context, *int* layout, Cursor c, String[] from, *int*[] to) { *super*(context, layout, c, from, to); *this*.c = c; *this*.context = context; } *public* View getView(*int* pos, View inView, ViewGroup parent) { phoneNumberMap.put(1, fasfa); phoneNumberMap.put(2, fasfa1); phoneNumberMap.put(3, fasfa2); phoneNumberMap.put(4, fasfa3); phoneNumberMap.put(5, fasfa4); phoneNumberMap.put(6, fasfa5); System.*out*.println( Map : size: + phoneNumberMap.size()); } }// end of class ImageCursorAdapter How can i access phoneNumberMap in the onListItemClick () method of Listcontacts class. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Can we access Java.util Map of a class in another class
can u pls explain a little bit more about this. how to hold a reference of a map it the application class object -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Can we access Java.util Map of a class in another class
Yes its working for me: Thanks . The code is The more general problem you are encountering is how to save state across several Activities and all parts of your application. A static variable is a common Java way of achieving this. public class ImageCursorAdapter extends SimpleCursorAdapter { public static SortedMapString, String phoneNumberMap = new TreeMapString, String(); public static SortedMapString, String getPhoneNumberMap() { return phoneNumberMap; } public static void setPhoneNumberMap(SortedMapString, String phoneNumberMap) { ImageCursorAdapter.phoneNumberMap = phoneNumberMap; } } public class class ListContacts extends ListActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); System.out.println(Map size: : + ImageCursorAdapter.getPhoneNumberMap().size()); Set s = ImageCursorAdapter.getPhoneNumberMap().entrySet(); Iterator it = s.iterator(); while (it.hasNext()) { Map.Entry m = (Map.Entry) it.next(); String key = (String) m.getKey(); String value = (String) m.getValue(); System.out.println(loadContactDetails Map : Value : Names : + value); System.out.println(loadContactDetails Map : Key : Names : + key); } } } REFER: http://stackoverflow.com/questions/708012/android-how-to-declare-global-variables -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Problem while loading phone contacts in ascending order
Thanks. Its working for me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] HELP! Cannot launch sub activity
Hi y'all, I'm working on making an application that requires me to populate a contact list. My code works when the intent-filter for the activity is set to: activity android:name=.ContactPicker android:label=Contact Picker intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity However, I do not want this activity to start right at the launch of the emulator. My program has a menu page where once you click on a button, this contact picker (basically a contact list) will show up. What are the manifest attributes that I need for this to happen? Thanks! Jennifer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en