[android-developers] Re: how to use AsyncTask

2012-02-01 Thread madlymad
here is a good example of Asynctask usage! http://www.androidsnippets.com/grab-a-url-source-with-progressdialog-and-asynctask On Jan 31, 3:24 pm, aashutosh aashutosh.andr...@gmail.com wrote: Hello, How can i use Asynctask for the following code: public static String getXML()  {            

[android-developers] Re: nullpointer on getPreferenceManager() in sdk 13 and up

2012-02-01 Thread Dirk Vranckaert
Thank Mark, that did indeed help! On Jan 31, 3:37 pm, Mark Murphy mmur...@commonsware.com wrote: getPreferenceManager() looks like it will return null if you are using preference headers. My guess is that you are supposed to use the PreferenceManager from your PreferenceFragments. On Tue,

[android-developers] bulk install apps via android market

2012-02-01 Thread madlymad
Hi, I would like to create an application (for not rooted devices) that will make ti easy for the user to install a group of market applications in a single click (or as less clicks as possible) is that possible? The only way that I could think of is to create a list of the apps and clicking

[android-developers] WCF WebService and Android problem with Complex Types

2012-02-01 Thread chankly
Hi Guys !! First... sorry by my english, i am spanish... I have a android application which is connecting with a WCF Service .NET using KSOAP2. My client Android connect with the service OK. And my client can send a complex data type and receive this. The problem is in the server (Ok, i dont

[android-developers] Customize Android PreferenceFragementActivity not working

2012-02-01 Thread Dirk Vranckaert
Currently for my 2.x preference screens, in every PreferenceActivity I add the line `setContentView(R.layout.activity_preferences);` to have a custom layout in my activities. The activity_preferences.xml layout file looks like this: LinearLayout

[android-developers] What do these errors mean (using Eclipse)?

2012-02-01 Thread atcal
I'm trying to define my own View subclass. public class myView extends View { myView(Context context) { View(context); } } Eclipse flags the first line of my constructor with an error Implicit super conctructor View() is undefined. Must explicitly invoke another constructor and

Re: [android-developers] What do these errors mean (using Eclipse)?

2012-02-01 Thread sourabh sahu
I think you should write super(context) Sourabh On Wed, Feb 1, 2012 at 2:41 PM, atcal alan.williams...@ya.com wrote: I'm trying to define my own View subclass. public class myView extends View { myView(Context context) { View(context); } } Eclipse flags the first line of

[android-developers] running UI thread with AppWidgetProvider class

2012-02-01 Thread surabhi jain
hii I am creating a widget (AppWidget) on Home Screen of device. On widget I am showing image on run time. I want to run UI thread with widget without using activity class. Plz help me. Thanks to All -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Chat Application

2012-02-01 Thread Ganesh
Hello All, I am working on an application and wish to include chat option in it. My application contains a friend list. I wish to see who among my friends are online and chat with them. I want to create my own chat application and DON'T want to include any other pre-developed chat application

[android-developers] Re: Bluetooth Socket over a TCP-Socket

2012-02-01 Thread Daimoe
On Jan 30, 2:10 pm, Daimoe rudel.dimi...@googlemail.com wrote: Hi My task is do develop a Android app which is able to connect to a other device via Bluetooth and communicate with the TCP Socket there. At the other Device there are a Socket Server written in c# (TCP Socket). I can

[android-developers] overriding the default android menu

2012-02-01 Thread kampy
hi can we over ride the default android menu i.e., can we add our specific other items to the menu provided by them like adding posting the image to facebook after taking a picture using cam . -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Problem Creating new Contact with photo

2012-02-01 Thread Gorka
Hi, I am trying to create a new Contact with a photo, but my code doesn´t work properly. The thing is that the first time I execute the code the new contact doesn´t appear on the Contacts List, but the second time I execute it the contact appears twice and properly. I have tried the same code but

[android-developers] Setting not applying on TTS engine

2012-02-01 Thread Vivek Malavade
Hi, I have string, that length greater than 4000. And i change the setting tts engine as pitch value , speech rate. Whenever string length greater that 4000, tts engine starts and reading at its default setting(i mean pitch, speech rate values). If there is string which has length less than 4000,

[android-developers] Problems with the width of the bitmap. The width is limited by the height of the screen

2012-02-01 Thread saex
Hi I'm creating a bitmap wich i need to use as background of a 320 width screen. The problem is that the bitmap is not getting the width i want. It is getting two empty spaces on the left and on the right. It is because it is fitting the height of the screen, but i dont want that, i want to force

[android-developers] exit from application

2012-02-01 Thread Narendra Bagade
Hello all, How to exit from application. -- Regards, Narendra . -- 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] exit from application

