[android-developers] Re: December 2011: Market downloads are dropping like crazy - why?

2011-12-08 Thread Terry
The number of downloads seems to be picking up again. At the same time, the Market team informs us that the install graphs displayed in the web view of Android Market were not accurately displaying the install activity data, and have removed them - for now. So, obbviously, SOMETHING has happened,

Re: [android-developers] Want to join this group

2011-12-08 Thread Christopher Van Kirk
Watch out for the trolls. They're savage. On 12/8/2011 2:09 PM, Mukesh Srivastav wrote: You are Welcome Mr.Rathore. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad On Thu, Dec 8, 2011 at 11:35 AM, Narendra Singh Rathore nsr.curi...@gmail.com

Re: [android-developers] Re: December 2011: Market downloads are dropping like crazy - why?

2011-12-08 Thread Nikolay Elenkov
On Thu, Dec 8, 2011 at 5:15 PM, Terry terb...@gmail.com wrote: The number of downloads seems to be picking up again. Same here. At the same time, the Market team informs us that the install graphs displayed in the web view of Android Market were not accurately displaying the install activity

[android-developers] Programmatically broadcast ACL_CONNECTED, need suggestions

2011-12-08 Thread Prash
Here is the scenario *Task* : I want to connect a bluetooth device having specific name in my application. *Current Status of my work:* My device is working as a client in Bluetooth communication. A. I have registered these broadcast receivers in my application. ACTION_FOUND,

Re: [android-developers] Re: Notification status bar custom layout, guide lines are wrong?!? (primary color)

2011-12-08 Thread Daniele Segato
On 12/06/2011 01:41 PM, kilaka wrote: Does NOT work for me as well. The text is white and looks bad on a bright background. I ended up using the guidelines for Android 2.3 and greater and set up my custom colors for Android 2.2 and lower.. This is not the first time I found the Android

Re: [android-developers] Re: Custom made Clikable buttons

2011-12-08 Thread Narendra Singh Rathore
I guess, even the image button works the same, doesn't 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] Re: Share Your Practical Experience to build Android Application with Pre-Populated Database

2011-12-08 Thread Doug
1. Create your database on your desktop or server. 2. Publish your database file at a downloadable URI (http/ftp/ whatever). 3. Have your app download the database to a suitable location. 4. Access your database from the app. Doug On Dec 6, 6:29 am, eSumit sumit1...@gmail.com wrote: Have you

[android-developers] Re: After updating sdk from r06 to r15

2011-12-08 Thread Doug
On Dec 5, 9:39 pm, Vivek Malavade vivek.malav...@gmail.com wrote: Its very urgent It is not very urgent. But you have waited a very long time between SDK updates and I would expect that very much has changed since r6. You might want to try reinstalling it fresh. You should also update your ADT

Re: [android-developers] Re: Custom made Clikable buttons

2011-12-08 Thread s.rawat
Thats correct.!! question is closed!contribute at your will!! Rgds, Saurabh ..pain is temporary.quitting lasts forever.. On Thu, Dec 8, 2011 at 2:36 PM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: I guess, even the image button works the same, doesn't it? -- You received

[android-developers] How to monitor screen touch event in service

2011-12-08 Thread Oli Wright
The first question you're likely to get from anyone is why. Smells of malice. -- 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] Contact shows as part of Groups Tab and not

