[android-developers] Re: Map API KEY

2010-06-24 Thread SREEHARI
Hi ENSI, No need to open debug.keystore. You just do the following $ keytool -list -alias androiddebugkey -keystore path_to_debug_keystore.keystore -storepass android -keypass android You will get Certificate Fingerprint . Then you submit that in http://code.google.

[android-developers] Re: How to Draw route on Google map? not to use DrawPath

2010-06-24 Thread SREEHARI
Hi, Do u want to draw route connecting geo cordinates?? If so you can store the geo coordinates and draw. If you want to draw shortest path you can use some algorithm like Djikstras. Regards, SREEHARI -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Build Error - Android 2.2

2010-06-24 Thread Mani Droid
Hi All I downloaded the Android 2.2 source code and try to build it. When I executed the make command, I got an error here like this build/core/java.mk:20: *** frameworks/ex/common: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. Then I changed the

[android-developers] Design Question

2010-06-24 Thread davemeetsworld
I have an app that posts a status and a location to a php script. Currently It is all performed with 2 classes. One is the main screen where you can put the status in and click a submit button, the second is a class that implements the LocationListener and keeps the location up to date and handles

[android-developers] Re: How to Draw route on Google map? not to use DrawPath

2010-06-24 Thread Nicholas Albion
Try one of these links to decode the polyline http://facstaff.unca.edu/mcmcclur/googlemaps/encodepolyline/ http://jeffreysambells.com/posts/2010/05/27/decoding-polylines-from-google-maps-direction-api-with-java/ -- You received this message because you are subscribed to the Google Groups

[android-developers] problems about add-ons and sdk

2010-06-24 Thread yenchengwang
hi all, I have downloaded the android sources using repo. like the step's in this web, http://source.android.com/source/git-repo.html but, the source doesn't include the add-ons( Google APIs ). it just the standard Android APIs. so, how can I have a system.img that support both of

[android-developers] Re: How to Draw route on Google map? not to use DrawPath

2010-06-24 Thread Nithin
Hi, You can also use this uri, uri = Uri.parse(http://maps.google.com/maps? saddr=13.042206,80.17000daddr=9.58,78.10); specify the latitude and longitude of the two locations. Here I specified the latitudes and longitudes for two cities in India. Pass this Uri to an intent with action

[android-developers] Re: Background apps (Instant Messaging) being killed without user notification

2010-06-24 Thread FrankG
Hello Kostya, can you please elaborate this a little bit : a) For me it seems, that the Notifications from a service without the foreground stuff are not deleted when you kill the service ( i.e. using Settings-Applications-Running Services ) b) what did you mean with 2.x -API ?

[android-developers] Re: Poor roaming performance ! Is it an Android bug ?

2010-06-24 Thread Cydrike
I'm upping this subject to know if I'm the only one facing this problem ? Perhaps someone by Google can check this out ? -- 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

[android-developers] Random byte access from a Content URI

2010-06-24 Thread Varun Khaneja
Hi, We are trying to access bytes in non-sequential order from a ' content:' URI that we receive in the intent from other applications. Is there a way to do this, without buffering the bytes within the application? We found a discussion about the same from 2008 at:

[android-developers] Re: Any chance to deactivate the lock pattern in Froyo from code?

2010-06-24 Thread LeveloKment
Hi Mark. Thanks for your answer. I share your point of view completely. From my experience an always on (Pattern, Pin or Password) is something many people do not like... so they deactivate it completely. The idea of my App was to help people to find a good compromise between security and

Re: [android-developers] Re: How to on Gps in emulator

2010-06-24 Thread Sohan badaya
Hi, Thanks It works. Sohan Badaya On Wed, Jun 23, 2010 at 9:48 PM, HeHe cnm...@gmail.com wrote: DDMS perspective Emulator Control Location Control Send On Jun 23, 7:59 am, Sohan badaya sohan.bad...@gmail.com wrote: Hi, How to start Gps in emulator. Thanks -- You received

[android-developers] Android's Launcher

2010-06-24 Thread Goodwin
As we known, there are 3 home screens in the android's default launcher . we can move the right screen or the left screen. and we don't know how many pages are in left-hand right hand sites . so I want to modify the android's launcher , and add an indicator to show how many pages are in

[android-developers] GUI Design Patterns of the Twitter Client presented at Google I/O