2012-02-01 Thread unicus unicus
Narendra, please check my blog post. http://androidbasic-answer.blogspot.in/2012/02/how-to-exit-from-android-application.html -- *More info*, http://androidbasic-answer.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] bulk install apps via android market

2012-02-01 Thread Mark Murphy
On Wed, Feb 1, 2012 at 3:41 AM, madlymad mando7s...@gmail.com wrote: I would like to create an application (for not rooted devices) that will make ti easy for the user to install a group of market applications in a single click (or as less clicks as possible) is that possible? Not really.

Re: [android-developers] Re: how to use AsyncTask

2012-02-01 Thread Farhan Tariq
One consideration though, if i am not wrong, AsyncTasks need to be executed from the UIThread. Regarding your code, put the part in which the HTTP Request is sent and the response is got in line in the doInBackground method of the AsyncTask so that it runs on the background thread and does not

Re: [android-developers] Video paying problem

2012-02-01 Thread Farhan Tariq
Logcat error trace might get you some help :) On Wed, Feb 1, 2012 at 12:22 PM, ANKUR GOEL ankur1...@gmail.com wrote: Hi all , sometimes i am getting video cannot be played err (100 , 0) can some body tell the exact reason and the solution for this problem thanks -- You received this

[android-developers] Re: In-App Billing Tracking By Android Market

2012-02-01 Thread androidmediadeveloper
For the reinstall check, we've used a shared preference. If prefexists, dont check, if pref missing then check the market. Another kludge would be to use the sqlite db version Just my 2 cents On Feb 1, 2:03 am, Zsolt Vasvari zvasv...@gmail.com wrote: Which kind of defeats the purpose of

Re: [android-developers] still having problems with gridview and spacing.

2012-02-01 Thread Farhan Tariq
try adding 'padding' to grid cells 2012/1/31 John Davis davi...@gmail.com Hello I am still having a problem with gridview and spacing. Would love to talk to someone regarding the issue. I've considered chaning text orientation for column headings or using two line text. Here is more

[android-developers] Re: In-App Billing Tracking By Android Market

2012-02-01 Thread beachboy
When user logs into Android Market to see the list of apps installed, Will he see my Lite App is installed which was the original install or will he see that in addition to the Lite app that he has also purchased a license for advanced functions which is not the same as the Paid App. On Jan 31,

Re: [android-developers] hey all

2012-02-01 Thread Farhan Tariq
Between your phone and the phone whose location you want to track, how do you communicate? You could have that phone update his location (via a location service) to a web server, and you can pull that location every few seconds to show it on your phone On Tue, Jan 31, 2012 at 1:54 PM, Omollo

[android-developers] Uploading paid android app on Android market

2012-02-01 Thread gauri
Hello, I have finished with my game app for android. I want to upload it on Android market as paid app. I am having my android market account. When user installs my game, he must have to do registration for the app and for that serial number is must. Is there any way in android market for

[android-developers] Host USB/MTP Application

2012-02-01 Thread Baba Shanker
Is there any application available in Android Market that used USB/MTP Api's? Can any one give information that will be useful for me in making android MTP Application? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] shadow under tabs android

2012-02-01 Thread Farhan Tariq
Get each child of your tab widget, and see if there is anything you can do to remove it for(int i=0; itabWidget.getChildCount(); i++){ tabWidget.getChildAt(i).(ANYTHING YOU WANNA DO) } On Tue, Jan 31, 2012 at 11:08 AM, Ratheesh Valamchuzhy android...@gmail.com wrote:

Re: [android-developers] mini project

2012-02-01 Thread Farhan Tariq
youtube it for video guides On Mon, Jan 30, 2012 at 9:41 PM, Mark Murphy mmur...@commonsware.comwrote: On Mon, Jan 30, 2012 at 12:58 AM, dany varghese gagip...@gmail.com wrote: how we can create a new application in android? please suggest required softwares for this purpose?

Re: [android-developers] Re: ExpandableListView How to get bitmap of each item separately

2012-02-01 Thread TreKing
On Wed, Feb 1, 2012 at 1:19 AM, Mansoor musafir4frie...@gmail.com wrote: My group item layout/UI changes in expand and collapse state . How to get latest bitmap of corresponding group ? Your adapter for the ExpandableListView tells it what views to use. So tell it to use one view when

Re: [android-developers] Uploading paid android app on Android market

2012-02-01 Thread TreKing
On Wed, Feb 1, 2012 at 7:07 AM, gauri gauri.v...@gmail.com wrote: When user installs my game, he must have to do registration for the app and for that serial number is must. Um ... why? Do you not like to sell software? Is there any way in android market for sending/providing

Re: [android-developers] Re: In-App Billing Tracking By Android Market

2012-02-01 Thread Kostya Vasilyev
On 02/01/2012 05:02 PM, beachboy wrote: When user logs into Android Market to see the list of apps installed, Will he see my Lite App is installed which was the original install or Assuming you mean when he opens the Market app on the device - Yes. will he see that in addition to the Lite

Re: [android-developers] Uploading paid android app on Android market

2012-02-01 Thread Kostya Vasilyev
On 02/01/2012 05:40 PM, TreKing wrote: Google Checkout has an email address you can use that forwards to the user. No forwarding anymore - my order list has had direct user emails for a while now. This is a good thing, because the forwarding service used to to mess up international

Re: [android-developers] Uploading paid android app on Android market

2012-02-01 Thread TreKing
On Wed, Feb 1, 2012 at 7:54 AM, Kostya Vasilyev kmans...@gmail.com wrote: No forwarding anymore - my order list has had direct user emails for a while now. Oh, nice - haven't checked in a while. Dev console lets you filter ratings and comments now too. Good stuff.

[android-developers] Documentation for the Android/Google TV YouTube player parameters

2012-02-01 Thread Kevin Courtney
Hello, Can any of you guide me to some documentation for the Android/Google TV YouTube player parameters? I'm working in Java and bringing up the YouTube player on Android Devices including Google TV. Specifically I'm looking for playlist parameters but would welcome any type of documentation.

Re: [android-developers] Documentation for the Android/Google TV YouTube player parameters

2012-02-01 Thread Mark Murphy
On Wed, Feb 1, 2012 at 9:06 AM, Kevin Courtney kevinjcourt...@gmail.com wrote: Can any of you guide me to some documentation for the Android/Google TV YouTube player parameters? I doubt there is any official documentation. Bear in mind that the YouTube player is a proprietary application, not

Re: [android-developers] bulk install apps via android market

2012-02-01 Thread TreKing
On Wed, Feb 1, 2012 at 6:44 AM, Mark Murphy mmur...@commonsware.com wrote: but still that is not so convenient, so I am looking if there is a way to check all wanted apps and then enqueue them in order to download one after the other (user accepting terms may also exist if you cannot

[android-developers] Re: Resume activity while download

2012-02-01 Thread Ed Harned
This open source project supports a general purpose multi-threading service: http://coopsoft.com/ar/AndroidArticle.html Ed On Jan 31, 10:21 am, TreKing treking...@gmail.com wrote: On Tue, Jan 31, 2012 at 9:10 AM, ColletJb collet...@gmail.com wrote: How could I handle the progress updates with

Re: [android-developers] alarm vs. service

2012-02-01 Thread TreKing
On Wed, Feb 1, 2012 at 1:38 AM, Anuj Goyal anuj.go...@gmail.com wrote: I have yet to see a webpage that nicely details the performance implications of using an Alarm vs. a Service. These are two mutually exclusive APIs that are frequently, but not necessarily, used in conjunction. Alarm =

[android-developers] AdapterView and Selector functionality

2012-02-01 Thread Dave
How do I get the Selector highlighting functionality in an AdapterView? I cannot do: android:listSelector=@drawable/myadapterview_background like in a gridview, because android:listSelector is not there. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] bulk install apps via android market

