[android-developers] Why does gmail and market suddenly not connect.

2011-02-22 Thread Shawn Brown
Hi, Why does gmail and market suddenly not connect. Trying to sync my mail gives me. D/Gmail ( 390): Validating Notification: mapSize:0 tagLabel:null label getAttention:false W/InputManagerService( 85): Window already focused, ignoring focus gain of:

Re: [android-developers] Re: Google Map Error

2011-02-22 Thread Nesim TUNÇ
I tried changed to Google Inc.:Google APIs:7 as my target platform in default.properties file. Same error and plus layot files cannot show the graphical ui, Missing theme error appears On Mon, Feb 21, 2011 at 5:27 PM, Spiral123 cumis...@gmail.com wrote: are you using the standard libraries and

[android-developers] Ratingbar problem (Big Size and Wrong Star Count)

2011-02-22 Thread Nesim TUNÇ
Hello Everyone, A little while ago I used RatingBar component in my Android app. But even I use my custom style, still the stars are very very big and so much even I set ratenumber to 5 ... Is there anyone has run into such as issue? -- Nesim TUNÇ Senior Software Developer of Distributed

[android-developers] Re: Custom List layout with checkbox selection problem

2011-02-22 Thread cool.manish
I am also facing same issue. Let us say there are 15 items in the listview and at a time it is didplaying 5 item. Then if i select first titem and scroll i get to know that 6th and 11th items are also have check box as selected. Please help us to solve this issue. On Jan 29, 7:02 pm,

[android-developers] Why can't my app be searched in Android Market?

2011-02-22 Thread San Zhang
Hi all, My app can't be searched in English name recently. I have tried to search it by both app name and key words but no result. It had could be searched to get result in the same methods. What is wrong? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Using DISTCC to compile Native Libraries?

2011-02-22 Thread Lars Olsson
Hi, Have anyone tried (or even better succeed ), with distributed compiling of Android native libraries? Reading up on DISTCC I think this might be possible. However, since I currently have a limited knowledge of setting up crosscompiling env. , it would be good to know if someone have looked

[android-developers] Re: Honeycomb Preview SDK: HTTP Live Streaming support validation

2011-02-22 Thread Samuh
Many thanks for your help and the bug notifications...I was wondering from where you got the httplive info !! How could we guess ??? Some guy helped me with this info(see bug link). The documentation should be updated to reflect that. Are the encrypted streams you are testing public ? If so can

[android-developers] How to publish Motorolo Xoom Build to market

2011-02-22 Thread Varun Tewari
Hey Guys, We have some applications already in android market. We have managed to support *Motorola Xoom and Galaxy Tab2* for some of them. I was just wondering how i can publish my applciation as our existing application have 1.6 nd onwards support. So my application is already visible for XOOM

[android-developers] about drag and drop on Honeycomb

2011-02-22 Thread Zhihong GUO
Hi all, I am wondering if the drag and drop can only be available in a single activity, from one fragment to another, or it can be done between two activities. Does it support drag and drop between app widgets on home screen? Thanks a lot. -- You received this message because you are

[android-developers] Re: DevicePolicyManager - unlock method

2011-02-22 Thread Pent
It's just something we haven't had time to do.  A production quality implementation of this is quite a bit of effort, and there have been many other higher-priority things. Great, thanks. I thought it was going to be one of the things you just didn't think should be automatable (like GPS).

[android-developers] Detecting BACK button press on AlertDialog

2011-02-22 Thread dashman
I've an AlertDialog with no buttons - just a pick list. How can I detect if the user has pressed the BACK button (i.e. closed the dialog). -- 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] Is a manual update of Nexus S to 2.3.3 possible ?

2011-02-22 Thread jarkman
I have a Nexus S in the UK. I'd like to get 2.3.3 onto it to work with the new NFC APIs, but I have failed to find a firmware download for it. It sounds as though an OTA update has gone out in the US, but it hasn't happened here. Is there any manual update path ? Or any way to request the OTA

[android-developers] animate part of the app widget

2011-02-22 Thread Zhihong GUO
Hi all, is it possible to animate part of an app widget? for example, there is a text string, an image, and a number in my widget, I want to animate the number or image in the widget, which is only part of whole widget on the home screen. does it possible on Honeycomb? -- You received this

Re: [android-developers] Detecting BACK button press on AlertDialog