2011-12-08 Thread Alok Kulkarni
I create a group programatically as private void createGroup() { ArrayListContentProviderOperation ops = new ArrayListContentProviderOperation(); ops.add(ContentProviderOperation .newInsert(ContactsContract.Groups.CONTENT_URI)

Re: [android-developers] duplicate and rename package

2011-12-08 Thread Daniele Segato
On 12/04/2011 05:43 AM, bob wrote: Let's say you have an Android game. You want to duplicate the project and change the package name to make a new game. Is there a simple 20- second way of doing this? I've tried many methods and somehow this always takes about half an hour of fiddling for

Re: [android-developers] How to monitor screen touch event in service

2011-12-08 Thread Yang Bo
Because that may be very useful,if you want implement a system wide gesture, or do something interesting accounting like how many times you hit the phone screen every day 在 2011-12-8 下午5:29,Oli Wright oli.wri...@gmail.com写道: The first question you're likely to get from anyone is why. Smells

Re: [android-developers] How to monitor screen touch event in service

2011-12-08 Thread Miguel Morales
Or steal any phone numbers I dial? On Thu, Dec 8, 2011 at 1:48 AM, Yang Bo yangbo@gmail.com wrote: Because that may be very useful,if you want implement a system wide gesture, or do something interesting accounting like how many times you hit the phone screen every day 在 2011-12-8

Re: [android-developers] duplicate and rename package

2011-12-08 Thread Mukesh Srivastav
Pretty simple, if you use Eclipse as Development Enviorment. You just have to select the project root in the Eclipse and Rename it,Eclipse will automatically update the reference of the package. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Thu, Dec 8, 2011

[android-developers] Re: problem parsing the package

2011-12-08 Thread rachana govilkar
hey thank you so much for help actually i changed my code.wrote a simple 1 n it is running. but i have not solved video select error just check this thread..i have mentioned it in previous posts. could u help me?? i wil put my code if you want. but do help me as soon as

Re: [android-developers] duplicate and rename package

2011-12-08 Thread Kostya Vasilyev
What is all this renaming nonsense? Real programmers just type their code in again, with the new package names, from memory, with their eyes closed! :) 08.12.2011 13:57, Mukesh Srivastav ?: Pretty simple, if you use Eclipse as Development Enviorment. You just have to select the project

Re: [android-developers] How to monitor screen touch event in service

2011-12-08 Thread Yang Bo
Ok,I know this may sound malicious,maybe Android never want developer to do this... 在 2011-12-8 下午5:52,Miguel Morales therevolti...@gmail.com写道: Or steal any phone numbers I dial? On Thu, Dec 8, 2011 at 1:48 AM, Yang Bo yangbo@gmail.com wrote: Because that may be very useful,if you want

Re: [android-developers] duplicate and rename package

2011-12-08 Thread Mukesh Srivastav
Stop being over smart Mr.kmansoft. It might happens due to many reason, not just renaming package, it could be a client requirement or it could be anything -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Thu, Dec 8, 2011 at 3:35 PM, Kostya Vasilyev

[android-developers] Loading contact photo

2011-12-08 Thread wyo
I tried to use the sample code of http://developer.android.com/ reference/android/provider/ContactsContract.Contacts.Photo.html to load the thumbnail-sized photo into a list but eclipse always complains a compilation error at line Cursor cursor = getContentResolver().query(photoUri,

[android-developers] Need Help-File Attachment

2011-12-08 Thread Kiran Kumar Kendole
Hey All , Can anybody please send me any references/tutorials , how to atttach a file and save on SD card. Here is my requriement .. I have a form in which have the following fields.. 1) Event 2) Description 3) Button to save a voice(audio) 4) Button to attach file/ image (It may be from SD

[android-developers] Re: Stateful SMS application

2011-12-08 Thread Ali Chousein
Hi: Gurus, Not sure if I'm in the group you directed your question at, but the functionality you plan to implement does not seem to be complex. I would suggest you the following: 1. Understand how SMS sending the receiving works in Android

[android-developers] Re: Force Close - Samsung Galaxy Ace

2011-12-08 Thread Ali Chousein
Contact the shop from where you bought the phone or Samsung customer support (you can say them Hi BTW). - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy Geo-Filtered Assistant

[android-developers] How to Remote wipe SD card

2011-12-08 Thread giles ian
Hi All, How to Remote wipe SD card -- 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

Re: [android-developers] How to Remote wipe SD card

2011-12-08 Thread Daniel Drozdzewski
On 8 December 2011 11:19, giles ian gilesian@gmail.com wrote: Hi All, How to Remote wipe SD card You cannot be serious... In case you are, here is the answer: With a soft antistatic cloth attached to a stick? -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Notification status bar custom layout, guide lines are wrong?!? (primary color)

2011-12-08 Thread Daniele Segato
On 12/08/2011 09:49 AM, Daniele Segato wrote: On 12/06/2011 01:41 PM, kilaka wrote: Does NOT work for me as well. The text is white and looks bad on a bright background. I ended up using the guidelines for Android 2.3 and greater and set up my custom colors for Android 2.2 and lower.. This

Re: [android-developers] Re: splash screen

2011-12-08 Thread John Goche
Hi Kristopher and Miguel, Thank you for your posts. I am not using OpenGL for this particular application. I am not sure what is taking long but I think it's some Config.ARGB bitmaps I am loading which are taking long, I can't see what else. So Kristopher you say start an activity that

Re: [android-developers] Re: sound effects for android game application

2011-12-08 Thread John Goche
Hi Tobiah, Sorry for the late reply, but I've checked csounds out and have tried a compiling a few samples. I'm not sure I can easily get it to do what I want, as I would like sounds like say paper being mashed up or someone burping or stuff like that, which is theoretically possible with csound,

Re: [android-developers] Problem booting android icecream sandwich on beagle board-xM

2011-12-08 Thread Vladimir Chtchetkine
Can you please start the emulator with -debug all -show-kernel options, and post the output here? On Tue, Dec 6, 2011 at 11:13 PM, Sandy sandeep.kanag...@gmail.com wrote: Hi, I'm not able to boot icecream sandwich (ICS) on beagleboard (prebuilt images) downloaded from the following site:

Re: [android-developers] Android emulator is crashing upon startup

2011-12-08 Thread Vladimir Chtchetkine
Can you please run the emulator with -debug all -show-kernel options, and post the output here? On Wed, Dec 7, 2011 at 7:53 AM, Nadav nadav...@gmail.com wrote: SDK source.properties: #Tue Nov 15 21:14:51 IST 2011.ApiLevel=14 I have a SmartCom usb WebCam, when it is plugged in the emulator

[android-developers] Re: Converting existing unix projects into Android?

2011-12-08 Thread Mark Winchester
We have existing Unix .C code that is pretty process intensive. The project builds into a .so that is used by other products. The idea was to build the .so and then write a graphical interface for Droid to drive it. We were hoping that this would be pretty straight forward, but it's looking like

[android-developers] Andrlid ListView focus mess up with two focusable items in each row

2011-12-08 Thread yanguoc...@gmail.com
In my application, I want to implement a ListView, of each itemview is a LinearLayout with two focusable buttons in it horziontally, and each row item data loads from server in page. But it seems that when adapter.notifyDataSetChanged is invoked, if the focus is on the right button of the

[android-developers] ScrollView can host only one direct child Error

2011-12-08 Thread Duygu Kahraman
One of my project I added a scrollview to a layout.And I added a button to other layout.When i click the button 1 button is added .But when i clikced one more time i am get java.lang.IllegalStateException: ScrollView can host only one direct child error.I googled but all people say that you

[android-developers] How to print HttpGet object in amulator?

2011-12-08 Thread venu gopal reddy
Hi friends, How to print HttpGet object in amulator? I mean to say how to print object information in emulator? Pls help me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] How to print HttpGet object in amulator?