2012-02-01 Thread Mark Murphy
On Wed, Feb 1, 2012 at 9:18 AM, TreKing treking...@gmail.com wrote: On Wed, Feb 1, 2012 at 6:44 AM, Mark Murphy mmur...@commonsware.com wrote: but still that is not so convenient, so I am looking if there is a way to check all wanted apps and then enqueue them in order to download one

Re: [android-developers] What do these errors mean (using Eclipse)?

2012-02-01 Thread Ted Scott
On 2/1/2012 4:11 AM, atcal wrote: I'm trying to define my own View subclass. public class myView extends View { myView(Context context) { View(context); } } Eclipse flags the first line of my constructor with an error Implicit super conctructor View() is undefined. Must

[android-developers] Use javascript to get web view selection.

2012-02-01 Thread tatebn
I need to run some javascript in an android web view. I understand this works fine by loading a javascript: url. It seems that when I do that though the selected text in the web view is cleared. The javascript I'm running gets the range of the selected text, so I need it to remain selected. I

Re: [android-developers] Re: Poll: how many of you use a backend service or roll your own

2012-02-01 Thread Todd Grigsby
just to throw in my 2 cents: DynamoDB is not restful. it's RPC. On Jan 29, 2012 9:25 PM, Kristopher Micinski krismicin...@gmail.com wrote: On Sun, Jan 29, 2012 at 10:45 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Jan 30, 2012 at 11:46 AM, Kristopher Micinski

Re: [android-developers] overriding the default android menu

2012-02-01 Thread TreKing
On Wed, Feb 1, 2012 at 4:55 AM, kampy narasimha1...@gmail.com wrote: can we over ride the default android menu No. i.e., can we add our specific other items to the menu provided by them No. -

[android-developers] Re: What do these errors mean (using Eclipse)?

2012-02-01 Thread atcal
On Feb 1, 4:25 pm, Ted Scott t...@hootinholler.com wrote: On 2/1/2012 4:11 AM, atcal wrote: I'm trying to define my own View subclass. public class myView extends View {      myView(Context context) {          View(context);      } } Eclipse flags the first line of my

Re: [android-developers] Chat Application

2012-02-01 Thread TreKing
On Wed, Feb 1, 2012 at 4:08 AM, Ganesh ganesh.som...@gmail.com wrote: can anyone please provide me with some guidance www.google.com + make android chat app - TreKing

Re: [android-developers] running UI thread with AppWidgetProvider class

2012-02-01 Thread TreKing
On Wed, Feb 1, 2012 at 4:08 AM, surabhi jain surabhi17.j...@gmail.comwrote: I want to run UI thread with widget without using activity class. OK. And ... ? http://www.catb.org/~esr/faqs/smart-questions.html Plz help me. Plz spell please correctly.

[android-developers] Re: Documentation for the Android/Google TV YouTube player parameters

2012-02-01 Thread Kevin Courtney
Hi Mark, Thanks for the quick reply although that doesn't sound very encouraging :-( I've posted the same question to the YouTube grouphoping that someone out there might have some clues for me. Kevin On Feb 1, 6:15 am, Mark Murphy mmur...@commonsware.com wrote: On Wed, Feb 1, 2012 at

[android-developers] sqlite databases and non-rooted phones

2012-02-01 Thread John Davis
Hello I am writing an application which uses a sqlite database. Previously I was using a rooted phone to debug/develop this app. My app does not have any special permissions, sdcard, etc. One thing I was doing when using a rooted phone was debugging the database queries via adb shell. I would

[android-developers] XmlPullParserException in eclipse with ColorStateList xml