2010-06-24 Thread mboehmer
Hi there, there was a talk at Google I/O about design patterns for Android. As an example, the Twitter client was implemented based on the proposed UI patterns. In the talk, they said that the code of the Twitter client would be made available as open source. I am very interested, especially in

[android-developers] Re: Build Error - Android 2.2

2010-06-24 Thread Mani Droid
Hi All I again downloaded the code. Not its compiling. Thanks Regards Manikandan.D On Thu, Jun 24, 2010 at 2:24 PM, Mani Droid manis.dr...@gmail.com wrote: Hi All I downloaded the Android 2.2 source code and try to build it. When I executed the make command, I got an error here like

[android-developers] Re: Build Error - Android 2.2

2010-06-24 Thread Mani Droid
Sorry, it's compiling fine. On Thu, Jun 24, 2010 at 4:09 PM, Mani Droid manis.dr...@gmail.com wrote: Hi All I again downloaded the code. Not* its compiling. Thanks Regards Manikandan.D On Thu, Jun 24, 2010 at 2:24 PM, Mani Droid manis.dr...@gmail.comwrote: Hi All I downloaded

[android-developers] Difference between SQLite on HTC Hero (1.5) and Nexus One (FR72)?

2010-06-24 Thread Mark Carter
Same data, same code, but different results on these two devices. On the Nexus One, the (INNER JOIN) query runs (first call to Cursor.moveToNext()) after a fraction of a second but on the Hero it just hangs. I haven't been able to reduce the scenario to something simple yet, but it seems to

[android-developers] Help with dialog sizing in stock vs. Sense UI

2010-06-24 Thread Zsolt Vasvari
Hello, I have an AlertDialog with a custom View content. The View is defined as: ScrollView xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=0dp

[android-developers] How can I kill a activity from surfaceview which belongs to the activity

2010-06-24 Thread lishali
In my application, I create a surfaceview which runs my game loop. I want to exit the game without push the back button, but use a button. I tried to call the activity's finish() method, and the application exit, but I always get a message Activity ***(in application ) is not reponding. But

[android-developers] It is possible to monitor and block network?

2010-06-24 Thread Jiang
It is possible to implement following features: 1, Get notification when a net network connection is established by other applications. 2, Hook network input/output stream, or peer input/output stream, and block corresponding network connection if the stream contains unexpected contents.

[android-developers] Re: CheckedTextView - only can select once checkbox

2010-06-24 Thread Mickey
Hi, I'm not sure if I truly understood your problem but one thing I would suggest is to check the API Demos app that is shipped with the SDK, if you haven't done yet. In particular, there's a class named List11.java which gives you a brief overview on how to use the CheckedTextView. In the case

[android-developers] Re: Capture home key event

2010-06-24 Thread Tomáš Hubálek
Many users don't understand difference between Home and Back button (according my experience of support of my apps) and in this case they don't understand why screen widget does not appear on home screen while configuration finished with Home button. I'm going to detect somehow that application

[android-developers] Seeting the environment for building android source code.

2010-06-24 Thread Jeeva
Hi, i am new to android, i want to download and set the source code in ubuntu 9.10. please help me how to setup the environment and build tha android application. Thanks regards Jeeva -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: GUI Design Patterns of the Twitter Client presented at Google I/O

2010-06-24 Thread Tomáš Hubálek
I'm interested too. Even better would be to extract new GUI components into separate library to allow reuse by other apps. Tom On 24 čvn, 10:07, mboehmer mboeh...@fh-muenster.de wrote: Hi there, there was a talk at Google I/O about design patterns for Android. As an example, the Twitter

[android-developers] android lighthouse

2010-06-24 Thread shoi
hi i wanted to try and port qt apps to android can anybody guide me through setting up the android lighthouse project on Windows. i downloaded the customised ndk but dont know how to clone the repository Im a beginner so please be a bit specific if you can. Since i was unable to execute the

[android-developers] Re: Crash dumps - Market vs Homegrown