2011-12-08 Thread Kristopher Micinski
You don't print in the emulator, you print it in the logger, Log.d(TAG,httpGetObject.toString())? kris P.s., i have no idea if toString is defined on that, but you get the idea. On Thu, Dec 8, 2011 at 10:02 AM, venu gopal reddy venu.andr...@gmail.com wrote: Hi friends, How to print HttpGet

Re: [android-developers] Re: splash screen

2011-12-08 Thread Kristopher Micinski
On Thu, Dec 8, 2011 at 9:30 AM, John Goche johngoch...@googlemail.com wrote: Hi Kristopher and Miguel, Thank you for your posts. I am not using OpenGL for this particular application. I am not sure what is taking long but I think it's some Config.ARGB bitmaps I am loading which are

Re: [android-developers] Re: Converting existing unix projects into Android?

2011-12-08 Thread Kristopher Micinski
On Thu, Dec 8, 2011 at 9:47 AM, Mark Winchester mwinches...@gmail.com wrote: We have existing Unix .C code that is pretty process intensive. The project builds into a .so that is used by other products. The idea was to build the .so and then write a graphical interface for Droid to drive it.

Re: [android-developers] Please identify witch layout is used in map

2011-12-08 Thread MANISH RAJ
Thanks for quick reply. Regards, manish Manish Kumar Computer Science and Engineering (2008-2012) Govt. Model Engineering College Cochin-21 +919287301035 manishrajja...@gmail.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: ScrollView can host only one direct child Error

2011-12-08 Thread rich friedel
You need to put a single child element such as a LinearLayout or RelativeLayout inside the ScrollView then put the buttons inside of that layout view. So it looks like... ScrollView +LinearLayout - One Child in the ScrollView ++Button ++Button -- You received this message because you are

Re: [android-developers] ScrollView can host only one direct child Error

