[android-developers] Regarding menu items in separate rows

2009-12-01 Thread Raghu
Hi, How to add menu items in separate rows? When I press menu button onPrepareOptionsMenu callback will be get called. In that I am doing menu.add (….). All the items are coming in one row. I want few items in one row and other items in another row. How to do that? Please help me. Thank you,

[android-developers] The method detachViewFromParent(View child) never gets called?

2009-12-01 Thread Agus
Hi all, I have a class that overrides ListView and found out that the detachViewFromParent() method never gets called when I scroll the view? Is this a bug or do i miss something? Regards, AS -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: ADC2 Results?

2009-12-01 Thread Lee
It's really frustrating to put hard work and devote your time on making a full fledged application only to realize that a much simpler game with the same functionality and less features would beat you that easily. I learned the hard way not to put much thoughts on those contests Heh, I have

Re: [android-developers] Re: Where the Database Exists?....

2009-12-01 Thread Moon Technolabs
Run your application then Windows Open Perspective DDMS Then follow sathya On Tue, Dec 1, 2009 at 12:57 PM, Sasikumar.S sasikumar.it1...@gmail.comwrote: Hi, I'm new to android. can u pls tell breifly. I can't understand where the db exists? On Tue, Dec 1, 2009 at 12:36 PM,

[android-developers] Re: Launch a directions on Google Maps Apps

2009-12-01 Thread Geoffrey Monté
It's Okay, it seem work ! I hope that with the future android version, this fix will be documented. On 29 nov, 02:43, Lance Nanek lna...@gmail.com wrote: There's a geo URI you can use with an ACTION_VIEW intent to show a location in the Google Maps

[android-developers] Re: toast

2009-12-01 Thread Guillaume Perrot
There are only two possible durations, the integer parameter refers to the possible constants which are LENGTH_LONG and LENGTH_SHORT. According to me, cancel() just cancels pending toasts in queue, this may not work on the current one. On 1 déc, 06:30, Suchand Ghosh chand4andr...@gmail.com wrote:

[android-developers] Re: toast

2009-12-01 Thread Guillaume Perrot
And you can try mToast.getView().setVisible(View.GONE) for the current one. On 1 déc, 06:30, Suchand Ghosh chand4andr...@gmail.com wrote: what code base you r using? there should be function to hide toast. Hide generally post a msg to mHandler to hide the Toast. On Tue, Dec 1, 2009 at 10:50

[android-developers] Re: scope of member variables in ViewGroup , AdapterView, AbsSpinner etc..

2009-12-01 Thread Taf
Just to clarify my position here, i don't think that private member vars in general should be available to any class, that's a bad idea, I was talking specifically about classes such as AdapterView (whose vars have a default scope) that extend ViewGroup and View, which we seem to be encouraged to

[android-developers] Re: Pick photo from Gallery

2009-12-01 Thread Tom
Nobody? Tom -- 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

Re: [android-developers] Overlays on Map

2009-12-01 Thread Peter Stevenson
Peter wrote: Do you populate each of the Overlays in the ArrayList? In order to add new OverlayItems to our ArrayList, we need a new public method. We'll handle this with the following method: public void addOverlay(OverlayItem overlay) { mOverlays.add(overlay); populate(); } Each

[android-developers] Two Japanese-related missing applications: kanji scanner, jiten

2009-12-01 Thread Nicolas Raoul
Hello all, I have also always been looking for a kanji (Japanese character) scanner for Android. Most cellphones can do this here, it is a feature users expect from their cellphones. And there are algorithms around, so it should not be impossible. Similarly, porting the open-source, open-data

[android-developers] Garbage collector is not recycling Activity

2009-12-01 Thread Jyothi Prasad
Hi, I have an activity in my app. When I clicked back key the activities onDestroy is getting called. But, When i run Memory analyser, The activity is lying with 4.5KB size. Why garbage collector is not cleaning this object? If I open, that activity for 10 times, 9 instances of 4.5KB and one

[android-developers] check applications update on the android market from an app

2009-12-01 Thread frederic glouzon
hello, I'm looking for a way to let the user of my application to check from a button in my application if there is a new update of the application on the android market. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Two Japanese-related missing applications: kanji scanner, jiten

2009-12-01 Thread Shawn Brown
Japanese offline dictionary http://code.google.com/p/aedict/ It uses Edict and rocks!!! OCR isn't available and the kanji recognition is a little weak but ... that's the state of Japanese support in open source. By the way, it's gpl, source is available and I think the creator will accept