2010-06-24 Thread Tomáš Hubálek
Nathan, I belive that homegrown (eg. ACRA - http://code.google.com/p/acra/) is must untl Froyo and newer become majority. Correct me if I'm wrong but on older version of Android there is no way how to get info about errors. BTW: I'm using ACRA in all my apps and it made my apps much better.

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-06-24 Thread Tomáš Hubálek
Ayutin, I don't think they relaunch the program. They have enough developers and apps on the Android Market. Tom On 10 čvn, 11:24, ayutin ayu...@gmail.com wrote: I hope they can re-launch the program. I just missed the previous one! On 5月31日, 下午1時50分, Henrik Sandström

[android-developers] Re: Difference between SQLite on HTC Hero (1.5) and Nexus One (FR72)?

2010-06-24 Thread Tomáš Hubálek
Maybe full SQL would give more clue... Tom On 24 čvn, 10:13, Mark Carter mjc1...@googlemail.com wrote: Same data, same code, but different results on these two devices. On the Nexus One, the (INNER JOIN) query runs (first call to Cursor.moveToNext()) after a fraction of a second but on the

[android-developers] how to use the contacts info in my app?

2010-06-24 Thread pranay
hi,i have an app which displays the incoming messges. I am using the SmsMessage.getOriganatingAdress() which gives only the number of the sender ,so how do i convert it to the corrresponding name stored in my contacts? how should i proceed? Thanks. -- You received this message because you are

[android-developers] Re: Broadcast receiver, service thread

2010-06-24 Thread Federico Paolinelli
Thanks again a lot for your replies. On 24 Giu, 01:31, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jun 23, 2010 at 7:24 PM, Federico Paolinelli fedep...@gmail.com wrote: If I understood correctly, I need to bind to the service in order to provide it a listener, and then if I want to

[android-developers] Will data remain after updating android os in mobile phones

2010-06-24 Thread santha
Hi folks, I need some clarification regarding Updating android OS version.. Currently my mobile is running on android-1.6 and i have installed so many applications, some of them are dealing with the databases.. If i update my mobile with android 2.1 version, will the data still remains same??

Re: [android-developers] Re: Difference between SQLite on HTC Hero (1.5) and Nexus One (FR72)?

2010-06-24 Thread Mark Carter
True - though the SQL is a little complex and I'd like to simplify it before posting. However, whatever the SQL is, there has to be an explanation for the different outcome. 2010/6/24 Tomáš Hubálek tom.huba...@gmail.com Maybe full SQL would give more clue... Tom On 24 čvn, 10:13, Mark

Re: [android-developers] Re: Difference between SQLite on HTC Hero (1.5) and Nexus One (FR72)?

2010-06-24 Thread Tomáš Hubálek
SQL Lite is definitely simpler but in Oracle it sometimes happens that the same SQL has very different performance on different versions because of different explain plan. Tom On Thu, Jun 24, 2010 at 12:48 PM, Mark Carter mjc1...@googlemail.comwrote: True - though the SQL is a little complex

Re: [android-developers] Re: Difference between SQLite on HTC Hero (1.5) and Nexus One (FR72)?

2010-06-24 Thread Mark Carter
Hmmm - this is a bit worrying, isn't it? How to possibly test SQL which can potentially run so differently on different devices? One starting point would be get a list of SQLite version numbers on each device available... 2010/6/24 Tomáš Hubálek tom.huba...@gmail.com SQL Lite is definitely

Re: [android-developers] Re: Capture home key event

2010-06-24 Thread Kostya Vasilyev
Tomas, If the activity in question is a widget configuration activity, how about having a create button? Another option is to set setResult(RESULT_OK, appWidgetId) and building the initial widget update in the activity's onCreate, so the widget is created by default. -- Kostya 24.06.2010

Re: [android-developers] Re: Capture home key event

2010-06-24 Thread Tomáš Hubálek
Kostya, I will double check your suggestion. I'm not sure why I didn't do it in suggested way but there was some reason. Thanks Tom On Thu, Jun 24, 2010 at 1:21 PM, Kostya Vasilyev kmans...@gmail.com wrote: Tomas, If the activity in question is a widget configuration activity, how about

[android-developers] AutoCompleteTextView

2010-06-24 Thread praveena ankitha
hi all, I have One AutocompleTextView and I want to make the virtual keyboard disappear when he hits DONE at the AutocompleTextView. So far, the buttons NEXT/DONE do nothing at all Unfortunately I found no resources addressing this problem. Any suggestions? thanks in advance -- You

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-06-24 Thread String
On Jun 24, 11:10 am, Tomáš Hubálek tom.huba...@gmail.com wrote: I don't think they relaunch the program. They have enough developers and apps on the Android Market. I don't think that was the reason for the program. IMHO, it was more to get cutting-edge hardware into the hands of top devs (by

[android-developers] Re: How to trace localhost proxy connection?

2010-06-24 Thread Moto
Thanks! Got my issue resolved :) What a powerful tool! :) On Jun 16, 11:54 am, David Turner di...@android.com wrote: If you are using the emulator, try the -tcpdump file option, it will save the emulated ethernet traffic into a file that you can open with WireShark. On Wed, Jun 16, 2010 at