2012-02-01 Thread ericharlow
I am posting this to determine if this is a bug I should file or my own operator error. Any input would be appreciated. I was attempting to use a theme to change the background of all buttons in my application. Instead of using a

Re: [android-developers] Re: Poll: how many of you use a backend service or roll your own

2012-02-01 Thread Kristopher Micinski
On Wed, Feb 1, 2012 at 10:47 AM, Todd Grigsby tgrigsby...@gmail.com wrote: just to throw in my 2 cents: DynamoDB is not restful.  it's RPC. Yup! But you can think of RPC and rest doing something similarly semantically. This isn't to say they're in any way technologically similar, there are

Re: [android-developers] sqlite databases and non-rooted phones

2012-02-01 Thread Kostya Vasilyev
On 02/01/2012 08:36 PM, John Davis wrote: Any suggestions on how to work on the database on a non-rooted phone? I would prefer to use the database on the phone rather than on a pc. You can add code in the app to copy the database from the app's storage directory in internal memory to the

Re: [android-developers] sqlite databases and non-rooted phones

2012-02-01 Thread John Davis
Hello Kostya Vasiyev, Many thanks. I see what you mean. I could add an import/export command to the app. And in the final release, simply remove the import/export capability. John On Wed, Feb 1, 2012 at 11:43 AM, Kostya Vasilyev kmans...@gmail.com wrote: On 02/01/2012 08:36 PM, John Davis

[android-developers] Re: Need architecture guidance in reference to a social app

2012-02-01 Thread leftcont...@gmail.com
Thank you both for the clarification and that read on sms is interesting . On Feb 1, 12:07 am, Kristopher Micinski krismicin...@gmail.com wrote: Question: How do i handle the exchange between the two devices. Am i going to need a server to accomplish this? The basic answer is: yes.  You

Re: [android-developers] sqlite databases and non-rooted phones

2012-02-01 Thread Mark Murphy
2012/2/1 John Davis davi...@gmail.com: Many thanks.  I see what you mean.  I could add an import/export command to the app.  And in the final release, simply remove the import/export capability. Or, name it backup/restore and leave it in as a feature. -- Mark Murphy (a Commons Guy)

Re: [android-developers] login problem

2012-02-01 Thread Narendra Singh Rathore
On Sun, Jan 29, 2012 at 3:25 AM, arun kumar arun.kata...@gmail.com wrote: Hi in the first activity am givning the uname and pass values in the intent...and get that data in the second activity String login = getIntent().getStringExtra( Username); and this data login value i have to

[android-developers] Re: AccessibilityEvent in monkey

2012-02-01 Thread avi
I would really appreciate it if someone could help me with the below problem On Jan 27, 10:01 am, avi avinanku...@gmail.com wrote: All, I am trying to develop an UI based automation system and I was exploring AccessibilityEvent option in Monkey. Following are the steps that I did (i)

Re: [android-developers] Re: What do these errors mean (using Eclipse)?

2012-02-01 Thread Ted Scott
On 2/1/2012 11:01 AM, atcal wrote: On Feb 1, 4:25 pm, Ted Scottt...@hootinholler.com wrote: On 2/1/2012 4:11 AM, atcal wrote: I'm trying to define my own View subclass. public class myView extends View { myView(Context context) { View(context); } } Eclipse flags the

[android-developers] SyncManager without ContentProvider?

2012-02-01 Thread OldSkoolMark
I am looking at design alternatives for an app that needs to persist data locally to a sqlite DB, and synchronize its contents with a server in the cloud. I have the pdf, and have watched the excellent presentation from IO 2010. All of the recommended patterns use ContentProviders. The only client

Re: [android-developers] Re: NFC Secure Element

2012-02-01 Thread malls
I don't see any interface of passing the keys to open secure element in the android code. I am not sure how many people claims that you need google Keys to open SecureElement. May be I am missing something. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Questions about VpnService

2012-02-01 Thread mellery451
On Dec 20 2011, 1:13 pm, Lysandus imbroke...@gmail.com wrote: I have a couple questions aboutVpnService. Is theVpnServiceadded in 4.0 only for creating a vpn connection for your app, or does it make the vpn for all traffic on the device?  If it's all device traffic does that mean your app