Re: [android-developers] Regarding menu items in separate rows

2009-12-01 Thread sathya subbiah
Hi Raghu, It will be helpful if you could post what you are trying Also please find the below link for the menu item tutorial. It explains how to display menu item.. http://developerlife.com/tutorials/?p=304 Rgs, Sathya On Tue, Dec 1, 2009 at 3:00 AM, Raghu raghavendrars...@gmail.com

[android-developers] Iphone like tab view

2009-12-01 Thread Dilli
Hi all i want to develop application which UI should look like ( iphone view ) ie ( by clicking on tab item it's content (different views like list view, web view ,...) to be loaded ) currently i am using Tab view but i want my application view should be like iphone tab view suggest me how

[android-developers] How do I test the CDMA package/radio in the emulator

2009-12-01 Thread Bryan
Hi, My application makes use of cell tower info, specifically the CID for GSM. I'm able to test this on my G1, but I don't have access to a Droid phone to test the same functionality, baseStationId, for CDMA. How can I test this in the emulator so that I can support Droid phones? Thank you!

[android-developers] customize notification in status bar

2009-12-01 Thread Nemat
Hi friends I want to customize the notification being displayed on incoming sms.. Is it possible?What should I do? Thanks and Regards Nemat -- 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] Building cupcake for G1

2009-12-01 Thread Bytes
Hi, I've G1 dev phone. Earlier I upgraded it to 1.5 using HTC website. Now I want to customize (make some changes to ) source code and keep the changes running on G1 phone. I wanna go with cupcake release. Could any body please give me some pointers. If I download cupcake source code from

[android-developers] Re: KML and Google Map Application

2009-12-01 Thread furby
I know that if I send in other URI's from Google examples, it works like a charm... On Nov 30, 7:23 pm, jeffro j...@trackaroo.com wrote: Is that URI format supported?  This is what is listed in the developer guide: geo:latitude,longitude geo:latitude,longitude?z=zoom

[android-developers] How to set tooltip to a button

2009-12-01 Thread saikiran n
Hi, I want to set tool tip to a Button.. Is it possible in android if so please give me some sample code -- 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

[android-developers] Re: KML and Google Map Application

2009-12-01 Thread furby
I'm not sure I follow that... On Dec 1, 12:42 am, Chander Pechetty cspeche...@gmail.com wrote: 1. Check the KML namespace...http://www.opengis.net/kml/2.2; 2. Is your URL - urlencoded ?  You have to encode your url it has ?... On Nov 30, 11:43 pm, furby wookie...@gmail.com wrote: I have

[android-developers] Re: running sqlite3 commands from app?

2009-12-01 Thread dsukhram
Thanks for your reply. But I have looked at this class and I only see methods for creating,deleting or executing queries on a database. I don't see any methods for issuing a sqlite command. Maybe i'm blind but can you point out a method in this class that i would use? thanks On Nov 30, 4:04 pm,

[android-developers] Google checkout in Australia

2009-12-01 Thread Traksewt
Hi had submitted our app Tracklet to ADC2, and we planned on selling it. but Google checkout doesn't exist in Australia. I know there are many others around who also want this.Spending millions of $ on prizes for ADC2 is one way to promote developers to write apps but being able to sell your app

[android-developers] Is it possible to have virtual touch for a grid layout?

2009-12-01 Thread sweety fx
I have to have a grid layout as the top layout and bottom layout should be touch enabled. I should be able to access(highlight and click/touch) the grid icons using the touch in the bottom layout. Please let me know whether there is any possible ways for doing so. -- You received this

[android-developers] Re: Whenever i move out from an activity, which is in a task of singleTask, activtiy is being cleared up to root of the stack

2009-12-01 Thread Mark Wyszomierski
I'm seeing the same behavior. Going back to the home screen, then returning to the process clears everything back to the root. On Nov 16, 12:42 am, pink 444 pnk...@gmail.com wrote: Hi all,         I have a task,which is created when an activity with singleTask launch mode is activated.      

Re: [android-developers] Re: running sqlite3 commands from app?

2009-12-01 Thread sathya subbiah
Hi, Use execSQLhttp://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#execSQL%28java.lang.String%29provided by Android for executing SQL commands. On Tue, Dec 1, 2009 at 7:50 AM, dsukhram duanesukh...@gmail.com wrote: Thanks for your reply. But I have looked at