2011-02-22 Thread Miguel Morales
Set an ondimiss listener. On Tue, Feb 22, 2011 at 1:46 AM, dashman erjdri...@gmail.com wrote: I've an AlertDialog with no buttons - just a pick list. How can I detect if the user has pressed the BACK button (i.e. closed the dialog). -- You received this message because you are subscribed

[android-developers] AlertDialog

2011-02-22 Thread dashman
I use AlertDialog.Builder to build a dialog... but I need to override the onBackPressed() button. so does that mean that I cannot use the builder - would have to create a sub-class...etc. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Setting filter on List using Text Watcher

2011-02-22 Thread cool.manish
Hi All, I have a ListView, which is having data in the form of HashMapString, String. I am populating the list as SimpleAdapter adapter = new SimpleAdapter(ctx, myData, R.layout.my_layout, keys, ids)); listview.setAdapter(adapter); In my_layout.xml, I have set 2 TextViews(which will be the row

[android-developers] Re: indexOf(ENTER)

2011-02-22 Thread André
Thanks DanH, using '\n' instead of \n worked fine! Sorry Kostya, I wasn't clear enough. I meant, if I have a text in a textview that includes \n as a part of the visual text that the user can see and not as a newline marker. Then how do I look for the actual new line marker and not the \n that

[android-developers] SQLite db shared between activities

2011-02-22 Thread ydm
Hello! I'm curious why the SQLite db requires a Context object, and what I should do to share the same instance of a db object between many activities? Should I initialize it in the first activity and use it across the application, or may be any activity should reinitialize the db with itself as

[android-developers] Handling list item click events within the ListAdapter - good or bad practice?

2011-02-22 Thread Mark Carter
I have a ListView where I often swap in and out various adapters of various types. Some adapters display items of varying types. When onItemClick() is called, I check to see which adapter is being used and then direct flow control accordingly. Further querying/inspecton of the adapter is

Re: [android-developers] Handling list item click events within the ListAdapter - good or bad practice?

2011-02-22 Thread Kumar Bibek
Going by the adapter's responsibilities, the click events should not be handled in the adapter, unless, you have the item's childs clickable. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Feb 22, 2011 at 4:15 PM, Mark Carter mjc1...@googlemail.com wrote: I have a

Re: [android-developers] SQLite db shared between activities

2011-02-22 Thread Kostya Vasilyev
22.02.2011 13:32, ydm пишет: I'm curious why the SQLite db requires a Context object, The database class doesn't - SQLiteOpenHelper (subclass) does, to get the location of the database file. and what I should do to share the same instance of a db object between many activities? Should I

Re: [android-developers] Handling list item click events within the ListAdapter - good or bad practice?

2011-02-22 Thread Kostya Vasilyev
Why do you switch adapters? Do they represent entirely different data? -- Kostya 22.02.2011 13:45, Mark Carter пишет: I have a ListView where I often swap in and out various adapters of various types. Some adapters display items of varying types. When onItemClick() is called, I check to see

[android-developers] Adding custom fields to license check requests using LVL

2011-02-22 Thread rajorshi
I want to cache the server response but I do not want to use an obfuscated SharedPreference file to store license data because I have concerns about storing the key securely. I just want to be able to dump the encrypted response to a SharedPreference file so that nobody else can tamper with it. It

Re: [android-developers] Handling list item click events within the ListAdapter - good or bad practice?

2011-02-22 Thread Mark Carter
As a specific example, I have an adapter where the final item is More results Clicking on that will fetch more results... The underlying data knows whether there are more results and specifies the queries to get those results. It is also capable of running those queries (although maybe it

Re: [android-developers] Handling list item click events within the ListAdapter - good or bad practice?

2011-02-22 Thread Kostya Vasilyev
Then I think your adapter subclasses should continue to handle item clicks - they are just somewhat smarter than usual, and I don't see any harm in that. -- Kostya 22.02.2011 13:56, Mark Carter пишет: Yes, entirely different types of data. But really, the key question is more about varying

Re: [android-developers] How to change the Width and Height of the AVD

2011-02-22 Thread Sivaprakash
But after updating my AVD there is a pop-up coming The application Launcher (Process com.android.launcher) has stopped unexpectedly, Please try again. but after couple of pop-ups application is getting loaded. Any specific configuration has to be updated ? Thanks Siva 2011/2/22 Kostya Vasilyev

[android-developers] MapActivity ClassNotFound Error

2011-02-22 Thread Deepak Kumar
Hi All, I am using a class that extends MapActivity.I got following *NoClassDefFoundError *error. Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 4538): *java.lang.NoClassDefFoundError*: com.permeative.cityessentials.MapPrac

Re: [android-developers] Handling list item click events within the ListAdapter - good or bad practice?

2011-02-22 Thread Mark Carter
Yes, entirely different types of data. But really, the key question is more about varying types within an adapter, rather than the switching in/out of adapters. Sorry for the confusion. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] How to change the Width and Height of the AVD