[android-developers] Multiple APKs installed to the same location

2012-02-01 Thread BT
Can I create multiple .apk's that install ADDITIVELY to the same /data/ apps/MyApp location? In my particular case I have add-on modules that are built as C++ NDK share objects: Feature1.so, Feature2.so, Feature3.so, etc. I don't know what these will be ahead of time and the user must be able

[android-developers] Re: Multiple APKs installed to the same location

2012-02-01 Thread John Coryat
Different APK's will have different package names and be installed in different directories, so in short, the answer is no. -John Coryat -- 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] onResume start a duplicated activity

2012-02-01 Thread leslie.karpati
Hi! I'am writing an online radio streamer application. It's working very well (activity-bind service-notificiation bar, ...etc), but sometimes when I go back to the UI (ex.: click to the application icon from the menu, when the service and the activity are already running - onResume) it's start

[android-developers] Re: Adding custom enum states to an ImageButton

2012-02-01 Thread Nick
Bump On Jan 20, 1:40 pm, Nick nick.vers...@gmail.com wrote: I have searched around and I found good examples on adding custom boolean states to a drawable but I am having issues adding a state that is a list of enums.  I am sure most of my problems lie within the onCreateDrawableState call so

Re: [android-developers] onResume start a duplicated activity

2012-02-01 Thread Kostya Vasilyev
Is the app originally launched from Eclipse? If so, beware that Eclipse uses a different intent than would normally be used by the Launcher(s), so you may get duplicates like this. To get a good test, either don't launch from Eclipse, or first press Back to close the initial activity, start

[android-developers] Re: Multiple APKs installed to the same location

2012-02-01 Thread BT
Thanks, John. That's unfortunate. How about downloading FeatureX.so to the Downloads directory, calling dlopen(featurex.so), then calling the additional library functions? Thx, BT -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] partition UI

2012-02-01 Thread awtDroid
Does anyone know a way to partition the screen so that a given area (fragment?) of the screen is developed in a separate APK? In other words, can you have multiple APKs driving different parts of the same screen at the same time? -- You received this message because you are subscribed to the

[android-developers] Android Design - List action button

2012-02-01 Thread Peter Sinnott
Currently I am using long clicks and an alert dialog to allow users to select actions that can be performed on an item in a list view. I would like to replace this with an action button as this seems to be suggested practice going forward. Does the sdk provide a drawable for this type of button?

[android-developers] Re: Multiple APKs installed to the same location

2012-02-01 Thread John Coryat
You're pretty much stuck sending a complete APK and dealing with additional features using switches inside the app itself. There may be other ways to handle this but I am unaware of them. -John Coryat -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] partition UI

2012-02-01 Thread TreKing
On Wed, Feb 1, 2012 at 5:20 PM, awtDroid andyturne...@gmail.com wrote: can you have multiple APKs driving different parts of the same screen at the same time? No. - TreKing

Re: [android-developers] partition UI

2012-02-01 Thread Kristopher Micinski
Doing this probably means that your app is designed incorrectly, and should be only one apk. kris On Wed, Feb 1, 2012 at 6:20 PM, awtDroid andyturne...@gmail.com wrote: Does anyone know a way to partition the screen so that a given area (fragment?) of the screen is developed in a separate APK?

Re: [android-developers] partition UI

2012-02-01 Thread Mark Murphy
On Wed, Feb 1, 2012 at 6:20 PM, awtDroid andyturne...@gmail.com wrote: Does anyone know a way to partition the screen so that a given area (fragment?) of the screen is developed in a separate APK?  In other words, can you have multiple APKs driving different parts of the same screen at the

Re: [android-developers] Re: Multiple APKs installed to the same location

2012-02-01 Thread Mark Murphy
On Wed, Feb 1, 2012 at 6:16 PM, BT bunglestwan...@gmail.com wrote: How about downloading FeatureX.so to the Downloads directory, calling dlopen(featurex.so), then calling the additional library functions? That would be a question for the android-ndk Google Group. AFAIK, though, this is not