[android-developers] Re: KML and Google Map Application

2009-12-01 Thread furby
I think I have figured this out. There are a couple problems with KML files and Android's map application... But nothing really huge. 1. Trying to dynamically generate the KML file doesn't seem to work... However, if one generates the KML and writes it to a file, the URI method can be used to

Re: [android-developers] ADC2 rank

2009-12-01 Thread Georgios Galyfos
hi, yeah please if anyone can clarify this please do! I think they are ranked from first to last too.. Also, does anyone know how many apps have entered the adc 2 in total? (if you know for each category it would be perfect) cheers!! On Tue, Dec 1, 2009 at 2:22 AM, Sheado chad...@gmail.com

[android-developers] Checked List View am I missing something

2009-12-01 Thread Jose Gomez
Hello, I am fairly new to android and I am trying to do a simple and very common grocery list application where you type in an item and add it to a list then you can check that item off as you purchase it. I am using a ListView to do this but I can't seem to get it to show a checkbox instead of

[android-developers] Re: ADC2 Results?

2009-12-01 Thread Nicholas Albion
I would definitely focus on simplicity and polish if there's another ADC. Yes, so perhaps it should be renamed from a Challenge to a Gimmick Fest? -- 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: running sqlite3 commands from app?

2009-12-01 Thread dsukhram
I tried to run the .tables command using the following: SQLiteDatabase db = this.openOrCreateDatabase(DB_NAME, MODE_PRIVATE, null); db.execSQL(.tables); and I get the following error: ERROR/Database(13071): Failure 1 (near .: syntax error) on 0x1f3f60 when preparing '.tables'. On Dec 1, 8:14 

[android-developers] Re: Anyone get Camera#takePicture() to work on DROID?

2009-12-01 Thread Jarcikon
Mark, I noticed on the bug report you filed that it was stopPreview that was causing the problem. Apparently, this should not be called before takePicture or else it causes a problem. I was also having an issue on the Droid with taking a picture, and I was calling stopPreview before takePicture.

[android-developers] Re: running sqlite3 commands from app?

2009-12-01 Thread dsukhram
When I try to run the '.tables' command by doing the following: SQLiteDatabase db = this.openOrCreateDatabase(DB_NAME, MODE_PRIVATE, null); db.execSQL(.tables); I get this error: ERROR/Database(13071): Failure 1 (near .: syntax error) on 0x1f3f60 when preparing '.tables'. On Dec 1, 8:14 am,

[android-developers] Re: running sqlite3 commands from app?

2009-12-01 Thread dsukhram
sorry for the double post On Dec 1, 9:32 am, dsukhram duanesukh...@gmail.com wrote: When I try to run the '.tables' command by doing the following: SQLiteDatabase db = this.openOrCreateDatabase(DB_NAME, MODE_PRIVATE, null); db.execSQL(.tables); I get this error: ERROR/Database(13071):

[android-developers] Re: ADC2 Results?