2011-02-22 Thread Kostya Vasilyev
Not that I know of (it should only affect how the emulator renders the Android screen to the host system's screen). I used this with the Galaxy Tab add on, worked fine. Perhaps something else is causing the instability for you. -- Kostya 22.02.2011 14:16, Sivaprakash пишет: But after

Re: [android-developers] How to change the Width and Height of the AVD

2011-02-22 Thread Sivaprakash
Any idea how to trace it? 2011/2/22 Kostya Vasilyev kmans...@gmail.com Not that I know of (it should only affect how the emulator renders the Android screen to the host system's screen). I used this with the Galaxy Tab add on, worked fine. Perhaps something else is causing the instability

Re: [android-developers] Re: Problem with SpeechRecognizer called from Widget

2011-02-22 Thread biokys
Thanks for your reply. I tried this and still the same problem :-(. I am starting to be crazy of that. private PendingIntent startVoiceRecognitionActivity(Context context) { Intent activityIntent = new Intent(context, MainActivity.class); PendingIntent resultsPendingIntent =

[android-developers] Animation with only one view

2011-02-22 Thread Jeremy Cowgar
Hello,  I have a view that browses data with a large amount of numbers. When going to the previous or next record if you're not really paying attention it's possible to not detect that it actually moved because many times the numbers are very similar. I have added a page counter to the view

[android-developers] Disabling IME word prediction

2011-02-22 Thread LinusOnline
I'm looking for a way to disable word prediction from application code, but haven't had any luck so far. Found this thread on it: http://www.anddev.org/post94060.html Can anyone here shed any light on this issue? In particular, are IMEs required to adhere to the flags I give it via

Re: [android-developers] Animation with only one view

2011-02-22 Thread Kostya Vasilyev
22.02.2011 14:49, Jeremy Cowgar пишет: Can anyone point me in the right direction to make this type of animation work correctly? Any type of transition will require at least two views - one to hold the old value, one for the new one. With this in mind, use a ViewFlipper with two identical

Re: [android-developers] Re: How to delete...?

2011-02-22 Thread Abhilash baddam
myDB.execSQL(DELETE FROM favourites where month= ' +str+ ' ); the above statement is working fine but if the *str* contains apostrophe then i am getting exception near *'s. *Otherwise working only if the str contains apostrophe( ' ) then only i am getting problem..?How can i solve this issue...?

Re: [android-developers] Re: How to delete...?

2011-02-22 Thread Carlos Silva
On Tue, Feb 22, 2011 at 11:39, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: myDB.execSQL(DELETE FROM favourites where month= ' +str+ ' ); the above statement is working fine but if the *str* contains apostrophe then i am getting exception near *'s. *Otherwise working only if

Re: [android-developers] How to change the Width and Height of the AVD

2011-02-22 Thread Sivaprakash
But every time the emulator is taking more time to launch the application (at least 2 - 3 mns) any quick way? 2011/2/22 Sivaprakash sivaprakashshanmu...@gmail.com Yes, Logcat showed that some of the resource files were missing then I realized some of my commands might went wrong against the

Re: [android-developers] Re: How to delete...?

2011-02-22 Thread Abhilash baddam
Hi Carlos, Means where exactly i am doing mistake means while inserting values or deleting the values? On Tue, Feb 22, 2011 at 6:12 PM, Carlos Silva r3...@r3pek.org wrote: On Tue, Feb 22, 2011 at 11:39, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote:

Re: [android-developers] How to publish Motorolo Xoom Build to market

2011-02-22 Thread Mark Murphy
On Tue, Feb 22, 2011 at 4:30 AM, Varun Tewari varuntewari2...@gmail.com wrote: We have some applications already in android market. We have managed to support Motorola Xoom and Galaxy Tab2 for some of them. I was just wondering how i can publish my applciation as our existing application have

[android-developers] Backup and Restore service not working

2011-02-22 Thread Raj
Hi All, I am trying out the back up and restore service of Android Am able to successfully do back up of data and also restore when I uninstall and then install the application (using bmgr tool). But when I reflash and try restoring, I am getting error: Unable to restore package. I am using the

Re: [android-developers] AlertDialog

2011-02-22 Thread Mark Murphy
On Tue, Feb 22, 2011 at 4:57 AM, dashman erjdri...@gmail.com wrote: I use AlertDialog.Builder to build a dialog... but I need to override the onBackPressed() button. Why? so does that mean that I cannot use the builder - Correct. would have to create a sub-class...etc. Correct. Hence,

[android-developers] Portrait and Landscape layouts

2011-02-22 Thread André
I have a problem with the two layouts. When I rotate the phone from portrait to landscape (and vice versa) in my main activity the application closes without the force close message. If I start my app in either landscape or portrait the layouts work, but if I just switched from either orientation

Re: [android-developers] Portrait and Landscape layouts

2011-02-22 Thread Kostya Vasilyev
Something vital we're all missing is the logcat output from the crash :) It's also not necessary to have three versions of the same layout, just two is enough: -land -port, or default -land. -- Kostya 22.02.2011 16:26, André пишет: I have a problem with the two layouts. When I rotate the

Re: [android-developers] How to change the Width and Height of the AVD

2011-02-22 Thread Kostya Vasilyev
Don't know why it's taking longer, but: The ability to save / restore the emulator state to an image file, new with AVD 9.x, is insanely great, I highly recommend it: http://developer.android.com/sdk/eclipse-adt.html ( under General Notes ) And you're not relaunching the emulator for each

Re: [android-developers] AlertDialog

2011-02-22 Thread Kostya Vasilyev
22.02.2011 15:58, Mark Murphy пишет: so does that mean that I cannot use the builder - Correct. AlertDialog.Builder has had setOnKeyListener since API level 1:

[android-developers] Bluetooth file push folder

2011-02-22 Thread Simon Macneall
Hi, Our app needs to scan the bluetooth inbox/folder looking for a particular type of file. Is there a way to find the bluetooth folder location? On the Galaxy it's /mnt/sdcard/bluetooth, and on the Desire it seems to be /mnt/sdcard/downloads/bluetooth. Thanks Simon -- You received this

[android-developers] Re: Portrait and Landscape layouts

2011-02-22 Thread André
02-22 14:38:15.941: VERBOSE/upgrading(1430): onConfigurationChanged to call verify locale 02-22 14:38:15.951: INFO/upgrading(1430): verifyLocale status: 0 02-22 14:38:15.951: INFO/upgrading(1430): verifyLocale providerLocale: en_ES 02-22 14:38:15.951: INFO/UsageStats(1297): Unexpected resume of

[android-developers] Re: Portrait and Landscape layouts

2011-02-22 Thread André
02-22 14:38:15.941: VERBOSE/upgrading(1430): onConfigurationChanged to call verify locale 02-22 14:38:15.951: INFO/upgrading(1430): verifyLocale status: 0 02-22 14:38:15.951: INFO/upgrading(1430): verifyLocale providerLocale: en_ES 02-22 14:38:15.951: INFO/UsageStats(1297): Unexpected resume of

Re: [android-developers] AlertDialog

2011-02-22 Thread Mark Murphy
I had forgotten about that, sorry. However, have you tried that with BACK, particularly since 2.0? On Tue, Feb 22, 2011 at 8:32 AM, Kostya Vasilyev kmans...@gmail.com wrote: 22.02.2011 15:58, Mark Murphy пишет:  so does that mean that I cannot use the builder - Correct.

[android-developers] Re: Portrait and Landscape layouts

2011-02-22 Thread André
Or maybe it's this part. 02-22 14:39:49.921: VERBOSE/WindowManager(1297): Remove Window{479e6eb0 Starting com.testapp.views paused=false}: mSurface=Surface(name=Starting com.testapp.views, identity=8795) mExiting=false isAnimating=false app-animation=null inPendingTransaction=false

Re: [android-developers] Re: Portrait and Landscape layouts

2011-02-22 Thread Mark Murphy
None of those are errors. You will be looking for a Java stack trace. On Tue, Feb 22, 2011 at 9:03 AM, André pha...@hotmail.com wrote: 02-22 14:38:15.941: VERBOSE/upgrading(1430): onConfigurationChanged to call verify locale 02-22 14:38:15.951: INFO/upgrading(1430): verifyLocale status: 0

Re: [android-developers] AlertDialog

2011-02-22 Thread Jonas Petersson
2011-02-22 14:51, Mark Murphy skrev: I had forgotten about that, sorry. However, have you tried that with BACK, particularly since 2.0? Um, isn't onCancelListener() what you are after. Works fine for me.

Re: [android-developers] AlertDialog

2011-02-22 Thread Mark Murphy
On Tue, Feb 22, 2011 at 9:36 AM, Jonas Petersson jonas.peters...@xms.se wrote: 2011-02-22 14:51, Mark Murphy skrev: I had forgotten about that, sorry. However, have you tried that with BACK, particularly since 2.0? Um, isn't onCancelListener() what you are after. Works fine for me.

Re: [android-developers] Re: Portrait and Landscape layouts

2011-02-22 Thread Kostya Vasilyev
Ok, a few things: 22.02.2011 16:46, André пишет: 02-22 14:38:15.951: INFO/UsageStats(1297): Unexpected resume of com.testapp.views while already resumed in com.testapp.views 02-22 14:38:20.947: WARN/WindowManager(1297): App freeze timeout expired. 02-22 14:38:20.947:

[android-developers] Re: Portrait and Landscape layouts

2011-02-22 Thread André
This is the stack trace I get. Any Ideas? java.lang.RuntimeException: Unable to destroy activity {com.testapp.views/ com.testapp.views.MainActivity}: java.lang.NullPointerException at android.app.ActivityThread.performDestroyActivity(ActivityThread.java: 3948) at

Re: [android-developers] AlertDialog

2011-02-22 Thread Kostya Vasilyev
22.02.2011 17:38, Mark Murphy пишет: That was the point of my Why? question in my original reply. I don't know why the OP feels that he needs to override onBackPressed(). The cancel listener is called when the dialog has already been hidden. ...which might be too late if someone wanted to

Re: [android-developers] Re: Portrait and Landscape layouts

2011-02-22 Thread Kostya Vasilyev
22.02.2011 17:41, André пишет: at com.testapp.views.MainActivity.onDestroy(MainActivity.java:530) You have code that tries to access a null pointer, in MainActivity.java, line 530. -- Kostya Vasilyev -- http://kmansoft.wordpress.com -- You received this message because you are subscribed

Re: [android-developers] Re: Live Wallpaper canvas gradient banding

2011-02-22 Thread allandt bik-elliott (thefieldcomic.com)
the problem afaik is that the bitmap used in the canvas is argb_ which has quite a shallow pool of colours to choose from and to get a decent gradient you need argb_ or a decent amount of dithering - neither of which i'm achieving best a On 14 February 2011 23:13, Mark

[android-developers] Can we install?

2011-02-22 Thread Abhilash baddam
Hi, can we install Android market in Emulator? -- 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: Unique device id - which one to choose

2011-02-22 Thread Oceanblue
gcstang, I need to get the MAC address from the NDK layer, so I used the socket call: s = socket(AF_INET, SOCK_DGRAM, 0); I have a Motorola Driod, but hopefully in a few days, I'll be able to check this code on other phones too. On Feb 16, 10:56 am, gcstang gcst...@gmail.com wrote:

Re: [android-developers] pop on google map

2011-02-22 Thread TreKing
On Mon, Feb 21, 2011 at 11:37 PM, Narendra Bagade bagadenaren...@gmail.comwrote: I need help on google map.I want to show pop up message as soon as we clicked on any location. Search this group - this question comes up a lot.

Re: [android-developers] any idea to get control for setting the default launcher app through programming

2011-02-22 Thread TreKing
On Tue, Feb 22, 2011 at 12:59 AM, Dev Android devandroid1...@gmail.comwrote: Do you have any idea to get control for setting the default launcher app through programming? If you're trying to do what I think you're trying to do, you can't - fortunately.

Re: [android-developers] Re: How to delete...?

2011-02-22 Thread Justin Anderson
You will find the answer to your question if you do as Carlos suggested... Do a google search for SQL Injection Attack On Tue, Feb 22, 2011 at 5:47 AM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Hi Carlos, Means where exactly i am doing mistake means while

Re: [android-developers] Re: Custom List layout with checkbox selection problem

2011-02-22 Thread TreKing
On Tue, Feb 22, 2011 at 2:14 AM, cool.manish mannishga...@gmail.com wrote: I am also facing same issue. Let us say there are 15 items in the listview and at a time it is didplaying 5 item. Then if i select first titem and scroll i get to know that 6th and 11th items are also have check box as

Re: [android-developers] Why can't my app be searched in Android Market?

2011-02-22 Thread TreKing
On Tue, Feb 22, 2011 at 2:33 AM, San Zhang dahua007...@gmail.com wrote: What is wrong? In short, the Android Market. Somehow Google, king of search, has a near--useless, nonsensical search implementation for the Android Market. Go figure.

[android-developers] ActiveRecord schema for Android

2011-02-22 Thread lou
Hello! I have to develop an Android application that will have to synchronize on a regular basis on a distant database, and work offline most of the time. Consequently, I need to have the same SQLite database schema in the application as master database. The server is developped in Rails ( using

[android-developers] Trouble with bluetooth pairing my Samsung Galaxy Tablet with my PC

2011-02-22 Thread OldSkoolMark
I am attempting to pair my Galaxy Tab with my Toshiba win 7 x64 laptop. The pairing fails because the laptop needs a PIN. I never set a PIN, nor to my knowledge was I provided with one when I got the device from Verizon. Also, the dialog that appears doesn't provide any place to enter one.

Re: [android-developers] ActiveRecord schema for Android

2011-02-22 Thread Daniel Drozdzewski
On Tue, Feb 22, 2011 at 3:42 PM, lou louis.coq...@wopata.com wrote: Hello! I have to develop an Android application that will have to synchronize on a regular basis on a distant database, and work offline most of the time. Consequently, I need to have the same SQLite database schema in the

Re: [android-developers] any idea to get control for setting the default launcher app through programming

2011-02-22 Thread Dev Android
Yes, you're right.I also think so... but i have seen some apps over market which has replaced the native launcher at Google's N1. On Tue, Feb 22, 2011 at 9:00 PM, TreKing treking...@gmail.com wrote: On Tue, Feb 22, 2011 at 12:59 AM, Dev Android devandroid1...@gmail.comwrote: Do you have any

[android-developers] Re: Developing for tablets

2011-02-22 Thread Doug Gordon
Thanks for the helpful answer, Mark. This sounds like an excellent approach, as I'd definitely prefer having one app that runs on multiple devices (but backward compatibility to Android 2.x could be an issue). I'll wait for all the doc pages to be updated to read about this and figure it all out.

Re: [android-developers] Detecting BACK button press on AlertDialog

2011-02-22 Thread TreKing
On Tue, Feb 22, 2011 at 3:46 AM, dashman erjdri...@gmail.com wrote: How can I detect if the user has pressed the BACK button (i.e. closed the dialog). On Tue, Feb 22, 2011 at 4:07 AM, Miguel Morales therevolti...@gmail.com wrote: Set an ondimiss listener. You probably want a cancel

Re: [android-developers] any idea to get control for setting the default launcher app through programming

2011-02-22 Thread Justin Anderson
What do you mean by apps over market which has replaced the native launcher at Google's N1? On Tue, Feb 22, 2011 at 9:07 AM, Dev Android devandroid1...@gmail.comwrote: Yes, you're right.I also think so... but i have seen some apps over market which has replaced the native launcher at Google's

[android-developers] Re: MapActivity ClassNotFound Error

2011-02-22 Thread Bagatelle: David Lee Evans
Well, no much information to go on, but since you stated that this worked for you before, perhaps the problem that you are running into is that you forgot to set the uses-library tag in the Application Manifest file. Here is a link explaining maps

Re: [android-developers] Re: Developing for tablets

2011-02-22 Thread Mark Murphy
On Tue, Feb 22, 2011 at 11:10 AM, Doug Gordon gordo...@gmail.com wrote: I would also hope that you'll be updating some of your publications accordingly Yes, though the first HC updates will be for everything but fragments, as I don't know if the fragments backwards-compatibility library will be

Re: [android-developers] MapActivity ClassNotFound Error

2011-02-22 Thread TreKing
On Tue, Feb 22, 2011 at 5:22 AM, Deepak Kumar deepak.kumar...@gmail.comwrote: But when I have created different project where I am using these class MapPrac extends MapActivity then its working Fine.Can anyone tell me where actually the problem? Did you add it to your manifest?

[android-developers] Re: SQLite db shared between activities

2011-02-22 Thread ydm
Thank you, Kostya, but I'm not sure a singleton, which holds a reference to the first activity's context, wouldn't cause memory leaks. The best solution I found so far is to use the Application object as context for the database object. On Feb 22, 12:46 pm, Kostya Vasilyev kmans...@gmail.com

[android-developers] Re: android market 2.3.0

2011-02-22 Thread twkx
Hi all, The in-app billing sample app keep on saying The Market billing service is not available for me. I've checked the Android Market app version and it is 2.3.2, which is to 2.3.0 ! What could be wrong ? BTW, I'm located in France too. -- You received this message because you are

[android-developers] Re: Portrait and Landscape layouts

2011-02-22 Thread André
Stupid miss of me. I had put finish() inside ondestroy. Not a good combination. But the verify locale en_ES is weird. I do have Spanish phone but the locale is set on English. Maybe thats what HTC does on their localized phones? //André On Feb 22, 3:45 pm, Kostya Vasilyev kmans...@gmail.com

Re: [android-developers] MapActivity ClassNotFound Error

2011-02-22 Thread Deepak Kumar
Yeah, I have added it to manifest. On Tue, Feb 22, 2011 at 10:01 PM, TreKing treking...@gmail.com wrote: On Tue, Feb 22, 2011 at 5:22 AM, Deepak Kumar deepak.kumar...@gmail.comwrote: But when I have created different project where I am using these class MapPrac extends

Re: [android-developers] Re: Portrait and Landscape layouts

2011-02-22 Thread Kostya Vasilyev
22.02.2011 19:47, André пишет: Stupid miss of me. I had put finish() inside ondestroy. Not a good combination. Ah. Looks like that was screwing up the activity lifecycle particularly badly when it was being recreated. But the verify locale en_ES is weird. I do have Spanish phone but the

[android-developers] ADT lauout designer DD is a mega-disaster...

2011-02-22 Thread Marcin Orlowski
Hi, If anyone responsible for ADT is reading then please. please, please get rid of this damn DD and restore old, working, old-skool up/down buttons. The current implementation is so broken that makes the whole designer quite useless. It's sometimes impossible to rearange items, as ADT knows

Re: [android-developers] any idea to get control for setting the default launcher app through programming

2011-02-22 Thread Dev Android
Sorry Justin, I'm just explaining that lots of apps are available on android market for custom android launcher. On Tue, Feb 22, 2011 at 9:42 PM, Justin Anderson magouyaw...@gmail.comwrote: What do you mean by apps over market which has replaced the native launcher at Google's N1? On Tue,

Re: [android-developers] Re: SQLite db shared between activities

2011-02-22 Thread Kostya Vasilyev
22.02.2011 19:39, ydm пишет: Thank you, Kostya, but I'm not sure a singleton, which holds a reference to the first activity's context, wouldn't cause memory leaks. The best solution I found so far is to use the Application object as context for the database object. It definitely would - that's

[android-developers] Re: Honeycomb Preview SDK: HTTP Live Streaming support validation

2011-02-22 Thread Fox Mulder
Hi Samuh Just few words to say that the test in SDK 2.3.3 that reports this error complaining about bad sequence in playlist (audio may be OK, but no video is displayed) 02-22 17:50:09.676: ERROR/LiveSource(34): Cannot find sequence number 303 in new playlist 02-22 17:50:09.676:

Re: [android-developers] any idea to get control for setting the default launcher app through programming

2011-02-22 Thread Dev Android
thanks On Tue, Feb 22, 2011 at 9:41 PM, TreKing treking...@gmail.com wrote: On Tue, Feb 22, 2011 at 10:07 AM, Dev Android devandroid1...@gmail.comwrote: Yes, you're right.I also think so... but i have seen some apps over market which has replaced the native launcher at Google's N1.

Re: [android-developers] ADT lauout designer DD is a mega-disaster...

2011-02-22 Thread TreKing
On Tue, Feb 22, 2011 at 10:56 AM, Marcin Orlowski webnet.andr...@gmail.comwrote: If anyone responsible for ADT is reading then please. please, please get rid of this damn DD and restore old, working, old-skool up/down buttons. You can right-click an item in the Outline View and select Move Up

[android-developers] Where can I find information about sending/receiving MMS messages, and receiving MMS notifications?

2011-02-22 Thread E.
I'm trying to write an app that interfaces with a PC to allow sending and receiving MMS using the phone, but I'm having a hard time finding any documentation. I can query the content provider to see and delete existing messages. However, I am not sure how to send new messages, receiving

[android-developers] In-app billing and trial period

2011-02-22 Thread Kostya Vasilyev
I'm presently investigating the possibility of implementing limited / premium functionality within a single application with the new in-app billing. I'd like to provide a trial period for premium features, and that's where I'm having trouble understanding what my options are - since I don't

[android-developers] Re: MapActivity ClassNotFound Error

2011-02-22 Thread DanH
Were there any other earlier exceptions that cascaded into this one? Best guess is that MapPrac is found but is erroring out on loading, could be due to a mismatched reference to another class, could be due to an error in static init, could be several other problems. On Feb 22, 5:22 am, Deepak

Re: [android-developers] Re: MapActivity ClassNotFound Error

2011-02-22 Thread Deepak Kumar
Thanks, You are correct. On Tue, Feb 22, 2011 at 9:43 PM, Bagatelle: David Lee Evans dle.ev...@gmail.com wrote: Well, no much information to go on, but since you stated that this worked for you before, perhaps the problem that you are running into is that you forgot to set the uses-library

[android-developers] Handling orientation changes with an Alarm

2011-02-22 Thread DanielleM
Hello all: So, I'm trying to write my activities in such a way as to save their state if they ever get killed and restarted, and I've come across an interesting dilemma when working with the AlarmManager. So the way my alarm Activity works is: 1. Set time button: launches time picker dialog

[android-developers] Re: What name would get more attention

2011-02-22 Thread DanH
I guess it depends on the image you want: http://www.stomprocket.com/spacebike.html But naming a product is marketing voodoo anyway -- anyone's guess is as good or bad as the next guy's. Ask your friend what he would call it, then maybe look to sex that name up a bit -- eg, work in rocket or

Re: [android-developers] ADT lauout designer DD is a mega-disaster...

2011-02-22 Thread Marcin Orlowski
On 22 February 2011 18:09, TreKing treking...@gmail.com wrote: If anyone responsible for ADT is reading then please. please, please get rid of this damn DD and restore old, working, old-skool up/down buttons. You can right-click an item in the Outline View and select Move Up / Move Down from

[android-developers] Server extras in response to licensing check

2011-02-22 Thread rajorshi
The Android Publishing Guide has this to say about the response from the licensing server: For certain types of licensing responses, the licensing server appends extra settings to the responses, to help the application manage licensing effectively. The only settings the guide mentions are the

Re: [android-developers] Re: Live Wallpaper canvas gradient banding

2011-02-22 Thread Dianne Hackborn
The canvas drawing into the live wallpaper is not ; the default is 565, which yes will result in banding. You can change the desired format with the SurfaceHolder API. http://developer.android.com/reference/android/view/SurfaceHolder.html#setFormat(int)

Re: [android-developers] ADT lauout designer DD is a mega-disaster...

2011-02-22 Thread TreKing
On Tue, Feb 22, 2011 at 11:42 AM, Marcin Orlowski webnet.andr...@gmail.comwrote: Would be a solution. But I see nothing like Move Up/Down there? ADT Version: 9.0.0.v201101191456-93220 Hmmm, funny story. When to double check on my laptop and did not see the Move Up / Move down options and DD

[android-developers] Re: What name would get more attention

2011-02-22 Thread rajorshi
I am not very good at naming things, but, I would definitely suggest avoiding academic sounding names. Physics Bike certainly fits into that category. Space Bike seems nice. May be you could think of something which suggests action and adventure. ~rajorshi On Feb 22, 10:41 pm, DanH

[android-developers] Re: ADT lauout designer DD is a mega-disaster...

2011-02-22 Thread niko20
Yes the Designer took a big giant step backwards when I updated to the 9.0 tools. It frankly sucks now. I want up/down buttons and a normal property window. I don't want a crappy right click context menu. -nik On Feb 22, 12:04 pm, TreKing treking...@gmail.com wrote: On Tue, Feb 22, 2011 at

[android-developers] brannon

2011-02-22 Thread Brannon
how do i import the android platforms into ecclipse -- 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] Bluetooth device probe?

2011-02-22 Thread Roland Praehofer
This is, what I'm currently doing: socket = device.createRfcommSocketToServiceRecord(uuid); bool = socket.getRemoteDevice() .getBluetoothClass() .hasService(BluetoothClass.Service.NETWORKING); Don't have to call socket.connect() for this to work. Cheers,

  1   2   3   4   5   >