[android-developers] Re: partition UI

2012-02-01 Thread awtDroid
This is a large OEM app running on a custom tablet-like display, so it's not going on the market and has nothing to do with a cellphone. Our current system uses a single exe and multiple dll's which all create widgets from a shared widget library. So currently we can make a change to only one of

Re: [android-developers] Re: partition UI

2012-02-01 Thread Kristopher Micinski
On Wed, Feb 1, 2012 at 7:22 PM, awtDroid andyturne...@gmail.com wrote: This is a large OEM app running on a custom tablet-like display, so it's not going on the market and has nothing to do with a cellphone. You said that already... I'm implying that the fact it's going on your custom device

[android-developers] Confused about background images

2012-02-01 Thread Mark Phillips
I want to have a background image of a game board in one of my activities, and I am not sure how to implement it. I have been reading about Drawables and 9patch, and I am confused about the basics. 1. I can draw the image I want in GIMP, but what size do I make it? Actually, what sizes, as I

[android-developers] Re: AccessibilityEvent in monkey

2012-02-01 Thread avi
I found out the problem. sConnectionId variable has to be initialized to -1 instead of 0 On Feb 1, 9:43 am, avi avinanku...@gmail.com wrote: I would really appreciate it if someone could help me with the below problem On Jan 27, 10:01 am, avi avinanku...@gmail.com wrote: All, I am

[android-developers] Re: Multiple APKs installed to the same location

2012-02-01 Thread BT
Good point about security, but this isn't a general consumer application. The additional libraries can only be downloaded from our internal servers and only over our internal wi-fi, plus they're hashed verified with our internal security server prior to execution. We have to run on iOS too,

Re: [android-developers] Re: Multiple APKs installed to the same location

2012-02-01 Thread Kristopher Micinski
On Wed, Feb 1, 2012 at 7:35 PM, BT bunglestwan...@gmail.com wrote: Good point about security, but this isn't a general consumer application.  The additional libraries can only be downloaded from our internal servers and only over our internal wi-fi, plus they're hashed verified with our

[android-developers] Finishing ActivityGroup which combine Top and Bottom tabs together in same activity ??

2012-02-01 Thread AndroidGirl8
I made ActivityGroup which combined two activities one activity for TOP tab and second one for BOTTOM tab and it works fine BUT when I click in any activity on tab both tabs (top and bottom) still there however this activity don't have them. My question now how I finish this ActivityGroup how I

Re: [android-developers] Re: partition UI

2012-02-01 Thread Mark Murphy
On Wed, Feb 1, 2012 at 7:22 PM, awtDroid andyturne...@gmail.com wrote: This is a large OEM app running on a custom tablet-like display, so it's not going on the market and has nothing to do with a cellphone. That does not change the way Android works. Our current system uses a single exe and

[android-developers] Re: onResume start a duplicated activity

2012-02-01 Thread leslie.karpati
Hi, You are right, the Eclipse launch is really makeing some mess: I have two condition: 1. Launch with eclipse: It does't start a new activity if I make visible the application again with the notification, but start a 'second' activity if I try it with the launcher icon. 2. Normal launch:

[android-developers] Re: running UI thread with AppWidgetProvider class

2012-02-01 Thread David Ross
Actually the Widget uses a RemoteView and you service that view in an AppWidgetProvider which must register one or more BroadcastReceivers to handle calls from the AppWidgetManager for updated views or your own events (through Intents). The Activity is only used for the optional configuration

[android-developers] Re: Home screed Widget crash

2012-02-01 Thread David Ross
I would suggest using AlarmManager for your repeating 15s update. Handle the Intent in a private BroadcastReceiver inside your AppWidgetProvider. Forget the Service as the scheduling mechanism but use it for the download of the next image from within your BroadcastReceiver. In BroadcastReceiver

[android-developers] Ice Cream Sandwich and high memory usage on launch