2009-12-01 Thread kabir
congrats to all the winners! unfortunately my app, mobilematics (http://www.mobilematics.co.uk) did not make it. does anyone know - the order in which apps are listed on the category pages, is that ranked best first after the top 3? cheers On Dec 1, 2:29 pm, Nicholas Albion nalb...@gmail.com

[android-developers] Re: Garbage collector is not recycling Activity

2009-12-01 Thread Streets Of Boston
Could be anything... Do you hold any static references? If so, are these static references to your Activity(s) or to objects that may contain themselves references to your activity? On Dec 1, 5:32 am, Jyothi Prasad ajp...@gmail.com wrote: Hi, I have an activity in my app. When I clicked back

[android-developers] Re: Pick photo from Gallery

2009-12-01 Thread Streets Of Boston
Take a look the the Intent framework. Start an activity given an intent (PICK_IMAGE) and this should start any app that responds to it (Gallery or some other 3rd party program). For examples, just take a look at the Contacts application in Android's framework's source-code. On Dec 1, 4:28 am,

[android-developers] Re: ADC2 Results?

2009-12-01 Thread Devomat
I got no such email like this... my app was in the Top 20 in the ADC 2nd Round, but no 1st, 2nd, 3rd. Confusion. On 30 Nov., 22:28, Dan Sherman impact...@gmail.com wrote: Thank you for participating in the Android Developer Challenge 2. The results are in, and unfortunately, your application

[android-developers] Pickup a phone contact under the emulator

2009-12-01 Thread frantz lohier
Dear All, Quick question; - When running the 2.0 emulator, my application can’t pick-up a phonebook contact anymore: o (1) when invoking an ACTION_PICK intent and when the agenda is empty, I get a menu suggesting that when pressing the MENU key, I be able to select a account. No

[android-developers] Is Android backwards compatible?

2009-12-01 Thread bennyb
Is Android backwards compatible, in other words can an application developed in Android 1.6 run in Android 2.0? I just published a 2.0 application and discovered that I can't find it in the market using my G1 (Android 1.6) phone. But apparently others are downloading it. Should I downgrade the

[android-developers] Re: ADC2 Results?

2009-12-01 Thread Rmac
It's really frustrating to put hard work and devote your time on making a full fledged application only to realize that a much simpler  game with the same functionality and less features would beat you that easily. I learned the hard way not to put much thoughts on those contests Honestly,

Re: [android-developers] Re: Pick photo from Gallery

2009-12-01 Thread Carmen Delessio
Start the activity with startActivityForResult. Then handle the returned data in onActivityResult. The source below is how I do it. There should be enough here to get the photo data. Carmen -- Carmen http://www.twitter.com/CarmenDelessio http://www.talkingandroid.com

Re: [android-developers] Re: toast

2009-12-01 Thread Greg Donald
On Tue, Dec 1, 2009 at 2:50 AM, Guillaume Perrot guillaume.p...@gmail.com wrote: There are only two possible durations, the integer parameter refers to the possible constants which are LENGTH_LONG and LENGTH_SHORT. According to me, cancel() just cancels pending toasts in queue, this may not

[android-developers] Re: Multitouch support in Android 2.0

2009-12-01 Thread patrick
I did a little test on a Motorola Droid: I took the TouchPaint demo from the SDK and added some log in onTouchEvent() method. Theses logs returns event.getPointerCount() value. What i get is pretty weird: If a press with one fingern getPointerCount return mainly 1, but sometimes it reports 2! If

[android-developers] Re: Anyone get Camera#takePicture() to work on DROID?

2009-12-01 Thread blindfold
Good to hear of a race condition affecting the Droid's camera http://code.google.com/p/android/issues/detail?id=5090 even though in my code I do not call camera.stopPreview() before camera.takePicture (). It reminds of an old issue reported with the G1/ADP1 when calling camera.release() right

[android-developers] Re: Android in China - What is going on?

2009-12-01 Thread westmeadboy
For my app, I noticed China Unicom is number 10 in the list of carriers (based on analytics feedback) - i.e. quite a few of my users are on China Unicom. Do those devices (i.e. without sim card) have access to the Market app? On Dec 1, 3:14 am, Hong lordh...@gmail.com wrote: China Unicom uses

Re: [android-developers] Re: toast

2009-12-01 Thread Greg Donald
On Tue, Dec 1, 2009 at 2:51 AM, Guillaume Perrot guillaume.p...@gmail.com wrote: And you can try mToast.getView().setVisible(View.GONE) for the current one. Thanks, but I tried this and it doesn't seem to help. The messages still build up a queue. I need a way to manage the message queue

[android-developers] Only one instance of Activities - one instance of 'app'

2009-12-01 Thread Mark Wyszomierski
Hi, I'm trying to control my app such that there's only one instance of it on the system at any time. I know the definition of an application is flexible, but this is what I'm going for: -Main entry-point activity: launchMode=singleTask alwaysRetainTaskState=true -Other activities

Re: [android-developers] toast

2009-12-01 Thread Greg Donald
On Mon, Nov 30, 2009 at 11:30 PM, Suchand Ghosh chand4andr...@gmail.com wrote: what code base you r using? there should be function to hide toast. Hide generally post a msg to mHandler to hide the Toast. I'm still developing against 1.5. I guess hide() appears in 1.6 or 2.0 ? -- Greg Donald

[android-developers] Re: Density independence for GradientDrawable

2009-12-01 Thread mgpc
I think the problem is the opposite. I want the gradient to be scaled to the new density, and it's not happening. On Dec 1, 1:30 am, NoraBora noranb...@gmail.com wrote: change android:innerRadius to 150px. when you use dp, android will automatically resize from 160dpi to target dpi. On Nov

Re: [android-developers] Anyone using Greystripe for ads?

2009-12-01 Thread Greg Donald
On Mon, Nov 30, 2009 at 8:51 PM, Justin Giles jtgi...@gmail.com wrote: Just wondering if anyone is using Greystripe for ads.  Does anyone know when ads should start appearing once you publish your app?  I cannot get a response from Greystripe on this. Greystripe ads makes my app not want to

[android-developers] Re: Android 2.0 source group

2009-12-01 Thread Walles
This might be a bit crude, but what I usually do is this: 1. Search Google for: mediarecorder.java site:.kernel.org 2. Click on the first hit. 3. Find MediaRecorder.java on that page and click on the blob link next to it. 4. Click on HEAD. I've always found the source code I wanted this way.

[android-developers] Re: Multiple add-ons for multiple apps in one apk

2009-12-01 Thread Andrew Huff
Still trying to figure this out if it's possible so if anyone has any suggestions it'd be great. On Nov 28, 3:47 pm, Andrew Huff 702reco...@gmail.com wrote: Hopefully someone can shed some light on this for me as I'm really needing to figure this out. On Nov 27, 3:36 pm, Andrew Huff

[android-developers] discount air jordans 21 wholesaler (paypal accept)www.ebarbiz.comdiscount air jordans 23 wholesaler (paypal accept)www.ebarbiz.comdiscount air jordans Size 14 or 15 wholesaler (

2009-12-01 Thread jane
discount air jordans wholesaler (paypal accept)www.ebarbiz.com discount air jordans 1 wholesaler (paypal accept)www.ebarbiz.com discount air jordans 2 wholesaler (paypal accept).ebarbiz.com discount air jordans 3 wholesaler (paypal accept)www.ebarbiz.com discount air jordans 4 wholesaler

[android-developers] Re: Building cupcake for G1

2009-12-01 Thread Charlie Collins
http://source.android.com/documentation/building-for-dream On Dec 1, 7:36 am, Bytes toyvenu.t...@gmail.com wrote: Hi, I've G1 dev phone. Earlier I upgraded it to 1.5 using HTC website. Now I want to customize (make some changes to ) source code and keep the changes running on G1 phone.

[android-developers] Re: Shape with open border

2009-12-01 Thread Alexey Volovoy
Anybody figured this out yet ? I need same thing.. On Nov 16, 5:44 pm, Matthew Wardrop mister.ward...@gmail.com wrote: I too would like to know this. On Oct 23, 1:31 pm, junker37 junke...@gmail.com wrote: I am wondering how to do this as well.  Also, I can't seem to find where this is

[android-developers] Save variable and ArrayList of object

2009-12-01 Thread Charles
Hello, I created an application with loging and an arraylist to fill a ListView. If i am calling or i need to check my mail, sometimes i lost the context of my application (variables and the listview !) It is a little complex to save arraylist in SharedPreferences and i am not an expert in

[android-developers] Use WebView to evaluate a javascript string and return the value

2009-12-01 Thread bennyb
Given that scripting is not natively supported in Android and wrapping libraries like javax.script.ScriptEngine into your app will make it too large, is it possible to send a javascript string to an invisible WebView and have it evaluate the string and return you the results (another string)? I

[android-developers] Re: toast

2009-12-01 Thread Lance Nanek
Maybe you could just use a single Toast, but update the message with setText. A call to show each time would be needed as well to show it again if it has disappeared or to extend the time if it is still up and just getting its message changed. On Dec 1, 10:28 am, Greg Donald gdon...@gmail.com

[android-developers] Re: Pick photo from Gallery

2009-12-01 Thread Tom
Thanks for your answer both of you... I'm going to look at this now... Best regards Tom On 1 déc, 16:22, Carmen Delessio carmendeles...@gmail.com wrote: Start the activity with startActivityForResult.  Then handle the returned data in onActivityResult. The source below is how I do it.  There

[android-developers] Re: Pls help required ! : setPreviewCallBack - Bitmap

2009-12-01 Thread Jarcikon
Arnouf, I can't help you with that exact problem, but I have an app that does something very similar (What Color). If you look a little deeper into the decodeYUV function, you will see that it is returning ARGB values in an array. Therefore, you do not really need to convert the image to a

Re: [android-developers] Re: toast

2009-12-01 Thread Greg Donald
On Tue, Dec 1, 2009 at 10:25 AM, Lance Nanek lna...@gmail.com wrote: Maybe you could just use a single Toast, but update the message with setText. A call to show each time would be needed as well to show it again if it has disappeared or to extend the time if it is still up and just getting

[android-developers] Re: Pls help required ! : setPreviewCallBack - Bitmap

2009-12-01 Thread Jarcikon
Arnouf, After reading a little more, I realized what may be causing your original problem, if you still intend to do it that way. The setPreviewSize method does not seem to work, at least on the G1 and MyTouch3G. So in your decodeYUV function you are assuming the data returned will be 50*50

[android-developers] Re: Problems in putting android source in eclipse

2009-12-01 Thread alexis gupta
I was able to fix this. The problem is a wrong/corrupted .classpath file that is copied from eclipse as described in http://source.android.com/using-eclipse. Try getting another copy of the .classpath file from eclipse. --Alexis On Oct 21, 7:56 pm, n179911 n179...@gmail.com wrote: Hi, I

Re: [android-developers] Is Android backwards compatible?

2009-12-01 Thread TreKing
Yes it is. Did you set the minSDK parameter in the manifest to target 1.6? (SDK version code 4 I believe). - TreKing - Chicago transit tracking app for Android-powered devices

[android-developers] Re: Save variable and ArrayList of object

2009-12-01 Thread Wouter
I'm looking for the same, check my topic http://groups.google.com/group/android-developers/browse_thread/thread/930bdd672bf0ff8b/6c65bb164d3f36d3?hl=en#6c65bb164d3f36d3 Hope we can find what we are looking for On Dec 1, 5:22 pm, Charles canss...@gmail.com wrote: Hello, I created an

Re: [android-developers] How to get system preferences without having context

2009-12-01 Thread Dianne Hackborn
You are talking about working on the platform -- this should be over in android-porting. On Tue, Dec 1, 2009 at 8:21 AM, Mostafa Hajizadeh mostaf...@gmail.comwrote: Thanks for your advice, but let me explain my problem a bit further: We're localizing Android, and have added a calendar option

Re: [android-developers] Re: Multitouch support in Android 2.0

2009-12-01 Thread Dianne Hackborn
What are the coordinates you see? What event codes occur at this time? The Droid driver only reports a maximum of two points. Running Pointer Location on the Droid, I have only ever seen two points. On Tue, Dec 1, 2009 at 7:23 AM, patrick patrick.boul...@gmail.com wrote: I did a little test

Re: [android-developers] Re: Whenever i move out from an activity, which is in a task of singleTask, activtiy is being cleared up to root of the stack

2009-12-01 Thread Dianne Hackborn
Try looking at the event log to see if/why activities are being finished -- adb logcat -b events Try looking at the activity manager state to see what is going on with your activities -- adb shell dumpsys activity Oh and also -- first off don't use singleTask. Do you really know what it is

Re: [android-developers] Re: running sqlite3 commands from app?

2009-12-01 Thread Dianne Hackborn
You put -real- SQL in to those. .tables is a meta-command of sqlite3. Please, forget about the sqlite3 command, that is only for debugging from the command line. You can accomplish everything with the Java API. You probably want to get a sqlite3 manual to help you with the command syntax. On

Re: [android-developers] How to get the event when the user installing an application.

2009-12-01 Thread Dianne Hackborn
I am repeating myself here. There are broadcasts sent for this stuff -- look at Intent for them. You can receive them to find out when it happens. This does NOT mean you can prevent it from happening; in fact at that point the app is already installed. On Mon, Nov 30, 2009 at 10:50 PM, feng

[android-developers] Where to start for home screen replacement app?

2009-12-01 Thread pcm2a
Funny topic maybe, but I feel like I have a decent hold on app development, widget development, and even made a game. I'd like to tinker with creating a home screen replacement but havn't been able to dig up any examples or good places to start. Does anyone have any recommendations or links that

Re: [android-developers] Where to start for home screen replacement app?

2009-12-01 Thread Mark Murphy
Funny topic maybe, but I feel like I have a decent hold on app development, widget development, and even made a game. I'd like to tinker with creating a home screen replacement but havn't been able to dig up any examples or good places to start. Does anyone have any recommendations or

[android-developers] Re: Is Android backwards compatible?

2009-12-01 Thread pcm2a
Yes doesn't really cover all the situations. Google has attempted to make code you write for 1.5 (code level 3) or 1.6 (code level 4) forwards compatible with Android 2.0 (code level 5). This works mostly but you may have to make a few tweaks. In my case when they went from 1.6 they broke

[android-developers] Re: Where to start for home screen replacement app?

2009-12-01 Thread pcm2a
Well now i feel like a fool for missing that! It's there and it compiles (as a 1.5 project) and runs fine on my 2.0 droid. Obviously is a solid place to start. It's there in the 1.6 and 2.0 SDK as well but I haven't compared them for differences yet. Thanks! On Dec 1, 12:10 pm, Mark Murphy

[android-developers] Re: Multitouch support in Android 2.0

2009-12-01 Thread patrick
Coordinates for each pointer are OK: when I do a swipe with 2 fingers, it draws 2 paralleles line. But if I do a swipe too fast, it seems that pressure value goes wild! you said that Droid driver only reports 2 points, is it intentional or is it a bug/limitation that we have to deal with? Will it

[android-developers] Re: Is Android backwards compatible?

2009-12-01 Thread Andrex
I'd say if you want to support as many handsets as possible, take pcm2a's advice and target 1.5. However if you really need to take advantage of new resolutions or you're not worried about download totals I'd say target 1.6 and wait for the other devices to catch up. On Dec 1, 10:14 am, bennyb

Re: [android-developers] Re: Is Android backwards compatible?

2009-12-01 Thread Dianne Hackborn
On Tue, Dec 1, 2009 at 10:12 AM, pcm2a reeeye...@gmail.com wrote: Another fine example is with the higher screen resolutions. If you made the mistake of using of a font size of say 12pt in 1.5, thats going to look like crap on a Droid with a higher resolution. I had to change a lot of stuff

Re: [android-developers] Re: Is Android backwards compatible?

2009-12-01 Thread Dianne Hackborn
On Tue, Dec 1, 2009 at 10:39 AM, Andrex emailofand...@gmail.com wrote: I'd say if you want to support as many handsets as possible, take pcm2a's advice and target 1.5. However if you really need to take advantage of new resolutions or you're not worried about download totals I'd say target

Re: [android-developers] Re: Multitouch support in Android 2.0

2009-12-01 Thread Dianne Hackborn
Pressure is extremely nebulous on touch screens. Actually, they don't really detect it at all -- they detect size, and pressure is generally related to that. I don't know what you mean by going wild, though I will admit I have never looked at the pressure data specifically for the second finger.

[android-developers] Back-key notification with Soft keypad? (works in 1.5)

2009-12-01 Thread Mark Wyszomierski
Hi, I'm trying to listen for the back key when an EditText has focus on the IME soft keypad is displayed. In 1.5, I can add an OnKeyListener to my EditText, and it will get notified if the back key is pressed. No notifications get sent in 2.0. I also don't see any notifications coming through

Re: [android-developers] Re: Can anyone tell me ONE app that shows up in Android Market on HTC Tattoo

2009-12-01 Thread SoftwareForMe.com SoftwareForMe.com
@Nemat, Would you mind telling me if you can see PhoneMyPC in the Market on your Tattoo? @tomei, I too would like some of those services. I guess Google expects others to fill the void and build business around the services we all need. For example, online market listings: there are now many. I

[android-developers] Top of ImageSpan images getting cut off?

2009-12-01 Thread Eldad
I'm trying to use ImageSpan to add icons to a textview (small graphics, symbols like emoticons, not much taller than normal letters) and whenever I have icons on the top line of text they're getting chopped off at the top. Icons on other lines are fine. It's like the textview, when calculating

[android-developers] Re: Can anyone tell me ONE app that shows up in Android Market on HTC Tattoo

2009-12-01 Thread Chister Nordvik
If you have time, could you tell me the names of a few apps that show up on your Tattoo phone? Here is a few apps I can see on the Tattoo: FotMob, a must have app! Sportstap Livescores -Christer, FotMob developer -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Use WebView to evaluate a javascript string and return the value

2009-12-01 Thread Maps.Huge.Info (Maps API Guru)
I believe the browser is one of the largest components of Android, so launching a webview solely to evaluate a JavaScript string would be quite expensive. Perhaps you should translate the JavaScript into Java and be done with it. -John Coryat Radar Now! (#14 in News Weather) What Zip Code? --

[android-developers] cancel or refund

2009-12-01 Thread Andrei
what is the difference if somebody bought an app and i do cancel or refund? -- 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

[android-developers] SlidingDrawer Widget

2009-12-01 Thread Becca
Hi all, Has anyone used the sliding drawer widget? I'm trying to get the widget to slide out from top to bottom, but right now it only seems to support bottom to top or right to left. Any suggestions on how to get it to slide out from the top? Thanks in advance, Becca -- You received this

Re: [android-developers] SlidingDrawer Widget

2009-12-01 Thread Mark Murphy
Has anyone used the sliding drawer widget? I'm trying to get the widget to slide out from top to bottom, but right now it only seems to support bottom to top or right to left. Any suggestions on how to get it to slide out from the top? I do not believe it supports that direction. -- Mark

[android-developers] Re: adding voice search

2009-12-01 Thread schwiz
bump On Dec 1, 12:53 am, schwiz sch...@gmail.com wrote: I want to add a voice search button to one of my apps but I can't seem to find documentation on it anywhere.  Can someone give me an example or point me to one? Thanks! -- You received this message because you are subscribed to the

[android-developers] getting Contact data into the Emulator

2009-12-01 Thread Beth
Do you have steps for me to pull Contact data off a phone and put it into an emulator for test purposes? The device has either the 1.5 or 1.6 SDK. An alternative datasource would a Gmail file export. If I open the Contacts app and use the Accounts menu in a 2.0 emulator the acore process of

[android-developers] Repo Init for Eclair

2009-12-01 Thread Nick
Hi , I was just wondering if I want to sync to the latest Eclair repo which one of the following would be the correct command? mkdir mydroid cd mydroid repo init -u git://android.git.kernel.org/platform/manifest.git repo sync . build/envsetup.sh lunch generic-eng

Re: [android-developers] Re: ADC 2 and Android Market Place Application Error

2009-12-01 Thread James Yum
Hi, You don't have to refactor your Java code to a new namespace. Instead, you can try changing the package attribute within the manifest and make sure the classnames are fully qualified. Cheers, James On Thu, Nov 26, 2009 at 8:36 AM, croco zeug...@gmail.com wrote: I will wait the winners

[android-developers] GLSurfaceView and Key Presses

2009-12-01 Thread Jeremiah Sellars
Following the samples and examples, I've successfully been able to load a model on screen and rotate it with the DPAD keys and overriding the onKeyDown method of the GLSurfaceView. Trying to use a letter though, causes a small box to appear at the bottom accepting the text that is being typed.

[android-developers] Re: ADC2 Results?

2009-12-01 Thread Jurg
apart from all the above i also check the visits on the site (i wish google analytics was part of our app :P ) -- 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

[android-developers] Re: Extending contacts

2009-12-01 Thread pierrot9684
Hi, Could you explain in a whole example how to add a custom field to contacts? It would be nice. Thanks Pierre On 28 oct, 02:23, Jeff Sharkey jshar...@android.com wrote: If the VoIP app can complete calls to any normal phone number, it should have an intent-filter for normal tel: style

[android-developers] Getting an asset outside of main Activity

2009-12-01 Thread Jeremiah Sellars
(I did post this to the beginners group, but it's been several days without response. Let me know if a double post like this is frowned upon... It feels like a basic question, but anyway...) Hello everyone, From digging around a bit, getAssets() is an inherited method from ContextWrapper. It

[android-developers] Re: passing multi dimensional string array between two actvities.

2009-12-01 Thread I82Much
Are they always key, value pairs? If so you could just use two parallel string arrays: String[] keys = createKeys(); String[] values = createValues(); (keys.length == values.length) bundle.putExtra(keys, keys); bundle.putExtra(values, values); On Nov 30, 12:55 am, pavan

[android-developers] Re: ADC2 Results?

2009-12-01 Thread Kirrrilka
Congratulations!! The First winner here! On 1 дек, 01:07, Pieter pie...@gamesquare.nl wrote: Just got our result, we made it! Thanks for everyone who voted favorably for us! Congratulations! Your application, SpecTrek, was chosen by users and judges as the #2 winner in the

[android-developers] Re: ADC2 Results?

2009-12-01 Thread AndroidDev
+1 agreed on this Sketch Online beats What the Doodle hands down. On Nov 30, 6:43 pm, CraigsRace craig...@gmail.com wrote: +1 Sketch Online Vs What the Doodle, IMHO, Winner should have been Sketch Online. On Dec 1, 10:32 am, Maan Najjar maan.naj...@gmail.com wrote: What the doodle won

  1   2   3   >