[android-developers] Re: Issue using protocol buffer in Android

2010-06-24 Thread Rashmi
I got it resolved Below is the solution The problem came because of the way the way bytes were extracted from the payload after building. This was the earlier code which caused the problem. ByteArrayOutputStream result = new ByteArrayOutputStream(); payload.build().writeTo(result); return

[android-developers] Re: Themes, Styles and Items [How to create skins for apps?]

2010-06-24 Thread Moto
I'm still looking for help on this... :( Romain Guy probably would know exactly if this is possible... Help? -Moto On Jun 6, 11:08 am, Moto medicalsou...@gmail.com wrote: Any help regards to Themes? Please see first and second post of this thread...  I tried various things and have had no

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-06-24 Thread Tomáš Hubálek
BTW: I'm developing on ADP1 so I think that next seeding program could go to devs that bought ADP1 or ADP2 and have high quality apps although working with such a old fashioned hardware I have nice idea for app based on FroYo PUSH functionality, but no chance to test it in on my old timer ;-)

[android-developers] multiple accesspoint

2010-06-24 Thread vineet
in the android 2.2, as i have read on internet it supports connecting upto 8 WiFi hosts simultaneousy and act as a Portable hotspot. http://developer.android.com/sdk/android-2.2-highlights.html Can some tell about how exactly to implement that and through some light, since i am not able to find

[android-developers] JSAPI (javax.speech.recognition) for Android?

2010-06-24 Thread GregM
Hi, The android speech recognizer API does not support grammars. This is very sad. Has anyone tried to implement JSAPI (javax.speech.recognition) on top of the Google's speech recognition API? It seems like a worthy cause. Links: Google API:

Re: [android-developers] Will data remain after updating android os in mobile phones

2010-06-24 Thread Mark Murphy
On Thu, Jun 24, 2010 at 6:41 AM, santha uday.pic...@gmail.com wrote: If i update my mobile with android 2.1 version, will the data still remains same?? Yes. What about the Preference variables information that are saved in the android phone memory if i do FACTORY RESET??? No. -- Mark

Re: [android-developers] It is possible to monitor and block network?

2010-06-24 Thread Mark Murphy
If you build your own firmware, yes. From an SDK application, no. On Thu, Jun 24, 2010 at 4:54 AM, Jiang webs...@yahoo.cn wrote: It is possible to implement following features: 1, Get notification when a net network connection is established by other applications. 2, Hook network

Re: [android-developers] Re: Any chance to deactivate the lock pattern in Froyo from code?

2010-06-24 Thread Mark Murphy
On Thu, Jun 24, 2010 at 3:27 AM, LeveloKment levelokm...@googlemail.com wrote: What is your advice to make the development team at least aware was this potential improvement? Post something on http://b.android.com -- short of contributing a patch (or at least discussing contributing a patch),

[android-developers] Re: Mail Java API issues

2010-06-24 Thread jack.n
This may be a dumb question, but how do I add the Mail Java API App Engine classes to an Android project? Android, Java programming, XML, and the Eclipse development environment are (unfortunately) all new to me and I didn't find a quick answer in any of the CommonsWare Android books. On Jun 23,

Re: [android-developers] Re: Protect the Shared Data between service and thread

2010-06-24 Thread Mark Murphy
On Wed, Jun 23, 2010 at 10:46 PM, tarek attia tarek.m.at...@gmail.com wrote: Yes,I mean that,as in my service there's an array to be accessed also by a thread exists in this service ,so how do I protect the array from being a race condition between the service and the thread? Comparing

Re: [android-developers] Re: Mail Java API issues

2010-06-24 Thread Mark Murphy
On Thu, Jun 24, 2010 at 8:29 AM, jack.n cti1...@gmail.com wrote: This may be a dumb question, but how do I add the Mail Java API App Engine classes to an Android project? You don't. You add Mail Java API App Engine classes to an App Engine project, to run on App Engine (or an App

Re: [android-developers] Re: Any chance to deactivate the lock pattern in Froyo from code?