2011-12-08 Thread TreKing
On Thu, Dec 8, 2011 at 8:56 AM, Duygu Kahraman duygu.kahram...@gmail.comwrote: I googled Bless you. but all people say that you can not add multible component to scrollview.But i am not added multible component. Uh ... did you look at the code you posted? Because that's *exactly* what

Re: [android-developers] Need Help-File Attachment

2011-12-08 Thread TreKing
On Thu, Dec 8, 2011 at 4:32 AM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote: Need some references /tutorials for file attachment.. KKK, did you try Google? - TreKing

Re: [android-developers] Need Help-File Attachment

2011-12-08 Thread Kiran Kumar Kendole
Hi , :) Tried. No luck. I see most of the links showing how to attach a file from SD card to email... etc.. But that is not what i am looking at. Thanks, KIRANKUMARKENDOLE On Thu, Dec 8, 2011 at 11:41 AM, TreKing treking...@gmail.com wrote: On Thu, Dec 8, 2011 at 4:32 AM, Kiran Kumar Kendole

Re: [android-developers] Need Help-File Attachment

2011-12-08 Thread TreKing
On Thu, Dec 8, 2011 at 10:44 AM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote: :) Tried. No luck. I see most of the links showing how to attach a file from SD card to email... etc.. But that is not what i am looking at. Yeah, attachment is a bad word. Google SQLite save image or

[android-developers] onlayout getting called twice . why ?

2011-12-08 Thread Dav
I was wondering why onlayout is getting called twice . I tried out putting a breakpoint in a tutorial code at http://blogs.sonyericsson.com/wp/2010/05/20/android-tutorial-making-your-own-3d-list-part-1/ , also tried out from

[android-developers] Android Widget with AlarmManager and Configuration

2011-12-08 Thread Bhavin
I want a widget that have a configuration activity, which asks some information to user. Once the information is provided by user I want my widget to be updated every 10 minutes. So I need an Alarm Manager. On every 10 minutes my widget fetches some data from my website and displays it on widget,

[android-developers] Re: Share Your Practical Experience to build Android Application with Pre-Populated Database

2011-12-08 Thread Emanuel Moecklin
Have you developed any android application which is using pre- populated database (say Size in between 1-5 MB , is size any issue?), If yes , May you please tell any trick which you used and work best for you ? Yes I did. 1-5 MB is no issue. Just don't try to copy the db to SDCard. If you do

[android-developers] Re: Openfeint gives weird error

2011-12-08 Thread Emanuel Moecklin
It's easy. On your OpenFeint Dashboard click Support, then Official OpenFeint Support Site, then Contact Developer Support and you're there ;-). I'm sure they intentionally hid it as good as possible; Cheers Emanue On Dec 7, 7:18 pm, Zsolt Vasvari zvasv...@gmail.com wrote: How did you find

Re: [android-developers] Re: What the frack is going on with Google Checkout and Market this time? Screwed up

2011-12-08 Thread Jim Graham
On Thu, Dec 08, 2011 at 01:05:21AM +0900, Nikolay Elenkov wrote: 2011/12/8 Kostya Vasilyev kmans...@gmail.com: Same here with in-app billing. I thought it was a deliberate sale of some sort. At least, that's what it looked like on the 'net version of the Market. But it doesn't matter,

[android-developers] Message Handler repeating messages

2011-12-08 Thread m4kz
Hi, I have a message handler that will stop or start location updates as follows: @Override public void handleMessage(Message msg) { case STOP_LOCATION_UPDATES: stopLocationUpdates(); case START_LOCATION_UPDATES:

Re: [android-developers] Please identify witch layout is used in map

2011-12-08 Thread MANISH RAJ
Hi TreKing, I don't know how to make transparent background of Esso Cheers layout. Please guide me to do this... Regards, manish Manish Kumar Computer Science and Engineering (2008-2012) Govt. Model Engineering College Cochin-21 +919287301035 manishrajja...@gmail.com -- You received

[android-developers] Message Handler repeating messages

2011-12-08 Thread m4kz
Hi, I have a message handler(see code bellow) that will stop or start location updates(it also manages messages for other things), and this handler is called each time i close or open a SlidingDrawer, the sliding drawer works ok and it sends only once each of the messages as corresponds. The

Re: [android-developers] Re: splash screen

2011-12-08 Thread John Goche
On Thu, Dec 8, 2011 at 4:28 PM, Kristopher Micinski krismicin...@gmail.comwrote: I think that's the standard enough way to do it.., so yes. How long? A few seconds? About 12 seconds the first time. Then when the application has already been in memory for some reason it takes less, perhaps

Re: [android-developers] Please identify witch layout is used in map

2011-12-08 Thread TreKing
On Thu, Dec 8, 2011 at 12:17 PM, MANISH RAJ manishrajja...@gmail.comwrote: I don't know how to make transparent background of Esso Cheers layout. Please guide me to do this... What have you tried?

Re: [android-developers] Re: splash screen

2011-12-08 Thread Raghav Sood
Another thing I am having trouble with though is that in my main activity I call: requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); but when the application loads I can see