2012-02-01 Thread dmon
I was doing some memory profiling recently for another issue, and I found that, on my phone running ICS, as soon as I launch the app the memory is already at about 7 MB, when it was usually about 4 MB in others. I looked at the HPROF file and it seems like the app is keeping a bunch (all?) of

[android-developers] EditText selectAll() does not work in ICS

2012-02-01 Thread Stéphane Bruno
Hi, I am trying to programmatically select all the text in an EditText field when a user touches the field so that when the user starts typing it replaces the existing text (I cannot use settings in the XML file because this field is programmatically added to the screen). To do this, I

Re: [android-developers] How to create a sms database table to store inbox messages in Android

2012-02-01 Thread Ratheesh Valamchuzhy
you need to store the the message in sqlite db ? use the content resolver to get the message details and we can store it on a text file or a separate database -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] login problem

2012-02-01 Thread unicus unicus
Use bundle object. save username and password in bundle object and then pass to intent . *More info*, http://androidbasic-answer.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re : SMS application

2012-02-01 Thread vivek elangovan
Hi members, I m developing one application to send SMS,here i used sendSMS() function and SmsManager class and it is working fine for sending messages between two emulators.I need to send msgs to real phones for that i have to mention some SMS gateway.So in SmsManager class

Re: [android-developers] Re: NFC Secure Element

2012-02-01 Thread Fernando Miguélez
Keys are used in raw communication through APDUs On Wed, Feb 1, 2012 at 7:46 PM, malls masubha...@gmail.com wrote: I don't see any interface of passing the keys to open secure element in the android code. I am not sure how many people claims that you need google Keys to open SecureElement.

Re: [android-developers] login problem

2012-02-01 Thread arun kumar
thanks for the reply...its solved On Thu, Feb 2, 2012 at 11:22 AM, unicus unicus unicus...@gmail.com wrote: Use bundle object. save username and password in bundle object and then pass to intent . *More info*, http://androidbasic-answer.blogspot.com/ -- You received this message because

Re: [android-developers] Confused about background images

2012-02-01 Thread Monzurul Islam Shamim
- *xlarge* screens are at least 960dp x 720dp - *large* screens are at least 640dp x 480dp - *normal* screens are at least 470dp x 320dp - *small* screens are at least 426dp x 320dp http://developer.android.com/guide/practices/screens_support.html I think this will help you.. On

[android-developers] android how to visit those files on pc server by wifi

2012-02-01 Thread silvan_liu
android how to visit those files on pc server by wifi? -- 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] android onBackPressed not called under tab

2012-02-01 Thread vani reddy
Hi friends, I have Main Activity. That has 5 tabs(TabHost). I have overridden onBackPressed in activity groups, as well As All 5 activities. This button show user a dialog box and for confirmation of Exit When app start. It show 1st tab. Then if I press back it work fine for 4 tabs. But if I go

[android-developers] tabs onbackPressed

2012-02-01 Thread vani reddy
Hi friends,, Under tabs when onBackPressed i am showing a dialog box, but its throwing the below exception ERROR/WindowManager(979): Activity com.amplyfyme.android.HomeScreen has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40678fb0 that was originally added here

[android-developers] Re: android help

2012-02-01 Thread ajay talreja
have tried as you told to change Try getting the location through a location update. (Use requestLocationUpdate() or requestSingleUpdate() instead.) but it is also not working for meproviding the code for your review.. Code: gps12.java package d.gps12; import

[android-developers] Re: Uploading paid android app on Android market

2012-02-01 Thread Zsolt Vasvari
Some uses the forwarding, some doesn't. A very recent order of mine (last couple hours) does. On Feb 1, 9:54 pm, Kostya Vasilyev kmans...@gmail.com wrote: On 02/01/2012 05:40 PM, TreKing wrote: Google Checkout has an email address you can use that forwards to the user. No forwarding

Re: [android-developers] Re: android help

2012-02-01 Thread Kristopher Micinski
I'll look at this tomorrow unless somebody else does first... By the way, this would be a really good time for you to go read up on how to use the Eclipse debugger. This would allow you to put a breakpoint on your onLocatoonChanged and see if it ever executes. Additionally, if you don't get any