2010-06-24 Thread Sean Hodges
On Thu, Jun 24, 2010 at 1:24 PM, Mark Murphy mmur...@commonsware.com wrote: On Thu, Jun 24, 2010 at 3:27 AM, LeveloKment levelokm...@googlemail.com wrote: What is your advice to make the development team at least aware was this potential improvement? Post something on http://b.android.com

Re: [android-developers] Re: Any chance to deactivate the lock pattern in Froyo from code?

2010-06-24 Thread Mark Murphy
On Thu, Jun 24, 2010 at 8:59 AM, Sean Hodges seanhodge...@googlemail.com wrote: Do my emails not get through on the mailing list anymore? :( Yes, but the OP asked, so I figured I'd repeat the point. I apologize for not crediting you with mentioning it previously on the thread. -- Mark Murphy

[android-developers] Re: Android libraries

2010-06-24 Thread deg
Thanks. It would be great if you could publish a roadmap of how the library feature will look in the future. For example, it would be great if library project could depend on another library project. (Yes, I know I can use an external jar instead. I'm doing that now, but the experience is not as

Re: [android-developers] Re: Unmarshal Parcleable in Broadcast Reviever

2010-06-24 Thread TreKing
On Thu, Jun 17, 2010 at 10:30 AM, mac-systems jens.h...@gmx.de wrote: But its always wise to keep informations together without always asking the Database. I ran into this as well - instead of making a class Parcelable, I made it be bundleable - i.e., give it two methods to convert it to and

[android-developers] AutoCompleteTextView DropDown leaves ghost elements in View / IME area

2010-06-24 Thread TheGroove
When typing in an AutoCompleteTextView, when the list shrinks because the number of matches goes down, the DropDown leaves several ghost elements on the screen. This only seems to happen when an IME is visible, and visually, it appears to be limited to the area that shows the autocomplete

[android-developers] Hiding application's icon from main menu.

2010-06-24 Thread Amit
Hi, I want to hide my application icon from main menu at the run time. I believe that a filter with category Launcher in the application's manifest file is responsible for the application's presence in the main menu. Is there any way to change the category at run time? or any other way to hide

[android-developers] Garbage activity tracking

2010-06-24 Thread Davide
Hi, I have some issue about performance. I have found how to reduce the number of objects I create to increase speed. But still there is a high garbage activity like this: 06-24 13:22:25.443: DEBUG/dalvikvm(1591): GC freed 20150 objects / 681720 bytes in 187ms 06-24 13:22:26.392:

[android-developers] OpenGL draws nothing when projection matrix is set to identity

2010-06-24 Thread sold
I have an OpenGL app that manipulates it's geometry in screen space to acheive some effects, and therefore bypasses OpenGL's matrices by setting modelview and projection to identity. For some reason, Android's OpenGL implementation seems to be unhappy with this, and doesn't draw anything. The

Re: [android-developers] Hiding application's icon from main menu.

2010-06-24 Thread Mark Murphy
On Thu, Jun 24, 2010 at 9:25 AM, Amit magic.man.a...@gmail.com wrote: Is there any way to change the category at run time? Not that I am aware of. or any other way to hide the icon from main menu ? You can disable the activity completely using the PackageManager. -- Mark Murphy (a Commons

Re: [android-developers] Re: help on singleinstance launchmode

2010-06-24 Thread Vibhor Mahajan
Hello, I am still waiting and hoping for some suggestions on single instance. As per my experiments results, either I have not understood Google documentation properly or its behavior is different from Google documentation. Kindly suggest. Thanks, Vibhor On Tue, Jun 22, 2010 at 3:00 PM,

Re: [android-developers] Re: help on singleinstance launchmode

2010-06-24 Thread Mark Murphy
On Thu, Jun 24, 2010 at 9:40 AM, Vibhor Mahajan mahajan.vib...@gmail.com wrote: I am still waiting and hoping for some suggestions on single instance. As per my experiments results, either I have not understood Google documentation properly or its behavior is different from Google

Re: [android-developers] Re: Google Maps and KMZ Files...Please help

2010-06-24 Thread TreKing
On Thu, Jun 17, 2010 at 1:14 PM, Tommy droi...@gmail.com wrote: Anyone have any suggestions on how I can get radar loops to display in my App? You may want to elaborate and provide more details. I personally have no idea what NOAA is or what you mean by radar loops.

[android-developers] Recognize clicks on screen in background service

2010-06-24 Thread Jens
Hi: I have a background service and want to listen to clicks on the screen by the user. Is there any standard procedure or experience in doing this? -Jens -- 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] Re: Any chance to deactivate the lock pattern in Froyo from code?

2010-06-24 Thread LeveloKment
Thanks again Mark On 24 Jun., 14:24, Mark Murphy mmur...@commonsware.com wrote: On Thu, Jun 24, 2010 at 3:27 AM, LeveloKment levelokm...@googlemail.com wrote: What is your advice to make the development team at least aware was this potential improvement? Post something

[android-developers] Watch Live Argentina Vs Mexico Football world Cup 2010

2010-06-24 Thread xexna
Argentina Vs Mexico Football world Cup 2010 visit http://www.worldpakistan.com/?page_id=20974 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

Re: [android-developers] Recognize clicks on screen in background service

2010-06-24 Thread Mark Murphy
On Thu, Jun 24, 2010 at 10:02 AM, Jens jens.is.loca...@googlemail.com wrote: Hi: I have a background service and want to listen to clicks on the screen by the user. Is there any standard procedure or experience in doing this? That's not possible, sorry. Only the foreground activity can listen

Re: [android-developers] Re: Using SyncAdapter for syncing application data

2010-06-24 Thread Connick
p.s. I should add to this that if u set to sync automatically ...it can respond to a network tickle pre-2.2. At least according to the docs. I would guess this would work via google's cloud messaging. -Stace On Wed, Jun 23, 2010 at 8:25 AM, Connick oconn...@gmail.com wrote: I've been using a

[android-developers] Alarms after an update ?

2010-06-24 Thread mac-systems
Hello, how will android handle an update of an app which comes from the market ? Will pending alarm intents still invoked ? thanks for reply, Jens -- 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] push messaging / notification

2010-06-24 Thread vineet
i know there had been a buzz around push messaging. my client has a chat application that allows chat/collaboration on desktops on which i use AJAX. We are using PHP for this on server end. What i have to develop a client for android. here i have to develop a system using Push Technology, since

[android-developers] Re: push messaging / notification

2010-06-24 Thread vineet
EDIT: Also we use Xtify or 3party server sice the collaborative data is for corporates and confidential On Jun 24, 7:34 pm, vineet ma...@vineetyadav.com wrote: i know there had been a buzz around push messaging. my client has a chat application that allows chat/collaboration on desktops on

Re: [android-developers] Re: Change background after an Orientation change

2010-06-24 Thread Thierry Legras
I have the similar issue, the answer is interesting but i am wondering if i can avoid specifying an alternate landscape layout just for that in my case: indeed i don't want to have 2 different background pictures for horizontal/vertical layout but just to fit to screen with height/width ratio

[android-developers] Re: how to use the contacts info in my app?

2010-06-24 Thread pranay
i have tried using : Cursor cursor = context.getContentResolver().query(Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, address), new String[]{PhoneLookup.DISPLAY_NAME}, null, null, null); but i get a null pointer exception during Runtime, is there some mistake or any other way? -- You