[android-developers] Blue tooth headset connected or not android sdk 2.3.3

2011-12-08 Thread Amit Mangal
Hi Everybody, I am trying to know programmatically if blue tooth headset connected with my device or not ? is there any way to know this ? 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] Re: Reboot android phone programmatically

2011-12-08 Thread Ali Chousein
When you write your question word by word in Google (I think it would be OK to skip the Please help me if any one done this job. Thanks part) you get links like this: http://stackoverflow.com/questions/3352723/how-to-boot-android-phone-programmatically  or  

[android-developers] OpenFeint

2011-12-08 Thread bob
Has anyone tried using OpenFeint for their Android games? Any thoughts on this? -- 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

Re: [android-developers] Blue tooth headset connected or not android sdk 2.3.3

2011-12-08 Thread TreKing
On Thu, Dec 8, 2011 at 1:26 PM, Amit Mangal forum.amit.man...@gmail.comwrote: I am trying to know programmatically if blue tooth headset connected with my device or not ? is there any way to know this ? Have you looked for this or tried anything? I've never used bluetooth, but a two-second

Re: [android-developers] Message Handler repeating messages

2011-12-08 Thread TreKing
On Thu, Dec 8, 2011 at 12:27 PM, m4kz moraga@gmail.com wrote: The problem is that startLocationUpdates is always called inmediatly after stopLocationUpdates or at any time, but i am not triggering any message for that, it is just happening. Have you used the debugger to step through and

[android-developers] Re: DataBaseHelpers and multiple tables?

2011-12-08 Thread petter
No guidelines or code samples for using databases with multiple tables? -- 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] Re: Please help me out with problem of indefinite service

2011-12-08 Thread Soma
Hi, Please let me know.. how do we make the service still run even though the Activity that launched it is killed.. I tried STICK_SERVICE, but of no use.. I still find the service being killed... -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: Please help me out with problem of indefinite service

2011-12-08 Thread Mark Murphy
Services are not designed to live forever. Users detest developers who create such services, in cases where the *user* does not want the service to run forever. Users will attack you with task killers and the Force Stop option in Settings. And so on. If you believe that the user truly wants a

[android-developers] Re: Problems reading/writing to SQLite db on SD card.

2011-12-08 Thread MarkG123
Well I have read/write access to the DB, but it's still throwing exception trying to write metadata. The database is here is someone can take a quick look, this problem is driving me nuts... http://db.tt/dNgiPEmi -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] duplicate and rename package

2011-12-08 Thread Oli Wright
Sense of humour fail? -- 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

[android-developers] Re: Andrlid ListView focus mess up with two focusable items in each row

2011-12-08 Thread lbendlin
you will need to remember (per row) which item has focus, and when the list adapter reloads you will have to apply that knowledge and set requestFocus() to the appropriate item. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] VerifyException with Android library project

2011-12-08 Thread Bret Foreman
I have some Java code that I ported to Android. I created an Android project and imported the source files and also set the is library flag. Then, in the project that uses the new library, I added the appropriate imports, added the library project to the build path, and added the library to the

Re: [android-developers] VerifyException with Android library project

