Re: [android-developers] application in Long press Home button(Recent task info)
Try setting both: FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS -- Kostya 25.11.2010 7:49, A N K ! T пишет: yes that what i meantbut if i set any flag except FLAG_ACTIVITY_NEW_TASK that activity wont start 2010/11/24 Kostya Vasilyev kmans...@gmail.com mailto:kmans...@gmail.com That's not a running task list - it's a recent task list. I *think* there is a flag you can set in the Intent when launching the activity to prevent it from showing up in this list. Look up Intent in the reference, the flag starts with FLAG_ACTIVITY_ -- Kostya Vasilyev -- http://kmansoft.wordpress.com 24.11.2010 19:50 пользователь A N K ! T ankit.awasth...@gmail.com mailto:ankit.awasth...@gmail.com написал: i am trying to start an activity from Receiver.. with listening to phone state change...but i am having an issue with itwhen activity started from reciever and finished after operation performed my application comes in running tasks...which i dont want ... can anybody help in this issue that activity can start and finish after certain action performed but application should not come in long press home button screen.. -- A N K ! T.. -- 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 mailto:android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 mailto:android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- 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 -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com -- 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 list
Hi all, I have a 2 ArrayList as ArrayListString results = new ArrayListString(); ArrayListString results1 = new ArrayListString(); From database I retrieved data and display them in the form of list. results.add( rid+:+roomName+?+sid+,+switchName); results1.add( roomName+-+switchName); this.setListAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_1,results)); Firstly I have only one ArrayList (i.e results). But in the list I don't want to show rid,sid.(i.e roomid and switchid). Therefore I had created second arrayList (i.e results) and use it in seListAdapter as this.setListAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_1,results1)); Now on list it only shows RoomName and SwitchName. Upto now everything is ok. But I had used ContextMenu on this list.I had override the public void onCreateContextMenu(ContextMenu menu, View v,ContextMenuInfo menuInfo) { //here I had given 3 options 1. Add Switch 2. RemoveSwitch 3. Back } public boolean onContextItemSelected(MenuItem item) { //But now I am getting only 2 values which are in the results1 (i.e RoomName and SwitchName). But also I want RoomID and SwitchID. I don't know how to get them? I had tried using Iterator itr = results.iterator(); while(itr.hasNext()) { String ss = itr.next().toString(); String rID1 = ss.substring(0,ss.indexOf(:)); rID = Integer.parseInt(rID1); . } // But the problem is that it returns only last record. (i.e. last rid, sid). } Now my problem is that how to get rid and sid. -- 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] [Android] If modify framework layer code, how to debug it validly?
Now i modify framework code in source code, so every time i must rebuild the whole source code and view the result. Any debug skill to improve the effect? Thanks. -- 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
Re: [android-developers] [Android] If modify framework layer code, how to debug it validly?
You should ask these kinds of questions in android-porting. On Thu, Nov 25, 2010 at 12:36 AM, kevens hao ithjf.kev...@gmail.com wrote: Now i modify framework code in source code, so every time i must rebuild the whole source code and view the result. Any debug skill to improve the effect? Thanks. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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: SAX- \n \r not recognized
A single LF is the expected output for CR LF sequences. Normalization is part of the deal with XML. http://www.w3.org/TR/REC-xml/#sec-line-ends In short: Find a non-conformant XML parser or encode your content. On 23 Nov, 06:04, Android Humanoid droid.hu...@gmail.com wrote: SAXParserFactory spf = SAXParserFactory.newInstance(); SAXParser sp = spf.newSAXParser(); XMLReader xr = sp.getXMLReader(); SearchHandler sh=new SearchHandler(); xr.setContentHandler(sh); String query=xml query; Log.e(Query:Disaplay mail, query); URL url=new URL(query); InputSource is=new InputSource(); is.setEncoding(UTF-8); is.setByteStream(url.openStream()); xr.parse(is); This is the parser am using... SearchHandler extends DefaultHandler. My problem is in XML file.. i have a node called emial under that content is the attribute, in that content I'll get some text that text is have \n and \r. Does my SearchHandler recognize the \n or \r symbol or should I use any different parser. On Nov 23, 9:31 am, Frank Weiss fewe...@gmail.com wrote: Please provide more details. 1. Since you mention symbols, are you using a push or pull SAX parser? 2. Newlines between *opening* XML elements are typically ignored, not by the parser itself, but by the handler. 3. Newlines in a text node (characters) are significant. Is this the case you are talking about? 4. Newlines in CDATA nodes should also be signifacnt. Is this the case you are talking about? 5. Newlines and carriage returns, 0x0A, 0x0D, are identical whether encode in Latin-1 or UTF-8. I doubt this is the issue. Can you give a concrete example, please. -- 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 with list
is there is any way using that I can hide some part of list. If suppose my list is like 1:Hall:1:AC 1:Hall:2:TV 1:Hall:3:Tube But I want to show list as Hall:Ac Hall:TV Hall:Tube. On Nov 25, 1:21 pm, pramod.deore deore.pramo...@gmail.com wrote: Hi all, I have a 2 ArrayList as ArrayListString results = new ArrayListString(); ArrayListString results1 = new ArrayListString(); From database I retrieved data and display them in the form of list. results.add( rid+:+roomName+?+sid+,+switchName); results1.add( roomName+-+switchName); this.setListAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_1,results)); Firstly I have only one ArrayList (i.e results). But in the list I don't want to show rid,sid.(i.e roomid and switchid). Therefore I had created second arrayList (i.e results) and use it in seListAdapter as this.setListAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_1,results1)); Now on list it only shows RoomName and SwitchName. Upto now everything is ok. But I had used ContextMenu on this list.I had override the public void onCreateContextMenu(ContextMenu menu, View v,ContextMenuInfo menuInfo) { //here I had given 3 options 1. Add Switch 2. RemoveSwitch 3. Back } public boolean onContextItemSelected(MenuItem item) { //But now I am getting only 2 values which are in the results1 (i.e RoomName and SwitchName). But also I want RoomID and SwitchID. I don't know how to get them? I had tried using Iterator itr = results.iterator(); while(itr.hasNext()) { String ss = itr.next().toString(); String rID1 = ss.substring(0,ss.indexOf(:)); rID = Integer.parseInt(rID1); . } // But the problem is that it returns only last record. (i.e. last rid, sid). } Now my problem is that how to get rid and sid. -- 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: Application Icon Badge
On Nov 25, 7:31 am, guru sagar gurusagar...@gmail.com wrote: I want to know weather it is possible to keep badges on application Icons in android .,For example if i have unread sms in then it should display it on the icon No, I think you're confusing Android with some other OS. We use app widgets notifications to accomplish that. String -- 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: PUBLISHED APPS MISSING FROM UPDATED CONSOLE
thanks, it works for me I can publish :) On 25 nov, 10:04, String sterling.ud...@googlemail.com wrote: So, my best selling app was also AWOL from the console this morning. But it IS still visible in the Market client, and I can still edit it by entering its Console URL manually: http://market.android.com/publish/Home#EDIT_APPLICATION?pkg=com.packa... Not that they shouldn't fix this... just that there is a workaround if you need to make changes before they do. String On Nov 25, 5:15 am, Brad bradfull...@gmail.com wrote: WTF - My best selling app is also missing from my Developer Console. I just updated it earlier today - now it's gone. I used the form to submit a help request (thanks TreKing), hopefully it's not going to / dev/null! On Nov 24, 1:01 pm, Adam Hammer adamhamm...@gmail.com wrote: A few of my unpublished and at least one of my published apps is not accessible from the console at this time. THIS IS URGENT, I don't use that lightly, google test your code before you deploy!!! -- 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
Re: [android-developers] Re: Problem with list
Not sure about your exact requirement, but I guess Expandable list View could be of help.. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Thu, Nov 25, 2010 at 2:42 PM, pramod.deore deore.pramo...@gmail.comwrote: is there is any way using that I can hide some part of list. If suppose my list is like 1:Hall:1:AC 1:Hall:2:TV 1:Hall:3:Tube But I want to show list as Hall:Ac Hall:TV Hall:Tube. On Nov 25, 1:21 pm, pramod.deore deore.pramo...@gmail.com wrote: Hi all, I have a 2 ArrayList as ArrayListString results = new ArrayListString(); ArrayListString results1 = new ArrayListString(); From database I retrieved data and display them in the form of list. results.add( rid+:+roomName+?+sid+,+switchName); results1.add( roomName+-+switchName); this.setListAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_1,results)); Firstly I have only one ArrayList (i.e results). But in the list I don't want to show rid,sid.(i.e roomid and switchid). Therefore I had created second arrayList (i.e results) and use it in seListAdapter as this.setListAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_1,results1)); Now on list it only shows RoomName and SwitchName. Upto now everything is ok. But I had used ContextMenu on this list.I had override the public void onCreateContextMenu(ContextMenu menu, View v,ContextMenuInfo menuInfo) { //here I had given 3 options 1. Add Switch 2. RemoveSwitch 3. Back } public boolean onContextItemSelected(MenuItem item) { //But now I am getting only 2 values which are in the results1 (i.e RoomName and SwitchName). But also I want RoomID and SwitchID. I don't know how to get them? I had tried using Iterator itr = results.iterator(); while(itr.hasNext()) { String ss = itr.next().toString(); String rID1 = ss.substring(0,ss.indexOf(:)); rID = Integer.parseInt(rID1); . } // But the problem is that it returns only last record. (i.e. last rid, sid). } Now my problem is that how to get rid and sid. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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] Image Resizing and rescaling from code
Hi Friends, i have two images, first image of size 345x 465 and second of 495x321. so when i m using the first image in image view or layout, the image is best fitted with screen whereas when i am using second image then its not taking the full height of the phone or emulator and making data /text to compress or collapse so the user cant view it properly. is there any way so i can modify the second image to the SIZE of first image, means i want to modify my image such that the HEIGHT should be greater than the WIDTH so i can use it properlyneed some solution pls reply... thx -- 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
Re: [android-developers] Re: Application Icon Badge
Hi String, can we make app widgets embedd into application icon., Thanks, Gurusagar -- 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] Camera Hardware abstraction layer for froyo
Hi all, I am porting android onto dm365.I am using froyo. My camera(mt9p031) is not working. I enable v4l drivers required for camera hardware in kernel level. How to write HAL for this camera in froyo. Any suggestions welcome.. 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] Re: PUBLISHED APPS MISSING FROM UPDATED CONSOLE
So, my best selling app was also AWOL from the console this morning. But it IS still visible in the Market client, and I can still edit it by entering its Console URL manually: http://market.android.com/publish/Home#EDIT_APPLICATION?pkg=com.package.name Not that they shouldn't fix this... just that there is a workaround if you need to make changes before they do. String On Nov 25, 5:15 am, Brad bradfull...@gmail.com wrote: WTF - My best selling app is also missing from my Developer Console. I just updated it earlier today - now it's gone. I used the form to submit a help request (thanks TreKing), hopefully it's not going to / dev/null! On Nov 24, 1:01 pm, Adam Hammer adamhamm...@gmail.com wrote: A few of my unpublished and at least one of my published apps is not accessible from the console at this time. THIS IS URGENT, I don't use that lightly, google test your code before you deploy!!! -- 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
Re: [android-developers] application in Long press Home button(Recent task info)
ya thanks by setting these two attribute in manifest it is working fine now android:excludeFromRecents=true android:taskAffinity=com.callH 2010/11/25 Kostya Vasilyev kmans...@gmail.com Try setting both: FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS -- Kostya 25.11.2010 7:49, A N K ! T пишет: yes that what i meantbut if i set any flag except FLAG_ACTIVITY_NEW_TASK that activity wont start 2010/11/24 Kostya Vasilyev kmans...@gmail.com That's not a running task list - it's a recent task list. I *think* there is a flag you can set in the Intent when launching the activity to prevent it from showing up in this list. Look up Intent in the reference, the flag starts with FLAG_ACTIVITY_ -- Kostya Vasilyev -- http://kmansoft.wordpress.com 24.11.2010 19:50 пользователь A N K ! T ankit.awasth...@gmail.com написал: i am trying to start an activity from Receiver.. with listening to phone state change...but i am having an issue with itwhen activity started from reciever and finished after operation performed my application comes in running tasks...which i dont want ... can anybody help in this issue that activity can start and finish after certain action performed but application should not come in long press home button screen.. -- A N K ! T.. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- 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 -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- 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
Re: [android-developers] application in Long press Home button(Recent task info)
OK, good. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 25.11.2010 12:29 пользователь A N K ! T ankit.awasth...@gmail.com написал: ya thanks by setting these two attribute in manifest it is working fine now android:excludeFromRecents=true android:taskAffinity=com.callH 2010/11/25 Kostya Vasilyev kmans...@gmail.com Try setting both: FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS -- Kostya 25.11.2010 7:49, A N K ! T пишет: yes that what i meantbut if i set any flag except FLAG_ACTIVITY_NEW_TASK that activity wont start 2010/11/24 Kostya Vasilyev kmans...@gmail.com That's not a running task list - it's a recent task list. I *think* there is a flag you can set in the Intent when launching the activity to prevent it from showing up in this list. Look up Intent in the reference, the flag starts with FLAG_ACTIVITY_ -- Kostya Vasilyev -- http://kmansoft.wordpress.com 24.11.2010 19:50 пользователь A N K ! T ankit.awasth...@gmail.com написал: i am trying to start an activity from Receiver.. with listening to phone state change...but i am having an issue with itwhen activity started from reciever and finished after operation performed my application comes in running tasks...which i dont want ... can anybody help in this issue that activity can start and finish after certain action performed but application should not come in long press home button screen.. -- A N K ! T.. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com -- 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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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] touch zoom for image
hi, i have an image , the text is not much clearly visible so after displaying the image then i want that if user touch on screen the particular part will zoom by giving him the clear view to read... thx -- 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] Google Maps API
hi at all, I am currently developing an little application which use API Maps and I have some problems: I would like shows an comic style comic could (like Web Google Map) when the users touch an overlay item present on the map, how can I do this? I have to write by hands the code that do this? Any suggestion will be appreciated! -- 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 with list
Thanks Bibek for reply, I have following code public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); System.out.println (Inside onCreate method of ShowStatus); anim = AnimationUtils.loadAnimation( this, R.anim.magnify ); try { sampleDB = this.openOrCreateDatabase(SAMPLE_DBNAME, MODE_PRIVATE, null); Cursor c = sampleDB.rawQuery (SELECT * FROM SwitchTable ORDER BY RoomID,null); int count = c.getCount(); System.out.println (Total number of records are+count); if (c != null ) { if (c.moveToFirst()) { do { rid = c.getInt(c.getColumnIndex(RoomID)); sid = c.getInt(c.getColumnIndex(SwitchID)); roomName = c.getString(c.getColumnIndex(RoomName)); switchName = c.getString(c.getColumnIndex(SwitchName)); System.out.println (rid+:+roomName+:+sid +:+switchName); results.add( rid+:+roomName+?+sid+,+switchName); results1.add( roomName+-+switchName); } while (c.moveToNext()); c.close(); } } this.setListAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_1,results1)); } catch (SQLiteException se ) { Log.e(getClass().getSimpleName(), Could not create or Open the database); } finally { sampleDB.close(); } registerForContextMenu(getListView()); } public void onCreateContextMenu(ContextMenu menu, View v,ContextMenuInfo menuInfo) { info = (AdapterView.AdapterContextMenuInfo) menuInfo; long id = getListAdapter().getItemId(info.position); Object obj = getListAdapter().getItem((int) id); String ss = obj.toString(); newRoomName = ss.substring(0,ss.indexOf(-)); newSwitchName = ss.substring(ss.indexOf(-)+1); //MY PROBLEM IS THAT in list I had passes results1 and it has only 2 param RoomName and SwitchName. But what I want is - I want to pass result (insted of result1) so I can get roomID also. for (int i=0;imenuItems.length;i++) { System.out.println (menuItems[i]); } System.out.println (); for (int i = 0; imenuItems.length; i++) { menu.add(Menu.NONE, i, i, menuItems[i]); } } public boolean onContextItemSelected(MenuItem item) { AdapterView.AdapterContextMenuInfo info = (AdapterView.AdapterContextMenuInfo)item.getMenuInfo(); int menuItemIndex = item.getItemId(); String menuItemName = menuItems[menuItemIndex]; System.out.println (+menuItemName); if (menuItemName.equalsIgnoreCase(Add Switch)) { System.out.println (Inside Add Switch); this.setListAdapter(new ArrayAdapterString(this,android.R.layout.simple_list_item_1, switchArray)); //write a method that will check whether user click on other item or not. } return true; } protected void onListItemClick(ListView l,View v,int position,long id) { v.startAnimation( anim ); super.onListItemClick(l, v, position, id); System.out.println (User click on switch list); System.out.println (###+newRoomName); System.out.println (%%%+newSwitchName); newRoomId = calculateNewRoomID(newRoomName,newSwitchName); System.out.println (Now rid is+newRoomId); } On Nov 25, 2:15 pm, Kumar Bibek coomar@gmail.com wrote: Not sure about your exact requirement, but I guess Expandable list View could be of help.. Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Thu, Nov 25, 2010 at 2:42 PM, pramod.deore deore.pramo...@gmail.comwrote: is there is any way using that I can hide some part of list. If suppose my list is like 1:Hall:1:AC 1:Hall:2:TV 1:Hall:3:Tube But I want to show list as Hall:Ac Hall:TV Hall:Tube. On Nov 25, 1:21 pm, pramod.deore deore.pramo...@gmail.com wrote: Hi all, I have a 2 ArrayList as ArrayListString results =
[android-developers] Re: Application Icon Badge
No, app widgets get placed onto the home screen. Please read: http://developer.android.com/guide/topics/appwidgets What I meant in my first response was, you can't dynamically change your app's launcher icon. That's an iOS trick. Android has other patterns for delivering that sort of information to the user... like notifications and app widgets. To put it another way, iOS users expect badges on their icons because that's the established pattern of the OS. Android users don't; they expect notifications, or to add an app widget for status updates. Even if you found some way to badge an Android icon, many users wouldn't understand / know what to do with it. String On Nov 25, 9:16 am, guru sagar gurusagar...@gmail.com wrote: Hi String, can we make app widgets embedd into application icon., Thanks, Gurusagar -- 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
Re: [android-developers] Re: Problem with list
Pramod, Take a look at CursorAdapter: it uses a database cursor, which you can use in your other methods (such as context menu handlers) to get all necessary values directly from the database. It also lets you use your own view layout for your list items. A separate TextView for each data column would look much better (IMHO). So, two birds with one stone... -- Kostya 25.11.2010 12:12, pramod.deore пишет: is there is any way using that I can hide some part of list. If suppose my list is like 1:Hall:1:AC 1:Hall:2:TV 1:Hall:3:Tube But I want to show list as Hall:Ac Hall:TV Hall:Tube. On Nov 25, 1:21 pm, pramod.deoredeore.pramo...@gmail.com wrote: Hi all, I have a 2 ArrayList as ArrayListString results = new ArrayListString(); ArrayListString results1 = new ArrayListString(); From database I retrieved data and display them in the form of list. results.add( rid+:+roomName+?+sid+,+switchName); results1.add( roomName+-+switchName); this.setListAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_1,results)); Firstly I have only one ArrayList (i.e results). But in the list I don't want to show rid,sid.(i.e roomid and switchid). Therefore I had created second arrayList (i.e results) and use it in seListAdapter as this.setListAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_1,results1)); Now on list it only shows RoomName and SwitchName. Upto now everything is ok. But I had used ContextMenu on this list.I had override the public void onCreateContextMenu(ContextMenu menu, View v,ContextMenuInfo menuInfo) { //here I had given 3 options 1. Add Switch 2. RemoveSwitch 3. Back } public boolean onContextItemSelected(MenuItem item) { //But now I am getting only 2 values which are in the results1 (i.e RoomName and SwitchName). But also I want RoomID and SwitchID. I don't know how to get them? I had tried using Iterator itr = results.iterator(); while(itr.hasNext()) { String ss = itr.next().toString(); String rID1 = ss.substring(0,ss.indexOf(:)); rID = Integer.parseInt(rID1); . } // But the problem is that it returns only last record. (i.e. last rid, sid). } Now my problem is that how to get rid and sid. -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com -- 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 with list
Thanks Kostya. On Nov 25, 2:48 pm, Kostya Vasilyev kmans...@gmail.com wrote: Pramod, Take a look at CursorAdapter: it uses a database cursor, which you can use in your other methods (such as context menu handlers) to get all necessary values directly from the database. It also lets you use your own view layout for your list items. A separate TextView for each data column would look much better (IMHO). So, two birds with one stone... -- Kostya 25.11.2010 12:12, pramod.deore пишет: is there is any way using that I can hide some part of list. If suppose my list is like 1:Hall:1:AC 1:Hall:2:TV 1:Hall:3:Tube But I want to show list as Hall:Ac Hall:TV Hall:Tube. On Nov 25, 1:21 pm, pramod.deoredeore.pramo...@gmail.com wrote: Hi all, I have a 2 ArrayList as ArrayListString results = new ArrayListString(); ArrayListString results1 = new ArrayListString(); From database I retrieved data and display them in the form of list. results.add( rid+:+roomName+?+sid+,+switchName); results1.add( roomName+-+switchName); this.setListAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_1,results)); Firstly I have only one ArrayList (i.e results). But in the list I don't want to show rid,sid.(i.e roomid and switchid). Therefore I had created second arrayList (i.e results) and use it in seListAdapter as this.setListAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_1,results1)); Now on list it only shows RoomName and SwitchName. Upto now everything is ok. But I had used ContextMenu on this list.I had override the public void onCreateContextMenu(ContextMenu menu, View v,ContextMenuInfo menuInfo) { //here I had given 3 options 1. Add Switch 2. RemoveSwitch 3. Back } public boolean onContextItemSelected(MenuItem item) { //But now I am getting only 2 values which are in the results1 (i.e RoomName and SwitchName). But also I want RoomID and SwitchID. I don't know how to get them? I had tried using Iterator itr = results.iterator(); while(itr.hasNext()) { String ss = itr.next().toString(); String rID1 = ss.substring(0,ss.indexOf(:)); rID = Integer.parseInt(rID1); . } // But the problem is that it returns only last record. (i.e. last rid, sid). } Now my problem is that how to get rid and sid. -- Kostya Vasilyev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com -- 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: Google Maps API
There was a mistake! Like a comic cloud, not could! Ops! :-) On 25 Nov, 10:25, pedr0 pulsarpie...@gmail.com wrote: hi at all, I am currently developing an little application which use API Maps and I have some problems: I would like shows an comic style comic could (like Web Google Map) when the users touch an overlay item present on the map, how can I do this? I have to write by hands the code that do this? Any suggestion will be appreciated! -- 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] Undeletable SMS
Hi All, How to save an received SMS in another location (e.g. SD card) and make it no deletable? Assuming this received SMS contains important message (Like username) which will be required in the future. Regards. -- 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] Feature Graphic, High Resolution Application Icon and Promotional Video.
Hi, as stated in other thread the Feature Graphic, High Resolution Application Icon and Promotional Video are always removed after we upload them. Is there someone who know when we can finally upload this file without having to re-upload and re-upload it? Do you know also what URL should we use for Promotional Video? Is it good a youtube url or they need a direct link to a video file ? -- 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 with AnimationDrawable
Ok it still needs some more testing but it looks like I have solved the problem by creating the animation with manually adding Bitmaps as frames, and then calling recycle() on them. And I can now run the 2 animations with full frame and size. It is a less elegant approach and more 'hard-coded' but at least it seems to be working. Really strange, annoying and stupid that the approach google suggest on android developer site creates such an error and you can't find any answer and some other approach which needs to be figured out on your own works -- 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 with AnimationDrawable
Ok it still needs some more testing but it looks like I have solved the problem by creating the animation with manually adding Bitmaps as frames, and then calling recycle() on them. And I can now run the 2 animations with full frame and size. It is a less elegant approach and more 'hard-coded' but at least it seems to be working. Really strange, annoying and stupid that the approach google suggest on android developer site creates such an error and you can't find any answer and some other approach which needs to be figured out on your own works -- 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: Feature Graphic, High Resolution Application Icon and Promotional Video.
It's not always, but it's enough. There is a LOT of problems with the new console. 1) Paging broken in multiple ways (3 pages shown, page 2 has 1 item, page 3 has nothing) 2) Not all published apps showing 3) No unpublished apps 4) Occasional dropping of the high res and promotional items (I've seen this happening, but I just test-editted a item and it didn't, maybe on new versions it breaks?). 5) Stats not updating in any sane way. I have maybe a 5-10 day latency on my stats right now. 6) I had a user complaining they couldn't download, but might just be because their card was declined. About the only thing that was working was the comments, and a thank you for adding a screenshot resolution I don't need to resize before posting. I think they want any video you think is appropriate on a website, probably makes most sense to goto youtube since a device will handle youtube url's by opening in the youtube app if it's installed. On Nov 25, 2:10 am, sblantipodi perini.dav...@dpsoftware.org wrote: Hi, as stated in other thread the Feature Graphic, High Resolution Application Icon and Promotional Video are always removed after we upload them. Is there someone who know when we can finally upload this file without having to re-upload and re-upload it? Do you know also what URL should we use for Promotional Video? Is it good a youtube url or they need a direct link to a video file ? -- 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: Copy Protection ON and phones compatibility.
Hi, Some information can be found here:http://developer.sonyericsson.com/ community/message/132088#132088 In short: Everytime SE issued a new firmware they needed to register it with Android Market, and that could according to their support not be performed until after the firmware had been published publicly. There was simply a window of up to two weeks after each firmware upgrade where the user might be without access to copy protected apps on the market. And currently there has been a glitch on some devices. As far as I understand it is going to be republished on monday - it has been published before - but something happened. Kind regards /Johan Sony Ericsson Developer Support On Nov 19, 3:16 pm, sblantipodi perini.dav...@dpsoftware.org wrote: Hi, can you tell me please why if I set the Copy Protection ON from my developer console, my apps isn't available on many phones likeSonyEricssonX8 Q1.6 ? -- 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: Feature Graphic, High Resolution Application Icon and Promotional Video.
ok, thanks. On Nov 25, 11:44 am, Adam Hammer adamhamm...@gmail.com wrote: It's not always, but it's enough. There is a LOT of problems with the new console. 1) Paging broken in multiple ways (3 pages shown, page 2 has 1 item, page 3 has nothing) 2) Not all published apps showing 3) No unpublished apps 4) Occasional dropping of the high res and promotional items (I've seen this happening, but I just test-editted a item and it didn't, maybe on new versions it breaks?). 5) Stats not updating in any sane way. I have maybe a 5-10 day latency on my stats right now. 6) I had a user complaining they couldn't download, but might just be because their card was declined. About the only thing that was working was the comments, and a thank you for adding a screenshot resolution I don't need to resize before posting. I think they want any video you think is appropriate on a website, probably makes most sense to goto youtube since a device will handle youtube url's by opening in the youtube app if it's installed. On Nov 25, 2:10 am, sblantipodi perini.dav...@dpsoftware.org wrote: Hi, as stated in other thread the Feature Graphic, High Resolution Application Icon and Promotional Video are always removed after we upload them. Is there someone who know when we can finally upload this file without having to re-upload and re-upload it? Do you know also what URL should we use for Promotional Video? Is it good a youtube url or they need a direct link to a video file ? -- 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] Slider bar
I want to draw slider bar(gauge) how to draw that? As I search but I didn't got the solution. Thanks -- 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: How to build a 2d GUI to an OpenGL ES app?
Do you mean mixing Java and C++ in an Android project? SurfaceView and the GUI in Java and GLSurfaceView and the visual effects in OpenGLC+ +? On 25 Nov, 01:12, Miguel Morales therevolti...@gmail.com wrote: You can simply have a SurfaceView overlaying your GLSurfaceView and draw whatever HUD orGUIelements you want using the regular Android widgets. On Wed, Nov 24, 2010 at 5:43 AM, Eyvind Almqvist eyv...@mobile-visuals.com wrote: I want to make anOpenGLESversion of my M3GappAstral 3d worlds. Theapphas a2dGUI, from which you can start 10 visual effects. I can port the visual effects toOpenGLES, but how can Ibuildthe 2dGUI? Should I really useOpenGLESfor that? -- 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 -- ~ Jeremiah:9:23-24 Android2DMMORPG:http://developingthedream.blogspot.com/,http://www.youtube.com/user/revoltingx -- 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 implement 3D morphing in Open GL ES?
My company has released the M3G product Astral 3D worlds. It is a visual stimulation tool with lots of 3d effects like shapeshifting objects and mystical tunnels. These were conctructed by morphing different 3d meshes. These were easy to build, because M3G has classes for morphing. It is much more difficult to implement in Open GL ES, because there are no classes for morphing here. Does anyone know how to implement 3D morphing in Open GL ES? -- 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] Why does android native contact app have CACHED NAME,CACHED NUMBER TYPE and CACHED NUMBER LABEL ????
Hi, Android native Contact application maitaining different data bases for Contacts and CallLog. Contact data base is having entire information about Contact. CallLog has information all Calls. Once CallLog Database is observed. The database is having information about CallLog like Number,Duration,Date,Type,New etc.. along with Contact information like CACHED NAME, CACHED NUMBER TYPE and CACHED NUMBER LABEL. These all are being maintained in Contact data base. Why again does android maintaining these in CallLog database? Is not there any problems like data base anomalies? Is this design because of performances issues? Please correct me if i am wrong? Any help would be great!!! -- 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
Re: [android-developers] Re: How to build a 2d GUI to an OpenGL ES app?
What? No, no C++. Just use a GLSurfaceView to render all your 3d openGL stuff. Then add an overlay View (maybe a SurfaceView) and add all your regular 2D controls/widgets that come with Android. On Thu, Nov 25, 2010 at 3:11 AM, Eyvind Almqvist eyv...@mobile-visuals.com wrote: Do you mean mixing Java and C++ in an Android project? SurfaceView and the GUI in Java and GLSurfaceView and the visual effects in OpenGLC+ +? On 25 Nov, 01:12, Miguel Morales therevolti...@gmail.com wrote: You can simply have a SurfaceView overlaying your GLSurfaceView and draw whatever HUD orGUIelements you want using the regular Android widgets. On Wed, Nov 24, 2010 at 5:43 AM, Eyvind Almqvist eyv...@mobile-visuals.com wrote: I want to make anOpenGLESversion of my M3GappAstral 3d worlds. Theapphas a2dGUI, from which you can start 10 visual effects. I can port the visual effects toOpenGLES, but how can Ibuildthe 2dGUI? Should I really useOpenGLESfor that? -- 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 -- ~ Jeremiah:9:23-24 Android2DMMORPG:http://developingthedream.blogspot.com/,http://www.youtube.com/user/revoltingx -- 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 -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://developingthedream.blogspot.com/, http://www.youtube.com/user/revoltingx -- 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: How to use one application GUI code as jar file from other appliaction?
How can i achieve this? Any example may help me more? On Nov 24, 3:54 am, TreKing treking...@gmail.com wrote: On Fri, Nov 19, 2010 at 3:08 AM, Pink sivareddy.j...@gmail.com wrote: How to prevent these exceptions and make use one application GUI code in another? Sounds like you want an Android Library Project. ----- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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: 1.5 quits for apparently no reason whilst animating (WIN DEATH)
SOLVED! The issue appears to have been caused by keeping pointers for drawing on offscreen images. I have a six or seven small offscreen images in memory that are updated periodically. I was maintaining a Canvas pointer for each of them, e.g.: Bitmap bitmap = Bitmap.createBitmap( 128, 32, Bitmap.Config.ARGB_ ); Canvas canvas = new Canvas( bitmap ); If I stopped holding these canvas objects in memory and instead instantiate a new one each time I need to draw on the offscreen image it works fine. I wasn't drawing on the images or anything when the crash occurred, but for some reason keeping multiple offscreen Canvas objects in memory seems to cause 1.5 to barf. Very hard to debug as basically I'm working with an entire finished game that has been ported from JavaME using a JavaME-Android 'wrapper' that I've written. Thanks for the input everyone. -- 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 put text below the image of the item in a mapview? (googlemap view)
Hi i have a map with some items on it. Each item haves the same image (i use itemizedoverlay class, like in the android developers example) i need to have a text name below the image of the item, on the map how can i do it? -- 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] Android SDK for Android
Is it possible to run a android sdk on android itself? Ie. develop and maintain software only using a android device? -- 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: Restricted location in publisher GUI is not working on some devices
I changed location to All countries and it appeared... so something is amiss here. But now I have all the other problems with apps disappearing, paging not working, screenshots disappearing so guess this issue is low on their list... On 13 Nov, 02:21, dan raaka danra...@gmail.com wrote: market filtering goes beyond geo-restriction go through this onehttp://developer.android.com/guide/appendix/market-filters.html -Dan On Wed, Nov 10, 2010 at 1:20 PM, Chister Nordvik cnord...@gmail.com wrote: We have an application that is restricted to one country (Norway). But I am sitting here with multiple devices, HTC Wildfire, SE XP10 (after 2.1 upgrade) and SE XP 10 Mini (after 2.1 upgrade) that fails to find the application even though they are registered on a Norwegian network (Tele2). The SE devices found the application before they got the 2.1 upgrade, and I have lots of other devices (Nexus One, HTC Desire, HTC Tattoo, Galaxy Tab) that finds the app without any problems. This is very important for us since we can't enable the app worldwide due to copyright issues, so is there any way to resolve this issue? Is it the operator or the Android device that fails to report the correct country here? Any help would be greatly appreciated. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 startActivity() in a subclass of Dialog?
I have one subclass which extends Dialog class, it seems I can not use startActivity() function to start a new Activity in this subclass which extends Dialog class, how to resolve it? How to start a new Activity in a Dialog subclass? (In my customized dialog class, I have one button, when pressed, I would like to have a new Activity start). -- 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] Java and Native files for Bluetooth HF profile implemntation
Hi Guys, Can anyone point out what are files and codes, which I need to look to find out the HF profile implementation for Bluetooth. I have studied the code related to application development in bluetooth. But I am interested to know, how HF profile is implemented in Android, what are Java and native files for this. and how are AT commands being handled there? Please share your knowledge on this. Thanks, Suresh Pal LinkedIn: http://www.linkedin.com/in/sapientsuresh Blogs:http://www.sapientsuresh.blogspot.com Twitter: http://twitter.com/sapientsuresh -- 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] OTA XML provisioning document
Hi All, I already have a mechanism by which I can send OTA configuration settings(to provision APN for operators) to other mobiel platforms like Nokia S40. I want to extend my reach so that I can provision the Android Devices as well. I need a help regarding the provisioning XML example. Kindly help. Best Regards Amit -- 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
Re: [android-developers] How to startActivity() in a subclass of Dialog?
On Thu, Nov 25, 2010 at 7:33 AM, xi developer xidevelope...@gmail.com wrote: I have one subclass which extends Dialog class, it seems I can not use startActivity() function to start a new Activity in this subclass which extends Dialog class, how to resolve it? How to start a new Activity in a Dialog subclass? (In my customized dialog class, I have one button, when pressed, I would like to have a new Activity start).. Call getContext().startActivity() -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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
Re: [android-developers] Google Maps API
https://github.com/jgilfelt/android-mapviewballoons On Thu, Nov 25, 2010 at 4:25 AM, pedr0 pulsarpie...@gmail.com wrote: hi at all, I am currently developing an little application which use API Maps and I have some problems: I would like shows an comic style comic could (like Web Google Map) when the users touch an overlay item present on the map, how can I do this? I have to write by hands the code that do this? Any suggestion will be appreciated! -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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
Re: [android-developers] Undeletable SMS
On Thu, Nov 25, 2010 at 4:58 AM, Android Test aandroidt...@gmail.com wrote: How to save an received SMS in another location (e.g. SD card) and make it no deletable? Ask the user to have it tattooed to their arm. Anything on the device is, in the end, deletable. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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
Re: [android-developers] Camera Hardware abstraction layer for froyo
Questions regarding Android firmware and porting do not belong on this list. Try: http://source.android.com/community/index.html On Thu, Nov 25, 2010 at 4:13 AM, venu venuthepo...@gmail.com wrote: Hi all, I am porting android onto dm365.I am using froyo. My camera(mt9p031) is not working. I enable v4l drivers required for camera hardware in kernel level. How to write HAL for this camera in froyo. Any suggestions welcome.. 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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
Re: [android-developers] Android SDK for Android
No, not as you are describing it. For starters, the Sun Java compiler does not run on Android. There is the Scripting Layer for Android (SL4A), which supports on-device development, but only has access to a tiny subset of the SDK. On Thu, Nov 25, 2010 at 7:21 AM, Adam Hammer adamhamm...@gmail.com wrote: Is it possible to run a android sdk on android itself? Ie. develop and maintain software only using a android device? -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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
Re: [android-developers] Re: How to use one application GUI code as jar file from other appliaction?
On Thu, Nov 25, 2010 at 6:28 AM, Pink sivareddy.j...@gmail.com wrote: How can i achieve this? http://developer.android.com/guide/developing/other-ide.html#libraryProject http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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
Re: [android-developers] Why does android native contact app have CACHED NAME,CACHED NUMBER TYPE and CACHED NUMBER LABEL ????
Because contacts can be deleted. On Thu, Nov 25, 2010 at 6:25 AM, Pink sivareddy.j...@gmail.com wrote: Hi, Android native Contact application maitaining different data bases for Contacts and CallLog. Contact data base is having entire information about Contact. CallLog has information all Calls. Once CallLog Database is observed. The database is having information about CallLog like Number,Duration,Date,Type,New etc.. along with Contact information like CACHED NAME, CACHED NUMBER TYPE and CACHED NUMBER LABEL. These all are being maintained in Contact data base. Why again does android maintaining these in CallLog database? Is not there any problems like data base anomalies? Is this design because of performances issues? Please correct me if i am wrong? Any help would be great!!! -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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
Re: [android-developers] Slider bar
Use android.widget.SeekBar On Thu, Nov 25, 2010 at 6:00 AM, pramod.deore deore.pramo...@gmail.com wrote: I want to draw slider bar(gauge) how to draw that? As I search but I didn't got the solution. Thanks -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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: Why does android native contact app have CACHED NAME,CACHED NUMBER TYPE and CACHED NUMBER LABEL ????
Thanks for ur replay. What i understood is, If we have contact with name 'tmp'. We made some calls to 'tmp'. So our call log data base has information about 'tmp'. After some time if i delete 'tmp' contact. Still call log needs to display 'tmp' as display name. If that is the case. Even there is no contact exist with 'tmp'. Still we are displaying 'tmp' as display name. Is it not some strange thing? Please correct me if i am wrong. On Nov 25, 6:33 pm, Mark Murphy mmur...@commonsware.com wrote: Because contacts can be deleted. On Thu, Nov 25, 2010 at 6:25 AM, Pink sivareddy.j...@gmail.com wrote: Hi, Android native Contact application maitaining different data bases for Contacts and CallLog. Contact data base is having entire information about Contact. CallLog has information all Calls. Once CallLog Database is observed. The database is having information about CallLog like Number,Duration,Date,Type,New etc.. along with Contact information like CACHED NAME, CACHED NUMBER TYPE and CACHED NUMBER LABEL. These all are being maintained in Contact data base. Why again does android maintaining these in CallLog database? Is not there any problems like data base anomalies? Is this design because of performances issues? Please correct me if i am wrong? Any help would be great!!! -- 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 -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books- Hide quoted text - - Show quoted text - -- 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: How to use one application GUI code as jar file from other appliaction?
Thanks for your replay. On Nov 25, 6:32 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Nov 25, 2010 at 6:28 AM, Pink sivareddy.j...@gmail.com wrote: How can i achieve this? http://developer.android.com/guide/developing/other-ide.html#libraryP...http://developer.android.com/guide/developing/eclipse-adt.html#librar... -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books -- 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] Facebook Publish Error In Anroid Application
HI Friends, I implemented facebook connect in android using facebook-android-sdk. Most of the times I am getting error while i am publishing. Less number of times publish is working fine. Publish story window is opening good with What's on your mind text box. When i am clicking on the publish button in the Publish story window, i am getting error. The error is constantly changing when i coming(clicking ) to next time. some of the the errors i have been seen in my application when i am clicking in the publish button are. Error Examples: 1.An error occurred with Holyplanets Connect.please try again later 2.An error occurred with WordpressBlog Connect.please try again later 3.An Error occurred with UFOS ON EARTH. Please try again later How can i fix this error? If anybody knows please let me know. Thanks and Regards, Kiran -- 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] Market is completely out of order !!
No news from the Android team(one-man team most probably : ) about the market being completely screwed and unusable : - Half my app do not appear anymore in the list - Delete links under the screenshots don't work anymore - Even though there is a highres icon present and showing, saving sends error This field is required I mean ok, Mister Market Developer you are alone in your office doing the job of a complete team but come on, Unit Testing before launching new version is the bare minimum. We know google isn't helping you much and there not giving you even an assistant but last count from july gives 10199 developers using the Market console. That's a lot of people depending on you. Could you try a little harder please ?? Yahel -- 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
Re: [android-developers] Re: Why does android native contact app have CACHED NAME,CACHED NUMBER TYPE and CACHED NUMBER LABEL ????
On Thu, Nov 25, 2010 at 8:44 AM, Pink sivareddy.j...@gmail.com wrote: What i understood is, If we have contact with name 'tmp'. We made some calls to 'tmp'. So our call log data base has information about 'tmp'. After some time if i delete 'tmp' contact. Still call log needs to display 'tmp' as display name. Correct. If that is the case. Even there is no contact exist with 'tmp'. Still we are displaying 'tmp' as display name. Is it not some strange thing? Perhaps you consider it strange. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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: Eclipse Reading Android Code as Java
Have you tried Fix Properties in Android Tools? On Nov 23, 5:30 pm, Chase chasie...@gmail.com wrote: I just inherited a project at my workplace and I am having trouble having Eclipse act as an Adroid editor rather than a Java editor. Pretty much everything is under lined and I can't seem to find a way to change how it is interpreted. I have downloaded all of the Android SDK's and the Eclipse Plugin. I can create Android projects and write the code just fine, but everything is still underlining. I must be missing something simple. Any suggestions, something I missed or didn't download? Thanks a ton guys, Chase -- 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 read non-english fonts and display in app ?
I am trying to read a raw text file with a non-english font and display the contents in a TextView. However, while reading I donot see the actual characters on the app. It displays special characters ... Code being used is below .. // find the view TextView tv = (TextView)findViewById(R.id.japji); //reads the file as an InputStream String selectedBaani = readBaani(); tv.setText(selectedBaani); // Set the typeface using font used in raw file Typeface tf= Typeface.createFromAsset(getAssets(), GURMUKHI_FONT); tv.setTypeface(tf); Thx jaz -- 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: Feature Graphic, High Resolution Application Icon and Promotional Video.
On Nov 25, 10:44 am, Adam Hammer adamhamm...@gmail.com wrote: 3) No unpublished apps Funny, my unpublished apps are still showing. Not all of my published ones are, though. Methinks it's just flaky. String -- 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: Google Maps API
Thanks so much! I have some question about the layout component that you use in that program: 1) balloon_inner_layout, balloon_overlay_bg_selector are Android/ Google standard components or are components which you have developed personally? Ops!Only one question! On 25 Nov, 14:17, Mark Murphy mmur...@commonsware.com wrote: https://github.com/jgilfelt/android-mapviewballoons On Thu, Nov 25, 2010 at 4:25 AM, pedr0 pulsarpie...@gmail.com wrote: hi at all, I am currently developing an little application which use API Maps and I have some problems: I would like shows an comic style comic could (like Web Google Map) when the users touch an overlay item present on the map, how can I do this? I have to write by hands the code that do this? Any suggestion will be appreciated! -- 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 -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books -- 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
Re: [android-developers] Re: Google Maps API
Neither. I did not write that code, and there are no balloons in the Google Maps SDK add-on. On Thu, Nov 25, 2010 at 9:40 AM, pedr0 pulsarpie...@gmail.com wrote: Thanks so much! I have some question about the layout component that you use in that program: 1) balloon_inner_layout, balloon_overlay_bg_selector are Android/ Google standard components or are components which you have developed personally? Ops!Only one question! On 25 Nov, 14:17, Mark Murphy mmur...@commonsware.com wrote: https://github.com/jgilfelt/android-mapviewballoons On Thu, Nov 25, 2010 at 4:25 AM, pedr0 pulsarpie...@gmail.com wrote: hi at all, I am currently developing an little application which use API Maps and I have some problems: I would like shows an comic style comic could (like Web Google Map) when the users touch an overlay item present on the map, how can I do this? I have to write by hands the code that do this? Any suggestion will be appreciated! -- 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 -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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: Market is completely out of order !!
May be Google is not paying him well? :D On Nov 25, 7:55 pm, Yahel kaye...@gmail.com wrote: No news from the Android team(one-man team most probably : ) about the market being completely screwed and unusable : - Half my app do not appear anymore in the list - Delete links under the screenshots don't work anymore - Even though there is a highres icon present and showing, saving sends error This field is required I mean ok, Mister Market Developer you are alone in your office doing the job of a complete team but come on, Unit Testing before launching new version is the bare minimum. We know google isn't helping you much and there not giving you even an assistant but last count from july gives 10199 developers using the Market console. That's a lot of people depending on you. Could you try a little harder please ?? Yahel -- 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] Trouble with loud speaker off on Galaxy S
Has anyone else experienced this on the Samsung Galaxy S? When I use the folowing to turn the Loudspeaker on it works fine: audioManager.setSpeakerphoneOn(true); But when I try the opposite to turn it off: audioManager.setSpeakerphoneOn(false); The Loudspeaker stays on and audio is played via that instead of the ear piece on the device. The above works on the Nexus One and HTC Hero, just got a Samsung Galaxy the other day and it doesn't work, has anyone else encountered the issue and perhaps know why it is happening and if there is a work around? -- 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] Localization: no compression... huge APK...
I want to provide translations of my app in minimally 6 languages. I was horrified to discover that there's apparently no compression of the XML strings in res/values-xx. When I add another language (values- fr) with total file size of the XML files around 200K, it adds around 200K to the APK. Did I miss a 'compress strings' flag somewhere ? Otherwise localization with the standard Android method is completely unfeasable (for my app at least). Different builds: I currently need 3 different packages builds for various reasons, I don't want to end up with 3 * 10 = 30 Which leaves ? Put them in raw/ and write my own string-caching ? If I'm going that way may as well make them downloadable too... sees a week disappear suddenly Any other suggestions ? Thanks, Pent -- 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] Passing object via intent
Hi at all, I read some tutorial about the object of this topic (Passing object via intent) there tutorial said that there are two way: 1) My object must implement Parcelable Interface 2) I have to move my object static, for share data between activities. I have to share an ArrayListmyType and I am a little bit confused about the second way, the question is: - using the second solution what may happens if the activity which share static object is killed by the OS ? Thanks a lot pedr0 -- 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
Re: [android-developers] Passing object via intent
If the process is killed, then everything is gone, including your static object. You can put a list of parcelables into an intent extra: http://developer.android.com/reference/android/content/Intent.html#putParcelableArrayListExtra(java.lang.String, java.util.ArrayList? extends android.os.Parcelable) -- Kostya 25.11.2010 18:55, pedr0 пишет: Hi at all, I read some tutorial about the object of this topic (Passing object via intent) there tutorial said that there are two way: 1) My object must implement Parcelable Interface 2) I have to move my object static, for share data between activities. I have to share an ArrayListmyType and I am a little bit confused about the second way, the question is: - using the second solution what may happens if the activity which share static object is killed by the OS ? Thanks a lot pedr0 -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com -- 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
Re: [android-developers] Re: Market is completely out of order !!
Any idea when this might be fixed? I can confirm the same problems for me - half of my listings are gone. I know it's Thanksgiving and all but this affects a lot of people, apparently. On Thu, Nov 25, 2010 at 9:15 AM, Sarwar Erfan erfanonl...@gmail.com wrote: May be Google is not paying him well? :D On Nov 25, 7:55 pm, Yahel kaye...@gmail.com wrote: No news from the Android team(one-man team most probably : ) about the market being completely screwed and unusable : - Half my app do not appear anymore in the list - Delete links under the screenshots don't work anymore - Even though there is a highres icon present and showing, saving sends error This field is required I mean ok, Mister Market Developer you are alone in your office doing the job of a complete team but come on, Unit Testing before launching new version is the bare minimum. We know google isn't helping you much and there not giving you even an assistant but last count from july gives 10199 developers using the Market console. That's a lot of people depending on you. Could you try a little harder please ?? Yahel -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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: Passing object via intent
But when you say process you are talking about the activity? I think yes but I ask for confirm. On 25 Nov, 17:06, Kostya Vasilyev kmans...@gmail.com wrote: If the process is killed, then everything is gone, including your static object. You can put a list of parcelables into an intent extra: http://developer.android.com/reference/android/content/Intent.html#pu..., java.util.ArrayList? extends android.os.Parcelable) -- Kostya 25.11.2010 18:55, pedr0 пишет: Hi at all, I read some tutorial about the object of this topic (Passing object via intent) there tutorial said that there are two way: 1) My object must implement Parcelable Interface 2) I have to move my object static, for share data between activities. I have to share an ArrayListmyType and I am a little bit confused about the second way, the question is: - using the second solution what may happens if the activity which share static object is killed by the OS ? Thanks a lot pedr0 -- Kostya Vasilyev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com -- 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] OpenGL on multiple threads with sharegroups
Dear All, I'm porting some iPhone OpenGL code that uses a separate thread for OpenGL texture loading. To do this, I create a new OpenGL context in the same sharegroup as the main rendering context, and then the textures loaded in one context are available to the other. I've not seen any equivalent to this on Android. Is this correct, or am I missing something? My code is C++, but as far as I can see the situation is the same for Java OpenGL code. Thanks for any suggestions. Phil. -- 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
Re: [android-developers] Re: Passing object via intent
25.11.2010 19:55, Mark Murphy пишет: On Thu, Nov 25, 2010 at 11:42 AM, pedr0pulsarpie...@gmail.com wrote: But when you say process you are talking about the activity? No, by process, he means process: http://developer.android.com/guide/topics/fundamentals.html#procthread Right :) -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com -- 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
Re: [android-developers] Re: Passing object via intent
On Thu, Nov 25, 2010 at 11:42 AM, pedr0 pulsarpie...@gmail.com wrote: But when you say process you are talking about the activity? No, by process, he means process: http://developer.android.com/guide/topics/fundamentals.html#procthread -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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: Market is completely out of order !!
UGH THIS IS BULLSH*T, on a holiday, we want to upload new versions to get lots of new business, and the market is screwed up again! -niko On Nov 25, 10:07 am, Rob Franz rob.fr...@gmail.com wrote: Any idea when this might be fixed? I can confirm the same problems for me - half of my listings are gone. I know it's Thanksgiving and all but this affects a lot of people, apparently. On Thu, Nov 25, 2010 at 9:15 AM, Sarwar Erfan erfanonl...@gmail.com wrote: May be Google is not paying him well? :D On Nov 25, 7:55 pm, Yahel kaye...@gmail.com wrote: No news from the Android team(one-man team most probably : ) about the market being completely screwed and unusable : - Half my app do not appear anymore in the list - Delete links under the screenshots don't work anymore - Even though there is a highres icon present and showing, saving sends error This field is required I mean ok, Mister Market Developer you are alone in your office doing the job of a complete team but come on, Unit Testing before launching new version is the bare minimum. We know google isn't helping you much and there not giving you even an assistant but last count from july gives 10199 developers using the Market console. That's a lot of people depending on you. Could you try a little harder please ?? Yahel -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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
Re: [android-developers] Re: Market is completely out of order !!
It appears that someone is doing something on Google's end - I can see most (but not all) of my apps in the Market. So it appears they're trying to rectify the issue. On Thu, Nov 25, 2010 at 11:13 AM, niko20 nikolatesl...@yahoo.com wrote: UGH THIS IS BULLSH*T, on a holiday, we want to upload new versions to get lots of new business, and the market is screwed up again! -niko On Nov 25, 10:07 am, Rob Franz rob.fr...@gmail.com wrote: Any idea when this might be fixed? I can confirm the same problems for me - half of my listings are gone. I know it's Thanksgiving and all but this affects a lot of people, apparently. On Thu, Nov 25, 2010 at 9:15 AM, Sarwar Erfan erfanonl...@gmail.com wrote: May be Google is not paying him well? :D On Nov 25, 7:55 pm, Yahel kaye...@gmail.com wrote: No news from the Android team(one-man team most probably : ) about the market being completely screwed and unusable : - Half my app do not appear anymore in the list - Delete links under the screenshots don't work anymore - Even though there is a highres icon present and showing, saving sends error This field is required I mean ok, Mister Market Developer you are alone in your office doing the job of a complete team but come on, Unit Testing before launching new version is the bare minimum. We know google isn't helping you much and there not giving you even an assistant but last count from july gives 10199 developers using the Market console. That's a lot of people depending on you. Could you try a little harder please ?? Yahel -- 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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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: Feature Graphic, High Resolution Application Icon and Promotional Video.
Right, in my case too the uploaded feature graphic and hi-res icon keep vanishing some time after a successful upload. Looks like someone misconfigured the Monkey tool to write software rather than test software. On Nov 25, 11:10 am, sblantipodi perini.dav...@dpsoftware.org wrote: Hi, as stated in other thread the Feature Graphic, High Resolution Application Icon and Promotional Video are always removed after we upload them. Is there someone who know when we can finally upload this file without having to re-upload and re-upload it? Do you know also what URL should we use for Promotional Video? Is it good a youtube url or they need a direct link to a video file ? -- 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
Re: [android-developers] Trouble with loud speaker off on Galaxy S
Hi, Which OS version there is on your samsung Galaxy S? I have 2 of them, one with froyo and one with Eclair OS. On the Froyo, the setspeakerphone is a bit of a trouble. On the 2.1 it works fine. On Thu, Nov 25, 2010 at 3:36 PM, draf...@gmail.com draf...@gmail.comwrote: Has anyone else experienced this on the Samsung Galaxy S? When I use the folowing to turn the Loudspeaker on it works fine: audioManager.setSpeakerphoneOn(true); But when I try the opposite to turn it off: audioManager.setSpeakerphoneOn(false); The Loudspeaker stays on and audio is played via that instead of the ear piece on the device. The above works on the Nexus One and HTC Hero, just got a Samsung Galaxy the other day and it doesn't work, has anyone else encountered the issue and perhaps know why it is happening and if there is a work around? -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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] Licensing on multiple devices
Hi, I have a general licensing question. If a user buys my app, can he install it on multiple android devices that he owns or is it limited to 1 license 1 device. Thanks, jb -- 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] Text entry in landscape needs improvement
I'm trying to use the built-in search UI provided by Android to provide search in my landscape-mode app. I find the UI to be clumsy and makes the user lose context by obscuring the entire screen when the entry field and keyboard appear. Is there a way that the text entry part of the search screen can remain a single line (as it does before the keyboard appears) and allow the app's screen to show through in the space between the entry field and the keyboard? If you do a search within the Android browser, you get exactly what I want. I've even tried to create my own EditText, but for landscape, the multi-line text entry field and keyboard obscures the entire screen. Is there something I can do to achieve my desired effect? -- 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: Licensing on multiple devices
http://market.android.com/support/bin/answer.py?hl=enanswer=113410 On Nov 25, 7:01 pm, jb cona...@gmail.com wrote: Hi, I have a general licensing question. If a user buys my app, can he install it on multiple android devices that he owns or is it limited to 1 license 1 device. Thanks, jb -- 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: button on screen that controls page sliding
Hi TreKing, I want to use the ViewFlipper or ViewSwitcher with animation but want to control the sliding like the sliding drawer button does for the Android App Menu? On Nov 23, 6:15 pm, TreKing treking...@gmail.com wrote: On Sat, Nov 20, 2010 at 4:51 PM, timecatcher3 timecatch...@gmail.comwrote: I wanted to make a button on one of my activities that I can drag to slide my current activity page to the next activity page. The button will be in the center of the screen and I want to be able to press and drag it horizontally to one end of the screen while I am dragging my button I can see my current activity page moving. It is actually like when one slides on the home screen and can control the sliding depending on how far he slides his finger on the screen. OK ... this is pretty broad. What do you have working so far? Where exactly are you having trouble? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] Re: button on screen that controls page sliding
On Thu, Nov 25, 2010 at 3:08 PM, timecatcher3 timecatch...@gmail.com wrote: I want to use the ViewFlipper or ViewSwitcher with animation but want to control the sliding like the sliding drawer button does for the Android App Menu? Neither ViewFlipper nor ViewSwitcher are designed for that scenario. At most, they animate the old content off the screen, then animate the new content onto the screen. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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
Re: [android-developers] Re: button on screen that controls page sliding
On Thu, Nov 25, 2010 at 2:08 PM, timecatcher3 timecatch...@gmail.comwrote: I want to use the ViewFlipper or ViewSwitcher with animation but want to control the sliding like the sliding drawer button does for the Android App Menu? On Tue, Nov 23, 2010 at 5:15 PM, TreKing treking...@gmail.com wrote: OK ... this is pretty broad. What do you have working so far? Where exactly are you having trouble? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] Re: Android Market Console Pagination
On Wed, Nov 24, 2010 at 10:34 PM, Adam Hammer adamhamm...@gmail.com wrote: Especially since basic pagination is something a first year student should be able to do. You're assuming the people behind the Android Market website have this much experience. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] GPSProvdier is enabled or not
On Wed, Nov 24, 2010 at 12:21 AM, cool.manish mannishga...@gmail.comwrote: My query is if manager.isProviderEnabled( LocationManager.GPS_PROVIDER ) gives me false then will requestLocationUpdates not work. or even if GPS is not enabled on my cell requestLocationUpdates will automatically enable the GPS. Correct. The user can enable and disable GPS. If it is disabled, your calls won't do anything. You can prompt them to enable the GPS (and even take them to the settings, I think) or use the network as you're doing already. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] can we create magnifier in android
On Wed, Nov 24, 2010 at 2:30 AM, Atik atik0...@gmail.com wrote: can we create magnifier in android to read the text on some surface like newspaper etc. i need to save the zoom level for that perticluar appl ..is it possible in android.. Without fully understanding what you're asking or what you're trying to achieve, sure, it's possible to zoom some text in Android. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] Help needed for Context object: GPS implementation
On Wed, Nov 24, 2010 at 3:02 AM, cool.manish mannishga...@gmail.com wrote: Can I start my GPS listener from one activity and can fetch coordinate in some other activity? You can start it in one activity then *pass* the information you get to another activity, if that's what you mean. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] when i connect facebook through android after sign in ....
On Wed, Nov 24, 2010 at 1:31 AM, blackpuma786 blackpuma786 blackpuma...@gmail.com wrote: please help me You'll have to provide a lot more information if you expect to get help. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] How to put text below the image of the item in a mapview? (googlemap view)
On Thu, Nov 25, 2010 at 6:00 AM, Pableras elpablosa...@gmail.com wrote: how can i do it? Override the draw (or onDraw, whichever it is) for you ItemizedOverlay subclass, iterate over your list of items, calculate the screen position from the geo-coordinates, and use the Canvas given to you to drawText(). - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] Facebook Publish Error In Anroid Application
On Thu, Nov 25, 2010 at 7:54 AM, rokson kiranrepa...@gmail.com wrote: How can i fix this error? If anybody knows please let me know. You should probably try facebook api specific forums for this type of question. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] Passing object via intent
On Thu, Nov 25, 2010 at 9:55 AM, pedr0 pulsarpie...@gmail.com wrote: I read some tutorial about the object of this topic (Passing object via intent) there tutorial said that there are two way: 1) My object must implement Parcelable Interface 2) I have to move my object static, for share data between activities. A 3rd way that I prefer: make your object bundleable, where it can put it's relevant data into a Bundle and re-construct itself from a Bundle, which you put in the intent. This eliminates the complexity and class-loading issues of Parcelable and the common issues with statics. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] Re: Market is completely out of order !!
No one from the Market team reads this group. If you have issues, this is your best option: http://www.google.com/support/androidmarket/bin/request.py?contact_type=publisher - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] Feature Graphic, High Resolution Application Icon and Promotional Video.
On Thu, Nov 25, 2010 at 4:10 AM, sblantipodi perini.dav...@dpsoftware.orgwrote: Is there someone who know when we can finally upload this file without having to re-upload and re-upload it? Do you know also what URL should we use for Promotional Video? Is it good a youtube url or they need a direct link to a video file ? I don't think the people able to answer that question read this group. And if they do, they're not going to answer you. This is your best option. http://www.google.com/support/androidmarket/bin/request.py?contact_type=publisher - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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] SMS from laptop
Hi, I was wondering if it's safe to use the http protocol to retrieve the message(SMS) to the phone and send it. I currently have the simple SMS outbound working. I'm planning to use $_POST in php give a unique id to the sender and retrieve the message through http://android.littlebearz.com/SMS/index.php?uid=xx http://android.littlebearz.com/SMS/index.php?uid=xxkey=XXX XX key=X Where uid is the unique id and key is to verify the content belongs to the right person. And I'll be using the system clock to check the status of the webserver periodically to retrieve data much like RSS. Btw, this is a free fun project for me so my conclusion is to know whether that is a security hazard or passable. -- 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
Re: [android-developers] Accessing Video Thumbnail
Hi, I got this working in the end using the advice here: http://www.mail-archive.com/android-developers@googlegroups.com/msg24164.html Part of the problem was that I was looking for the wrong media type or more correctly, I was telling the scanner it was of a different mime type so it wasn't showing when I searched for it. Hope that helps someone... Cheers, Julius. On 25/11/2010, at 8:26 AM, Julius Spencer wrote: Hi, I am having trouble getting a thumbnail for a video. I am targeting 2.1 update 1. (API level 7) I would like to use MediaStore.Video.Thumbnails.getThumbnail. This works perfectly if the SD Card has been mounted / unmounted. However, when a video is first created I would like it to be scanned (by the MediaScanner I believe) so it is indexed and I can show a preview immediately using the getThumbnail method. Looking at the source I suspect this is a device specific class. I have tried creating a class that implements MediaScannerConnectionClient but onScanCompleted never seems to get called. Has anyone had any success making thumbnails like this? Any direction would be really helpful :) Regards, Julius. -- 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 -- 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: Android SDK for Android
It would be a interesting project. It would be awesome to be able to do full android development from android. Someone should get to bootstrapping this one. On Nov 25, 5:30 am, Mark Murphy mmur...@commonsware.com wrote: No, not as you are describing it. For starters, the Sun Java compiler does not run on Android. There is the Scripting Layer for Android (SL4A), which supports on-device development, but only has access to a tiny subset of the SDK. On Thu, Nov 25, 2010 at 7:21 AM, Adam Hammer adamhamm...@gmail.com wrote: Is it possible to run a android sdk on android itself? Ie. develop and maintain software only using a android device? -- 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 -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books -- 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] unable to load listview from aSync Task, see the code
Hi i m trying to load the list view from websrvice.. i m getting the output in list when i m doing it alone but now in aSync task its giving me error.. see the class file below package com.example; import java.io.IOException; import java.util.ArrayList; import org.apache.http.ParseException; import org.json.JSONException; import com.spsoft.android.R; import android.app.Activity; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; import android.util.Log; import android.widget.ArrayAdapter; import android.widget.ListView; public class First extends Activity { private ListView mainListView; double latitude; double longitude; String places; DownloadInfo downloadInfo; JSONhelper jsoNhelper; ProgressDialog dialog; ArrayListPlaceInformation a; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.first); mainListView = (ListView) findViewById(R.id.mainListView); Intent i = getIntent(); Bundle bun = i.getExtras(); latitude = bun.getDouble(lat); Log.v(First, latitude + latitude); longitude = bun.getDouble(lan); places = bun.getString(places); downloadInfo = new DownloadInfo(); downloadInfo.execute(First.this); // Log.v(First, arrayList length=+ a.size()); } public void showListView() { String[] stringArrayForList=new String[a.size()]; for (int j = 0; j a.size(); j++) { stringArrayForList[j]=a.get(j).toString(); } ArrayAdapterString listAdapter = new ArrayAdapterString(this, R.layout.simplerow,stringArrayForList); mainListView.setAdapter(listAdapter); } class DownloadInfo extends AsyncTaskContext, Void, Void { @Override protected void onPreExecute() { // TODO Auto-generated method stub super.onPreExecute(); jsoNhelper = new JSONhelper(getApplicationContext(), latitude, longitude, places); dialog = new ProgressDialog(First.this); dialog.setMessage(Loading Please Wait); dialog.show(); } @Override protected Void doInBackground(Context... params) { //Looper.prepare(); try { jsoNhelper.getJson(); a = jsoNhelper.resultArrayList; // Log.i(in the do in background, size is + a.size()); //onPostExecute(null); } catch (ParseException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (JSONException e) { // TODO Auto-generated catch block e.printStackTrace(); } //Looper.loop(); return null; } @Override protected void onPostExecute(Void result) { try { if (dialog.isShowing()) { super.onPostExecute(result); dialog.dismiss(); showListView(); } } catch (Exception e) { } } } } -- 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] ACTION_BATTERY_CHANGED
Hi all, I have no phones to test right now an the emulator keeps sending me this broadcast. Just to know: When this broadcast is sent? when the level of the battery changes? ty in advance =) -- *Diego Queiroz* -- 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: Graphic rendering issues on simple components
Hi, this can happen if your app targets api 1.6 but has the anyDensity set to false - in that case Android will scale any graphic, and make it look like crap on devices with other resolutions. I just found this out in one of my apps, but fixed it by setting anyDensity to true and modding my code. On Nov 24, 11:48 am, Spiky33 antony.b...@gmail.com wrote: Hi all, I'm a beginer in Android's world... I hope you could help me !! After some test, I saw that in my applications all the graphic components like Buton, Spinner (etc...) display anormally. In fact, I have pixelated components, it's realy strange. This behaviour not appair in AVD but just when I transfer on my phone, Sony XPeria X10 (with the default theme on Andoid 1.6) which works well. I would like to know if this problem comes from development or from my phone ? Otherwise, maybe the target of my appliction (in manifest) is not adapted (target 2) ? Regards. -- 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] OnKeyListener not working on virtual keyboard
I don't understand why this peace of code is not working. OnlyDelete and Return keys are detected. Listener doesn't fire for any other key. My device is Nexus One. I tried to override activity's OnKeyDown method and that's even worse. The only detected button was hardware back button. I am seeing around a suggestion to use TextWatcher and onTextChanged, while that might work in some cases, it's not a real work around. For example, if textbox is empty, you won't detect if user press Delete key. So any ideas? Here is my code: TextView txtInput = (TextView)findViewById(R.id.txtInput); txtInput.setOnKeyListener(new View.OnKeyListener() { @Override public boolean onKey(View v, int keyCode, KeyEvent event) { makeToast(keyCode + key pressed); return true; } }); -- 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: how to publish paid app from INDIA
Safe or not depends if you trust the other party (e.g. me) or not. Same with any other business transactions. You have to work out the risk yourself. Cheers Eric On Nov 25, 5:33 pm, Atik atik0...@gmail.com wrote: bro but how is it ??? means is it safe??? hope u got my point..can u tell me some details what u have in ur mind On Nov 25, 11:25 am, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: Or you can collaborate with someone who can post paid app to Android market ;) E.g. I maybe willing to do it ;) I am from Australia. Cheers Eric On Nov 25, 3:59 pm, Atik atik0...@gmail.com wrote: Hi i am an Android developer,an i want to publish one paid app, the price range would be 0.99$ -1.99$, and i have the android market account but recently i came to know that from India i am not able to sell the application.. is there any other option, recently i came to know about WWW.androidconnector.com , but they didn't replied to my mail. so please help me out to publish my app.. -- 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
Re: [android-developers] ACTION_BATTERY_CHANGED
On Thu, Nov 25, 2010 at 8:44 PM, Diego Queiroz dibo...@gmail.com wrote: When this broadcast is sent? when the level of the battery changes? Yes http://tinyurl.com/33d2bel - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] How to read non-english fonts and display in app ?
If I'm not mistaken, the Dalvik VM uses UCS-16 internally, just like the Java VM. The question is probably what encoding does the file use, UTF-8? Is the InputStreamReader using the correct encoding? -- 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