[android-developers] Re: Will data remain after updating android os in mobile phones

2010-06-24 Thread MobDev
Actually, in my specific case (HTC Hero with 1.5) the manufacturer (HTX) will bring out an update to 2.1 but they have already stated that everything has to backed up because it will whipe the whole system (as in installed apps, db's etc)... I can't remember exactly where I read that, it has been

[android-developers] Re: Crash dumps - Market vs Homegrown

2010-06-24 Thread MobDev
afaik not ALL existing devices will get an update to Froyo, so yes I guess there is still use for ACRA ! On 24 jun, 12:08, Tomáš Hubálek tom.huba...@gmail.com wrote: Nathan, I belive that homegrown (eg. ACRA -http://code.google.com/p/acra/) is must untl Froyo and newer become majority. Correct

Re: [android-developers] Re: Will data remain after updating android os in mobile phones

2010-06-24 Thread Mark Murphy
On Thu, Jun 24, 2010 at 10:47 AM, MobDev developm...@mobilaria.com wrote: Actually, in my specific case (HTC Hero with 1.5) the manufacturer (HTX) will bring out an update to 2.1 but they have already stated that everything has to backed up because it will whipe the whole system (as in

[android-developers] Re: Streaming audio AAC format

2010-06-24 Thread MobDev
Actually on this same group there have been several reports of the new 2.2 Mediaplayer being a step backwards, as in many good-running apps seem to break on Froyo... Btw, might I ask how you stream aac directly from an url ? On 23 jun, 04:51, kabson kabson.andr...@gmail.com wrote: Hello all,  

Re: [android-developers] Re: Crash dumps - Market vs Homegrown

2010-06-24 Thread Kostya Vasilyev
There is one other important benefit to homegrown solutions: they can provide more information than just the stack trace. Not all problems are crashes or ANRs, and even then, not all of them can be understood by looking at a stack trace. Building app-specific logs with relevant info on e.g.

[android-developers] Re: got a problem to learn Android

2010-06-24 Thread MobDev
you can buy a book, and even though this might be wrongly interpreted as some kind of publicity I'd like to advise you to buy Mark Murphy's books. He has a beginners version and an advanced one, and in my opinion they are very very understandable (I have read some very techincal Android books as

[android-developers] Re: AutoCompleteTextView DropDown leaves ghost elements in View / IME area

2010-06-24 Thread TheGroove
I found a fix that will suffice for now: if I set android:dropDownHeight=fill_parent, the autocomplete box will always take up the space that's left over by the IME. There's one consequence: if there's only a few matches (left), a large empty (in my case white) box remains, but for now that's

[android-developers] Problem in getting height of web-view

2010-06-24 Thread brijesh
hello, I have a HTML file in a web view. I want to find the length of the content of that HTML file. I have tried methods like getContentHeight() at onPageFinished() but it still giving me 0. I had also put a thread which start after onPageFinished() and waits till 10-15 sec but I am still not

Re: [android-developers] Re: got a problem to learn Android

2010-06-24 Thread Mark Murphy
Thanks for the vote of confidence! On Thu, Jun 24, 2010 at 11:06 AM, MobDev developm...@mobilaria.com wrote: you can buy a  book, and even though this might be wrongly interpreted as some kind of publicity I'd like to advise you to buy Mark Murphy's books. He has a beginners version and an

RE: [android-developers] Re: Crash dumps - Market vs Homegrown

2010-06-24 Thread Paul Gee
ACRA looks very useful and potentially more robust than my current method. However I notice that it uses a class (CrashReportingApplication) extended from android.app.Application. I already have a class in my app extended from android.app.Application so does that mean I cannot use ACRA or

[android-developers] Re: got a problem to learn Android

2010-06-24 Thread MobDev
hehe, if you earned it you earned it ;) There are other interesting books as well, but some are a little too short, a little too outdated, or less understandable... Anyways, I do advise a book because it's simple to keep on ur desk while working and look up stuff fast... Or get an Android Ipad (if

Re: [android-developers] Re: Smooth Image Rotation with Gesture Control?

2010-06-24 Thread TreKing
On Fri, Jun 18, 2010 at 12:01 AM, ocdtrekkie jtn...@gmail.com wrote: Can anyone help get me started? I can program all the logic I need for my program really well, I just need some help with designing the UI to function the way I want it to. What exactly do you expect us to do for you? How

Re: [android-developers] PopUpWindow not displaying when tapping on marker

2010-06-24 Thread TreKing
On Fri, Jun 18, 2010 at 12:58 AM, Nithin nithin.war...@gmail.com wrote: Here layout is an object of LinearLayout. And this LinearLayout is placed where exactly? - TreKing - Chicago transit tracking

Re: [android-developers] Re: got a problem to learn Android

2010-06-24 Thread Wayne Wenthin
I'll second that. And Mark is a stand up guy he is all over these groups. On Thu, Jun 24, 2010 at 8:06 AM, MobDev developm...@mobilaria.com wrote: you can buy a book, and even though this might be wrongly interpreted as some kind of publicity I'd like to advise you to buy Mark Murphy's

[android-developers] Re: How to access a AIDL service from different packages?

2010-06-24 Thread Krishna Shetty
It became clear now. Thank you Mark. The problem was, I am having my AIDL interface in a different package. And I have included the same AIDL interface package in both Service and Client application. But the intent-filter of the Service had action string with package name of the Service. So

[android-developers] Notification Error - contentIntent

2010-06-24 Thread Donal Rafferty
I have a service running that updates a notification in the notification bar when it recieves a message saying it has to be changed. However I get the following error sometimes when the notification is to be updated java.lang.IllegalArgumentException: contentIntent required Here is my code:

Re: [android-developers] Alarms after an update ?

2010-06-24 Thread Dianne Hackborn
You need to re-schedule your alarms. Since anything about the app could have changed, including the component that the alarms are targeting, that state can't be kept around. On Thu, Jun 24, 2010 at 7:31 AM, mac-systems jens.h...@gmx.de wrote: Hello, how will android handle an update of an

[android-developers] Re: ItemizedOverlay using both onTap methods

2010-06-24 Thread TreKing
On Jun 15, 9:15 am, tfriest tfri...@kc.rr.com wrote: Does anyone know of a better way to do this? As you've seen, the maps documentation is pretty pathetic. What I know of the onTap functions has been gleamed from trial and error and experimentation. This is how I believe it works: onTap(int)

Re: [android-developers] Re: help on singleinstance launchmode

2010-06-24 Thread Dianne Hackborn
So far as I have explained what you say you are seeing is consistent with the intended behavior, and how I believe it is documented. You need to read through all of the documentation on launch modes, tasks, taskAffinities, and activity stacks. The singleInstance mode imposes constraints on the

Re: [android-developers] Re: Any chance to deactivate the lock pattern in Froyo from code?

2010-06-24 Thread Dianne Hackborn
Hi, The DeviceAdmin API is not going to contain this kind of functionality. That API is for apps to specify security limits they have; disabling the lock screen is not a security limit, but a removal. The admin API is carefully designed so that any constraints one admin specifies can not

Re: [android-developers] Re: got a problem to learn Android

2010-06-24 Thread John T. Haggerty
I recently looked at the oreilley text and found it to be not a very good stop especially for a beginner, let alone an intermediate programer On Jun 24, 2010 9:29 AM, MobDev developm...@mobilaria.com wrote: hehe, if you earned it you earned it ;) There are other interesting books as well, but

[android-developers] Re: Alarms after an update ?

2010-06-24 Thread mac-systems
Ok, i thought i have to do this. Is there any Intent which get broadcasted on update ? Or simlar mechanism ? rega On 24 Jun., 18:47, Dianne Hackborn hack...@android.com wrote: You need to re-schedule your alarms.  Since anything about the app could have changed, including the component that

Re: [android-developers] Re: ItemizedOverlay using both onTap methods

2010-06-24 Thread Carlos Silva
On Thu, Jun 24, 2010 at 17:49, TreKing treking...@gmail.com wrote: On Jun 15, 9:15 am, tfriest tfri...@kc.rr.com wrote: Does anyone know of a better way to do this? As you've seen, the maps documentation is pretty pathetic. What I know of the onTap functions has been gleamed from trial and

[android-developers] Re: Suggestions on howto start service without rebooting device

2010-06-24 Thread TreKing
On Jun 17, 6:40 pm, ADman adapp...@gmail.com wrote: In my case, i have two apps- one runs as a service and collects data, the other displays it. Why do you have two apps? Any suggestions on how to achieve this? Ask the users to start your app immediately? You can't do this

[android-developers] Re: button OnClick method won't fire - no matter what

2010-06-24 Thread TreKing
On Jun 17, 3:42 pm, Nick Longinow nicklongi...@gmail.com wrote: The other activity, the method *never* fires.  I've added Log statements to the onClick, and have put breakpoints into the onClick, and it is never called. Post the code where you set up the 2nd click listener... -- You received

Re: [android-developers] Re: Alarms after an update ?

2010-06-24 Thread Robert Macaulay
On Thu, Jun 24, 2010 at 11:56 AM, mac-systems jens.h...@gmx.de wrote: Ok, i thought i have to do this. Is there any Intent which get broadcasted on update ? Or simlar mechanism ? You can add a receiver for PACKAGE_REPLACED receiver android:name=.OnPackageChangeStarter

[android-developers] Re: Activity lifecycle difference between device and emulator

2010-06-24 Thread TreKing
On Jun 18, 1:18 pm, Jay jband...@gmail.com wrote: In the emulator, the calling activity is paused, and right after the new activity is resumed, the calling activity is destroyed. More than likely the emulator is simply running out of memory, so it's destroying the first activity to make room.

[android-developers] Know if your widget is on the homescreen

2010-06-24 Thread Albert
Hi there, Is there a way to know if there is an instance of your widget currently on the homescreen? I always end up using variables that change state with onUpdate() and onDeleted() calls, but that obviously that isn't effective in every scenario. Thanks in advance Alberto -- You received

  1   2   >