2011-12-08 Thread TreKing
On Thu, Dec 8, 2011 at 4:40 PM, Bret Foreman bret.fore...@gmail.com wrote: However, at runtime I'm getting a VerifyException for each of the three classes that I'm using in the new library. Does anyone have any ideas what I might be doing wrong? Are these classes system components (Activity,

[android-developers] Re: VerifyException with Android library project

2011-12-08 Thread Bret Foreman
Here's an example of what I see in the logcat: 12-08 11:04:01.119: W/dalvikvm(949): VFY: unable to find class referenced in signature (Lcom/pachube/jpachube/Feed;) 12-08 11:04:01.139: E/dalvikvm(949): Could not find class 'com.pachube.jpachube.Data', referenced from method

[android-developers] Re: VerifyException with Android library project

2011-12-08 Thread Bret Foreman
No, the classes are wrappers around a web service. Nothing to do with Android system components. On Dec 8, 2:48 pm, TreKing treking...@gmail.com wrote: On Thu, Dec 8, 2011 at 4:40 PM, Bret Foreman bret.fore...@gmail.com wrote: However, at runtime I'm getting a VerifyException for each of the

Re: [android-developers] Android market console limitation

2011-12-08 Thread TreKing
On Tue, Dec 6, 2011 at 2:40 PM, Fooshm foo...@gmail.com wrote: 1. Can I have multiple developers using the same account, however each one has a different apk under his/her responsibility ? Yes - just give each developer access to the one account and tell them which app they're responsible

Re: [android-developers] Re: VerifyException with Android library project

2011-12-08 Thread TreKing
On Thu, Dec 8, 2011 at 4:54 PM, Bret Foreman bret.fore...@gmail.com wrote: No, the classes are wrappers around a web service. Nothing to do with Android system components. Is there a need for a Library Project then? A standard Java jar should suffice if there's no Android-specific stuff in

[android-developers] Re: VerifyException with Android library project

2011-12-08 Thread Bret Foreman
Yeah, I used the jar version first but it's got some bugs. I got the sources from the developer and built the library so I could help him debug it for Android. There's some weirdness going on with HTTP redirects in his jar. The Java build path in the library looks correct - I see the src and gen

Re: [android-developers] Re: VerifyException with Android library project

2011-12-08 Thread Kostya Vasilyev
Do those classes in the library, by any chance, reference standard Java apis that don't exist in your runtime Android version? That would cause verification to fail for them, perhaps triggering further verification failures up to the activity? 09.12.2011 3:14 пользователь Bret Foreman

[android-developers] Re: VerifyException with Android library project

2011-12-08 Thread Bret Foreman
I guess I could just create a Java project rather than an Android project and then include the external jar in the Android project build. This might make debugging rather tricky, though. I'm not sure the debugger will know where to find the sources. -- You received this message because you are

[android-developers] Re: Android emulator is crashing upon startup

2011-12-08 Thread Bret Foreman
I've seen a problem similar to this after I updated my dev environment. I solved it by deleting and recreating the AVD, which is really a 30 second process. I'd start with that and see if it fixes your problem. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: VerifyException with Android library project

2011-12-08 Thread Bret Foreman
Kostya, That seems possible. The Java code was written without any idea that it would ever run on Android. But how would I tell from the logcat what standard Java API it might be using that is unsupported by Android? So far, I only see the VerifyException for the actual classes I'm trying to

Re: [android-developers] Re: VerifyException with Android library project

2011-12-08 Thread Kristopher Micinski
If the verifier says it can't find the definition of that class, then it literally can't find the definition of that class. So either your build environment is set up wrong, or a jar file has been built wrong. It's not that the verifier can't find a standard java class, it's one of yours

[android-developers] Re: VerifyException with Android library project

2011-12-08 Thread Bret Foreman
kris, Then we're back to the project/library setup. The project builds without errors or warnings, yet fails at runtime. But as far as I know, there are very few steps in setting up and using an Android project and I've gone through the ones described in my OP. I'm looking for ideas of what else

Re: [android-developers] Re: VerifyException with Android library project

2011-12-08 Thread TreKing
On Thu, Dec 8, 2011 at 6:05 PM, Bret Foreman bret.fore...@gmail.com wrote: I'm looking for ideas of what else I might try. Some stuff I'd try. 1 - Add a new class to the library and try to instantiate that, just to verify it also doesn't work. 2 - Start from scratch and do it over again, step

Re: [android-developers] Re: Problems reading/writing to SQLite db on SD card.

2011-12-08 Thread Nikolay Elenkov
On Fri, Dec 9, 2011 at 6:44 AM, MarkG123 mark.gilles...@gmail.com wrote: Well I have read/write access to the DB, but it's still throwing exception trying to write metadata. The database is here is someone can take a quick look, this problem is driving me nuts... http://db.tt/dNgiPEmi Try

[android-developers] Audio is not playing on my Google TV application

2011-12-08 Thread Gregory Moore
I am porting a game to be supported on Google TV, and everything is working except for the audio. I get some kind of default sound instead of the actual audio that should be played. I am using the SoundPool class to play .mp3 files. Any one dealt with this issue? Resolutions? Thanks, Greg

[android-developers] Re: OpenFeint

2011-12-08 Thread Gregory Moore
I have successfully integrated OpenFeint with my game Fruit Frenzy. There were some quirks and some work arounds I had to do because of some graphics issues, but it is working fine now. Although I will say that at times I get crash reports that are caused by OpenFeint but not that many. On Dec

[android-developers] Re: Audio is not playing on my Google TV application

2011-12-08 Thread Gregory Moore
This is working fine on the phone, so I am certain it has something to do with the Google TV platform. I am using the same basic code base on the phone, tablet and Google TV and Google TV is the only platform with this issue. On Dec 8, 9:21 pm, Gregory Moore gregoryamoore...@gmail.com wrote: I

[android-developers] Re: Problems reading/writing to SQLite db on SD card.

2011-12-08 Thread skink
MarkG123 wrote: Well I have read/write access to the DB, but it's still throwing exception trying to write metadata. The database is here is someone can take a quick look, this problem is driving me nuts... http://db.tt/dNgiPEmi i had the same problem some time ago, its strange but afair

Re: [android-developers] Android Widget with AlarmManager and Configuration

2011-12-08 Thread TreKing
On Thu, Dec 8, 2011 at 12:09 PM, Bhavin likebit@gmail.com wrote: But when I put all these in a single project I get lots of error. Why don't you explain what your lots of error are and maybe someone can help?

Re: [android-developers] Re: Using google map api key for production

2011-12-08 Thread TreKing
On Wed, Dec 7, 2011 at 4:05 AM, sandy sandhyasee...@gmail.com wrote: I want to know whether we need to pay for it?? http://code.google.com/android/maps-api-tos.pdf - TreKing

Re: [android-developers] Hi, Where can I get the SDK and API Documentation of google's voice recogition?

2011-12-08 Thread TreKing
On Wed, Dec 7, 2011 at 3:37 AM, BackToTheFuture 454260...@qq.com wrote: is there an url I can reach? Yes, the docs: http://developer.android.com/reference/packages.html If you were to peruse that, you would find packages clearly labeled as being for voice and speech recognition

[android-developers] Re: Audio is not playing on my Google TV application

2011-12-08 Thread Gregory Moore
I solved my own issue. While on the phones and tablets .mp3 files work, they do not for google tv. I converted all the audio files to ogg and everything works now. On Dec 8, 9:47 pm, Gregory Moore gregoryamoore...@gmail.com wrote: This is working fine on the phone, so I am certain it has

Re: [android-developers] Re: Problems reading/writing to SQLite db on SD card.

2011-12-08 Thread Nikolay Elenkov
On Fri, Dec 9, 2011 at 1:06 PM, skink psk...@gmail.com wrote: MarkG123 wrote: Well I have read/write access to the DB, but it's still throwing exception trying to write metadata. The database is here is someone can take a quick look, this problem is driving me nuts...

[android-developers] Re: Help needed with GPS/TTS app

2011-12-08 Thread gjs
Hi, You will probably want to use a Service ( with a PARTIAL WAKE LOCK ) rather than an Activity assuming you are not already. GPS will keep going ok, not sure about TTS in a Service. Regards On Dec 8, 8:41 am, gotok ken0g...@gmail.com wrote: First of all, I am very much a beginner working on

[android-developers] Remote wipe SD card Invocation Event

2011-12-08 Thread giles ian
Hi Everyone, I want to remote wipe data on sd card. I know the code of wiping the data on SD card. What I am struggling with is how to invoke this code remotely. Options that i have is *1. Broadcast receiver for SMS.* Shortcoming: SIM Card removed immediately. *3. **Broadcast receiver for

Re: [android-developers] How to Remote wipe SD card

2011-12-08 Thread giles ian
haha u are funny daniel, ok so, I want to remote wipe data on sd card. I know the code of wiping the data on SD card. What I am struggling with is how to invoke this code remotely. Options that i have is *1. Broadcast receiver for SMS.* Shortcoming: SIM Card removed immediately. *3.

[android-developers] About SIM card storage information

2011-12-08 Thread chenyu xu
I want to get the storage information about SIM card in Contacts app, For example, show a dialog indicate that how many contacts has been used and how many contacts does the SIM card can storage. I found that in framework, the function loadFromEF in IccProvider.java, can get the capacity of the