[android-developers] Autocomplete widget - not working - code attached

2010-10-22 Thread Anees
Hi experts, I am trying to implement a dynamic auto complete widget in android. I am done with the major functionalities and the auto completion implemented is for youtube video search. When I start typing a letter or two, the auto-completion is not working. But when I type three letters or more

[android-developers] Re: Autocomplete widget - not working - code attached

2010-10-22 Thread Anees
Sorry for the wrong code. Here is the correct one which has the issues I mentioned. import org.json.JSONArray; import org.json.JSONException; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.text.Editable; import

[android-developers] Re: Autocomplete widget - not working - code attached

2010-10-22 Thread Anees
Hi, Sorry for the wrong code. Here is the code which has the issues I mentioned. import org.json.JSONArray; import org.json.JSONException; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.text.Editable; import

[android-developers] Re: Android Porting on Telechips TCC89XX: Not able to start init process

2010-10-22 Thread suman
Hello all, With some changes in the config file we are able to start the android init script it is able to start all most all process android related Here is my o/p for ps 07:01:198/system # ps 07:01:198 PID Uid VmSize Stat Command 07:01:2141 root276 S init 07:01:2142

Re: [android-developers] Can't create new Android project in Eclipse

2010-10-22 Thread Kumar Bibek
You need the ADT plugin first installed on eclipse. On Tue, Oct 19, 2010 at 9:58 PM, egobuilder pe...@egobuilder.net wrote: I followed the instructions for installing the Android SDK on Windows 7 from http://developer.android.com/sdk/index.html ...but when I open Eclipse and click New it

Re: [android-developers] how to post a tweet through android example

2010-10-22 Thread Kumar Bibek
You the Intent for Twitter app On Mon, Oct 18, 2010 at 10:55 AM, bhargav bhargavkumar...@gmail.com wrote: hai , in my application twitter button is there.just i click on the twitter button open the text box and enter the message after click on the post button .it will post to the

Re: [android-developers] Recents

2010-10-22 Thread Dianne Hackborn
A task, as a logical collection of activities, is unrelated to a physical process. On Thu, Oct 21, 2010 at 10:40 PM, CMWiii kentka...@gmail.com wrote: Working on a little sub-project to do with task switching and I came across an oddity (for me) on RecentTaskInfo. If I start a browser

Re: [android-developers] Re: Shared Memory

2010-10-22 Thread Dianne Hackborn
There is really no need to use android:sharedUserId. The common way to do this on Android is to put your data behind a content provider, which others can call ContentResolver.openFileDescriptor() or related to get access to the file. The content provider opens the file (so it doesn't need to

[android-developers] Re: LVL found to be easy to crack

2010-10-22 Thread noriato
So then the check for the checksum could be removed... same problem. Peter On 22 Okt., 07:50, Jose toco...@gmail.com wrote: I think that an easy way to tamper-proof apk would be: 1) Android Market computes a checksum for the apk when the apk is uploaded 2) In the License Response (eg. in one

[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?

2010-10-22 Thread Pent
I asked market help about this about a week ago and they say they've now made some changes which 'may have resolved the problem'. Fingers crossed. Pent -- 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: Streaming MP4 videos in my app??????

2010-10-22 Thread Doug
Can you see/play the files if they live on your sdcard using the builtin gallery app? If not, then you're not going to be able to stream them using any streaming mechanism. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Gogle: fix the effing Lunar Lander example, unless it's an example of crappy programming.

2010-10-22 Thread Doug
I would have to say it contains no more errors per line of code than the subject of your message. :-) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] Re: Memory Leak with a ListView revisited

2010-10-22 Thread Doug
On Oct 21, 9:29 pm, John Gaby jg...@gabysoft.com wrote: There cannot be this kind of leak in general can there? No, there cannot. You strategy looks foreign to me. Can you explain in english what you're trying to do and the strategy you're using to implement it? Why are you calling your

[android-developers] Re: Looking for android dev (2-10 yrs) Bangalore

2010-10-22 Thread Doug
Maybe he meant experience with androids like Lt. Cmdr. Data. I well over 10 years of experience watching Star Trek. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: LVL found to be easy to crack

2010-10-22 Thread Jose
But you can check for the checksum in dozens of differents places in your (ofuscated of course) code. It´s very easy and very fast This will raising the bar for piracy one step more On Oct 22, 9:18 am, noriato fabri...@gmail.com wrote: So then the check for the checksum could be removed...

[android-developers] Re: ListView OnClickListners Issue

2010-10-22 Thread Doug
Without looking at the code you should have provided, are you registering an onClick listener on the ListView itself, or an onItemClickListener? Only one of those really make sense. Doug -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Re: ListView OnClickListners Issue

2010-10-22 Thread Vinay Julme
I had the similar problem with the checkbox. This link helped me out. http://stackoverflow.com/questions/1121192/android-custom-listview-unable-to-click-on-items http://stackoverflow.com/questions/1121192/android-custom-listview-unable-to-click-on-itemsIt states that these check boxes sort of

Re: [android-developers] Re: Display a numeric keypad on activity without an input area

2010-10-22 Thread Donal Rafferty
Apologies, I bumped it just before leaving the office. While the US is sleeping I'm working :) Any further thoights from anyone on the issue? it seems strange that it would not be possible. On Thu, Oct 21, 2010 at 6:26 PM, TreKing treking...@gmail.com wrote: On Thu, Oct 21, 2010 at 11:45 AM,

Re: [android-developers] Re: [USSD] Any API's or code flow ?

2010-10-22 Thread Atul Raut
Does USSD works on Android Phone ? On Thu, Oct 21, 2010 at 2:08 PM, Atul Raut atul.dr...@gmail.com wrote: How to send Ussd command/code using Android phone. When am trying *#306# [for getting IMEI number] it say wrong Ussd code. But this is very generic and application to all phone. -Atul

[android-developers] Problem in fix the value in EditText

2010-10-22 Thread mishra
Hi I am trying to fix the value in the edittext but it not shows in the run time. I am trying this like android:text=edittext in xml layout it shows in the design time but when i run it shows blank. plaese tell me the right process how can i fix it. thanks ankush mishra -- You

[android-developers] [USSD] com.android.ussd.IExtendedNetworkService not found

2010-10-22 Thread Atul Raut
Hi, I am trying USSD on device and getting error : com.android.ussd.IExtendedNetworkService not found Any idea why it is so ? -Atul -- 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] How to find out that the global auto-sync state has been changed?

2010-10-22 Thread Mariano Kamp
Hey guys. Is there any way that my code can be notified / receive a broadcast when the global auto-sync state changes? Cheers, Mariano http://developer.android.com/reference/android/content/ContentResolver.html#getMasterSyncAutomatically() -- You received this message because you are

[android-developers] How can I access gallery from HTC Desire?

2010-10-22 Thread MG
hi all. I am just wondering why I cant access the gallery using the code below. Intent gallery = new Intent(Intent.ACTION_VIEW, Uri.parse(content:// media/internal/images/media)); startActivity(gallery); but when I installed the 3D gallery from cooliris, it is already possible. I can access the

Re: [android-developers] Re: Listen for key presses on Numeric keypad?

2010-10-22 Thread Donal Rafferty
I have tried this and I get no KeyCodes or KeyEvents at all when I am in the numeric (Second) mode. On Thu, Oct 21, 2010 at 6:24 PM, TreKing treking...@gmail.com wrote: On Thu, Oct 21, 2010 at 11:45 AM, Donal Rafferty draf...@gmail.comwrote: Anybody have any ideas? Check what keycodes you

Re: [android-developers] Install-time Extraction of .apk files

2010-10-22 Thread Mark Murphy
On Thu, Oct 21, 2010 at 11:34 PM, Dianne Hackborn hack...@android.com wrote: this is also telling the platform that your app relies on ARM code so it will not be available to devices running with other CPUs whenever those appear. Such as, oh, Google TV devices powered by Intel Atom, to pick a

Re: [android-developers] Re: Listen for key presses on Numeric keypad?

2010-10-22 Thread Donal Rafferty
Thanks letlite, However I want to be able to display the numeric keypad without having it input to an EditText so I cant use addTextChangedListener(TextWatcher) So I want the user to be able to click a button on my UI, the keypad pops up in numeric form and then I want to be able to listen to

[android-developers] Error with DB onUpgrade

2010-10-22 Thread Alok Kulkarni
Hi, I have multiple databases in my app.At the start of the application , i initialize all the databases and access columns from the required tables.What i did is , for one of the databases i incremented the version of the DB. So now i have started getting error of No Such table say ABCD while

[android-developers] Re: Android serial port

2010-10-22 Thread FrankG
a) wrong group : use android-platform b) maybe you could change the usb gadget on your device and provide an composite usb device with a serial communication port But to change the framework will be not so easy. IMHO you have to adapt the kernel, create your own kernel - framework

[android-developers] my activity lost visibility after unlocked screen...

2010-10-22 Thread kevindroid
I have a broadcast receiver to listen the incoming sms and launch an activity after received any. After the activity is launched, the screen will be unlocked using the following code in onCreate() method. getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON);

[android-developers] keep alive xmpp connection

2010-10-22 Thread Jey
Hi all, is there any way to keep my connection alive when the screen goes off ? my xmpp connection is disconnected due to ACTION_SCREEN_OFF event, Regards, Jey -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] No audio in emulator (ubuntu 10.10)

2010-10-22 Thread Mik
Dear all, I cannot manage to play audio in the android emulator 2.2. I am using ubuntu 10.10. I've tried to launch the emulator with the following audio options (and I tried to use root privileges as well): -audio oss - I get a warning for audio not supported, fair enough -audio esd -audio alsa

Re: [android-developers] keep alive xmpp connection

2010-10-22 Thread Mark Murphy
On Fri, Oct 22, 2010 at 8:12 AM, Jey jp9894562...@gmail.com wrote:               is there any way to keep my connection alive when the screen goes off ? my xmpp connection is disconnected due to ACTION_SCREEN_OFF event, If you are on WiFi, you would need to hold a WifiLock and probably a

Re: [android-developers] Error with DB onUpgrade

2010-10-22 Thread Kostya Vasilyev
AFAIK, there is nothing special, except: - onUpgrade may take some time to run - the tables are not updated until after onUpgrade is done Are you accessing the database in any way bypassing your SQL open helper? Is this what you mean by At the start of the application , i initialize all the

[android-developers] Re: How can I access gallery from HTC Desire?

2010-10-22 Thread MG
how can i view the standard gallery? The view should be just like opening the gallery from all apps. On Oct 22, 7:47 pm, MG my.android.a...@gmail.com wrote: hi all. I am just wondering why I cant access the gallery using the code below. Intent gallery = new Intent(Intent.ACTION_VIEW,

Re: [android-developers] Error with DB onUpgrade

2010-10-22 Thread Alok Kulkarni
No. Actually i am accessing another table from my databases at the same time from another thread while onUpgrade is being called.So i think thats where the problem lies.But i need to figure out a way so that i access the SQL tables after the on Upgrade function completes. On Fri, Oct 22, 2010 at

Re: [android-developers] Re: How can I access gallery from HTC Desire?

2010-10-22 Thread Mark Murphy
On Fri, Oct 22, 2010 at 8:35 AM, MG my.android.a...@gmail.com wrote: how can i view the standard gallery? There is no standard gallery in Android. There are two gallery apps in the Android open source project. These will be on a few devices. Other devices will have vendor-supplied equivalents.

Re: [android-developers] Re: LVL found to be easy to crack

2010-10-22 Thread Kostya Vasilyev
The server-side LVL could verify the application signature instead, since anyone (pirates) changing the code would have to re-sign the package. The signature is (I think) available to Market application on the phone, and to the LVL back-end on the server. Android Market's communication with

[android-developers] Re: Service start in Turn on Device

2010-10-22 Thread MarcoCanali
Thanks ... It Works ! i Use this Code in Service Class : Intent mIntent = new Intent(context,MyClass.class); context.startService(mIntent); And Uses Permission in Manifest ! !-- Register in Android Manifest BootReceiver receiver -- receiver android:name=BootReceiver

Re: [android-developers] Error with DB onUpgrade

2010-10-22 Thread Kostya Vasilyev
Sounds like this could be it. Can't you just go through SQL open helper for all code paths? -- Kostya 22.10.2010 16:37, Alok Kulkarni пишет: No. Actually i am accessing another table from my databases at the same time from another thread while onUpgrade is being called.So i think thats where

Re: [android-developers] keep alive xmpp connection

2010-10-22 Thread Kostya Vasilyev
If this is some kind of instant messaging application, then keeping a WakeLock for a long time is probably not a good idea. Your users might like messages being delivered instantly, but dismayed that it only lasts a few hours. You might want to schedule a wake-up alarm with AlarmManager,

Re: [android-developers] Error with DB onUpgrade

2010-10-22 Thread Alok Kulkarni
Yeah ill do my best.. My code is too complicated right now... :P One more thing i need to confirm.. After upgrade , all the old databases are deleted right.. So i need to backup all the tables in the onUpgrade and recreate new ones .. Right ? On Fri, Oct 22, 2010 at 6:20 PM, Kostya Vasilyev

[android-developers] Problem With Thread !

2010-10-22 Thread MarcoCanali
I use thic Code in a Class Of type Service : class A extends Service { @Override public IBinder onBind(Intent intent) { // TODO Auto-generated method stub Log.v(AppointmentFinderService, OnBind the Binder ); return mBinder; }

Re: [android-developers] Error with DB onUpgrade

2010-10-22 Thread Alok Kulkarni
I am following this http://efreedom.com/Question/1-3505900/SQLiteOpenHelper-OnUpgrade-Confusion-Android What do u mean by saying SQL open helper for all code paths I am using the standard code for public void open() throws SQLException { db =

Re: [android-developers] Error with DB onUpgrade

2010-10-22 Thread Kostya Vasilyev
No, onUpgrade doesn't delete any data, tables, or databases. It's just a callback in your code that's called by Android when the desired database version doesn't match the existing database version. Your callback can do whatever it needs to bring the database schema up to date - typically,

Re: [android-developers] Error with DB onUpgrade

2010-10-22 Thread Alok Kulkarni
Ok.. thanks One more thing .. Here for the problem i am facing.. IS that i need to take care that i access the tables only after onUpgrade completes execution ? On Fri, Oct 22, 2010 at 6:34 PM, Kostya Vasilyev kmans...@gmail.com wrote: No, onUpgrade doesn't delete any data, tables, or databases.

Re: [android-developers] Error with DB onUpgrade

2010-10-22 Thread Kostya Vasilyev
Yes, that's what I meant. Always call getWritableDatabase, and don't call SQLiteDatabase.openDatabase - are you, perhaps, somewhere in your code? In the link you posted, table upgrades are done by renaming the old table and creating a new table from scratch, then copying the data. So there

Re: [android-developers] Problem With Thread !

2010-10-22 Thread Prakash Iyer
Don't you need to start the thread? On Oct 22, 2010 9:02 AM, MarcoCanali marco.can...@gmail.com wrote: I use thic Code in a Class Of type Service : class A extends Service { @Override public IBinder onBind(Intent intent) { // TODO Auto-generated method stub

[android-developers] Re: Memory Leak with a ListView revisited

2010-10-22 Thread John Gaby
First, let me say that this is just a very simple sample application to illustrate the problem. My real application is far more complex, but exhibits this same behavior. What I need to be able to do is to be able to destroy a given page and then re-create it later. There are several reasons for

Re: [android-developers] Error with DB onUpgrade

2010-10-22 Thread Alok Kulkarni
Yeah , thats what probably is the issue.. So i will take a sequential approach over there and update it .. Thanks a lot Kostya.. Regards, Alok. On Fri, Oct 22, 2010 at 6:49 PM, Kostya Vasilyev kmans...@gmail.com wrote: Yes, that's what I meant. Always call getWritableDatabase, and don't call

[android-developers] Re: Remove TTS for test

2010-10-22 Thread greg
Have you considered using different AVDs with different SDK levels (some with TTS and some without) in the emulator? On Oct 21, 4:37 am, Fred J fred.jea...@gmail.com wrote: Hello All ! I would like to test my code which check the availability of the Text To Speech lib on the device before

Re: [android-developers] Re: LVL found to be easy to crack

2010-10-22 Thread Leigh McRae
I don't think that you will ever have a solution that will prevent the pirates from stealing. The question is, does LVL prevent the average person from being able to steal the app? For example, on some stores someone can simply forward the email with the download link to the app they just

[android-developers] emulator/ host network setup problems

2010-10-22 Thread chcat
I am trying to test some udp networking between emulator and host and I have a problem with setup. I assigned address 10.0.2.14 to the host interface with 10.0.2.1 as gateway.. Can't ping 10.0.2.15 from my host, neither can i ping 10.0.2.14 from emulator. Ping from emulator to 10.0.2.2 works fine

[android-developers] Re: emulator/ host network setup problems

2010-10-22 Thread Chris Stratton
For emulator to computer (and outside world) see: http://developer.android.com/guide/developing/tools/emulator.html#emulatornetworking To talk from the computer to the emulator you should set up a port forward and connect to the forwarded port on the development machine's loopback IP - the

[android-developers] Re: LVL found to be easy to crack

2010-10-22 Thread Chris Stratton
On Aug 24, 3:31 am, Kostya Vasilyev kmans...@gmail.com wrote: Doing it as part of Market application, with only simple allow/deny passed over RPC is probably more secure. Market app is signed with the platform key, and the firmware checks the signature, right? How many seconds do you think it

[android-developers] Get soft keyboard to automatically pop up when a dialog is displayed?

2010-10-22 Thread draf...@gmail.com
I currently pop up a custom dialog with an EditText in it. Currently the keyboard will only pop up when the user clicks into the EditText. Is it possible to get the keyboard to pop up for the EditText as soon as the Dialog loads? I have tried: editText = (EditText) findViewById(R.id.EditTextd);

Re: [android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?

2010-10-22 Thread TreKing
On Fri, Oct 22, 2010 at 2:22 AM, Pent tas...@dinglisch.net wrote: I asked market help about this about a week ago and they say they've now made some changes which 'may have resolved the problem'. Yeah ... that's kind of their de facto response to anything, honestly. Like the active install

[android-developers] Re: LVL found to be easy to crack

2010-10-22 Thread Chris Stratton
On Oct 22, 8:49 am, Kostya Vasilyev kmans...@gmail.com wrote: Android Market's communication with the server and the application are encrypted, and Market is signed with the platform key, which means it can't be tampered with. Don't know if there any vulnerabilities with this (other than

Re: [android-developers] Re: LVL found to be easy to crack

2010-10-22 Thread Mark Murphy
On Fri, Oct 22, 2010 at 10:53 AM, Chris Stratton cs07...@gmail.com wrote: The only way something like LVL will hold up in the long run is if the license checking functionality is intimately and multiply intertwined with the application functionality, such that disentangling the two is more

Re: [android-developers] Detecting when outgoing is accepted

2010-10-22 Thread TreKing
On Sat, Oct 16, 2010 at 12:50 PM, Gergely Juhász jg.sv...@gmail.com wrote: I can detect incoming calls (with PhoneStateListener), outgoing calls by NEW_OUTGOING_CALL intent, but i can not find a way to distinguish the dialing and connected phone states. Never used it, but this seems

[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?

2010-10-22 Thread Pent
Yeah ... that's kind of their de facto response to anything, honestly. Like the active install problem, which is still not fixed even though they may have resolved the problem weeks ago. Don't get your hopes up. Yeah, I noticed today I was sliding back again (and only regained a 1/4 of the

Re: [android-developers] Get soft keyboard to automatically pop up when a dialog is displayed?

2010-10-22 Thread Marcin Orlowski
On 22 October 2010 16:57, draf...@gmail.com draf...@gmail.com wrote: I currently pop up a custom dialog with an EditText in it. Currently the keyboard will only pop up when the user clicks into the EditText. Is it possible to get the keyboard to pop up for the EditText as soon as the Dialog

[android-developers] App comment spam

2010-10-22 Thread Maps.Huge.Info (Maps API Guru)
I've noticed that a lot of comments on top apps are from comment spammers. When is something going to be done about this market wide problem? There are probably less than 20 of these users who hit virtually every top app with comment spam. My app is getting hit every single day by these people.

[android-developers] Re: Detecting when outgoing is accepted

2010-10-22 Thread pprochamp
I tried this, and CALL_STATE_OFFHOOK event occurs as soon as you dial the phone number. So it still doesn't help you determine when the other person answers. There is nothing in the public API that can be used to tell you when the phone is answered. I was hoping someone knew another way. Maybe

Re: [android-developers] Re: LVL found to be easy to crack

2010-10-22 Thread Kostya Vasilyev
22.10.2010 19:04, Mark Murphy пишет: Now, now, it's not the *only* way. If an attempt to run a cracked app resulted in electrocution, piracy would stop in a jiffy. Of course, there's a *slight* liability issue... :-) I hear Google has good lawyers, they could lobby for some kind of Android

[android-developers] Re: App comment spam

2010-10-22 Thread Pent
I've noticed that a lot of comments on top apps are from comment spammers. When is something going to be done about this market wide problem? There are probably less than 20 of these users who hit virtually every top app with comment spam. My app is getting hit every single day by these

Re: [android-developers] google API with android

2010-10-22 Thread Brad Gies
Take a look at the Google Local Search API. If all you wanted was bars, clubs and restaurants I've got a web service API you could use, but Google Local Search has everything Sincerely, Brad Gies --- Bistro Bot - Bistro

Re: [android-developers] [BUG?] Images from drawable-nodpi getting scaled

2010-10-22 Thread TreKing
On Mon, Oct 18, 2010 at 3:35 PM, Wri cyri...@gmail.com wrote: In the old project, I did not specify a target SDK (the manifest did not contain something like: uses-sdk android:minSdkVersion=8 /). Be careful here ... target SDK is NOT the same as minSDK. Was that a typo or are you not clear on

Re: [android-developers] horizontalScrollView + TabHost

2010-10-22 Thread TreKing
On Tue, Oct 19, 2010 at 6:23 AM, Tuke mhartikai...@gmail.com wrote: This way intent launhes nicely, but it doesn't load it's content to framelayout as it should. What does this mean? If I change above XML as following (removing the scrollview): I can see the intent again, but i will

[android-developers] Re: emulator/ host network setup problems

2010-10-22 Thread chcat
How can i make that map permanent? On Oct 22, 10:43 am, Chris Stratton cs07...@gmail.com wrote: For emulator to computer (and outside world) see: http://developer.android.com/guide/developing/tools/emulator.html#emu... To talk from the computer to the emulator you should set up a port

Re: [android-developers] Kube example with simple 3D object select

2010-10-22 Thread TreKing
On Tue, Oct 19, 2010 at 3:20 AM, Lukasz.Iwanski lukasz.iwan...@gmail.comwrote: I have done research.. but I have huge problem with that. Huge problem with what? http://www.catb.org/esr/faqs/smart-questions.html

[android-developers] Dialog change orientation

2010-10-22 Thread SImplyG2010
Hi, Does anyone know if it is possible to change the orientation of a dialog ONLY. So i show a dialog in landscape while the activity remains in portrait. Anyone know how to do this? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] getSharedPreferences and static reference to a Context object

2010-10-22 Thread TreKing
On Tue, Oct 19, 2010 at 4:39 AM, pscheven psche...@gmail.com wrote: In my Android application, I have to call the getSharedPreferences in non-activity classes. In order to avoid passing a Context object to each constructor of these classes (and because many of them are classes with only

[android-developers] Re: Android serial port

2010-10-22 Thread Bret Foreman
Check out the Beagle Board and also Andrino. I believe they both have serial ports and Android libs to access them. -- 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

Re: [android-developers] orientation problem

2010-10-22 Thread TreKing
On Tue, Oct 19, 2010 at 1:29 AM, anand sadanandgarikap...@gmail.com wrote: i used a vertical linear layout int which i placed some text fields and buttons.but when i am changing to landscape it doesnt display all the view. Is your linear layout in a Scroll View?

Re: [android-developers] how to extract class information from code

2010-10-22 Thread TreKing
On Tue, Oct 19, 2010 at 8:07 AM, vick.s souvick.i...@gmail.com wrote: Is there any tool available to construct the class diagram from the code? I would try this: Search for java uml reverse

[android-developers] Re: Distributing free licenses to paid apps

2010-10-22 Thread Denis Souza
How about if you issue a refund after the 48 hour period in which a user can return the app? On Oct 21, 8:15 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: I'd like to authorize certain people to use my app without buying it. Is there a way to do this?  Am I running into issues with my

[android-developers] User ID of purchaser

2010-10-22 Thread Bret Foreman
Is there a way I can get the Google Marketplace ID of the purchaser of my app? I mean from within the app at runtime. I want to send it to my back-end service database to help detect pirates. -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Is your activity running?

2010-10-22 Thread TreKing
On Tue, Oct 19, 2010 at 4:21 AM, tanmay@gmail.com tanmay@gmail.comwrote: But When I submit the search button in the Search activity I am getting the erro What does this code look like? -

Re: [android-developers] [BUG?] Images from drawable-nodpi getting scaled

2010-10-22 Thread Stephen Jungels
In addition to what was said above, if you study the supports-screens directive carefully and set it properly in your manifest, that will most likely clear things up. On Fri, Oct 22, 2010 at 11:43 AM, TreKing treking...@gmail.com wrote: On Mon, Oct 18, 2010 at 3:35 PM, Wri cyri...@gmail.com

[android-developers] Re: Kube example with simple 3D object select

2010-10-22 Thread Robert Green
Luke, Read these. http://groups.google.com/group/android-developers/browse_thread/thread/6243785d31f904d7/155df9bc386bb0ad?lnk=gstq=3d+selection#155df9bc386bb0ad

[android-developers] Android memory problem + Surface holder problem (surfaceview game)

2010-10-22 Thread GDA
Hi. there are 2 ways to let user press home and return back with their status correct : 1. public gameView(Context context, AttributeSet attrs) { super(context, attrs); SurfaceHolder holder = getHolder(); holder.addCallback(this); thread = new gameThread(holder); } public void

Re: [android-developers] plzz give a clarification

2010-10-22 Thread TreKing
On Tue, Oct 19, 2010 at 1:35 AM, asha ashamala...@gmail.com wrote: I studied some documents n am more interested to know abt monkey tool lyk what it really do? How it does ? This is explained here: http://developer.android.com/guide/developing/tools/monkey.html My major question is “it

Re: [android-developers] Need to change font color of pop up letter while scrolling through Contact List

2010-10-22 Thread TreKing
On Tue, Oct 19, 2010 at 1:13 AM, Krishnendu Das krishnendu.w...@gmail.comwrote: Please help to solve this issue. You have not provided enough information to help you solve your problem. - TreKing

[android-developers] Picking an activity

2010-10-22 Thread CMWiii
I am using ACTION_PICK_ACTIVITY to have users pick an app from a list. But how do you get the 'Use by default...' checkbox to show up at the bottom of the dialog? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] About the character encoding

2010-10-22 Thread Julio Martins
Chinese guys, any comments about this? Julio On Thu, Oct 21, 2010 at 6:05 AM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 20 October 2010 21:53, Julio Martins martins.ju...@gmail.com wrote: Friends, I am developing an application that has a module for sending SMS alerts. I'm

Re: [android-developers] Keyboard log for reference

2010-10-22 Thread TreKing
On Tue, Oct 19, 2010 at 10:51 PM, Android Test aandroidt...@gmail.comwrote: Is it possible? Write your own keyboard or modify the firmware to hack the built-in one? - TreKing

[android-developers] Re: Distributing free licenses to paid apps

2010-10-22 Thread Bret Foreman
Jeez, folks. Google can barely keep the Market running as it is and you're asking for more features? I vote they work on making the system they have reasonably reliable first. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] develop mp3 player on android platform

2010-10-22 Thread TreKing
On Tue, Oct 19, 2010 at 10:04 PM, zamesking zames.k...@gmail.com wrote: Can any guide me where to get started? http://developer.android.com/index.html - TreKing

Re: [android-developers] Sms that Allow Permission

2010-10-22 Thread TreKing
On Tue, Oct 19, 2010 at 3:11 PM, Dliswa dliswa.andr...@gmail.com wrote: How can I send SMS from Emulator A to Emulator B such that when Emulator B receive a Text message (After the Permission is Granted to emulator B) then Emulator B gets its GPS Coordinates and send it As a SMS in Respond to

Re: [android-developers] how to fill the irregular shape with the red color?

2010-10-22 Thread TreKing
On Tue, Oct 19, 2010 at 11:05 PM, 子航 陈 chenhaichao1990...@gmail.com wrote: can anybody give me some advice? Look at the various drawing options, like this: http://developer.android.com/reference/android/graphics/Path.html

Re: [android-developers] Android app with a lot of videos

2010-10-22 Thread TreKing
On Tue, Oct 19, 2010 at 7:52 PM, Greg W pilotg...@gmail.com wrote: But ideally I'd like for the videos to be included in the application download from the market. I'm not even sure if that's possible. It's not. There's some threshold limit based on someone's post in the Android Help Forum,

[android-developers] Re: Keyboard log for reference

2010-10-22 Thread Bret Foreman
This sounds like a security problem, since your kb app could pick up passwords and everything else the user typed. You could do this easily within your own app, though, by overriding the onKeyDown methods in the appropriate widgets. -- You received this message because you are subscribed to the

[android-developers] IntentService and Threads

2010-10-22 Thread Eric Carman
We are in the process of refitting some of our recievers and services with IntentServices (mostly to address rare ANR issues - and because IntentService is pretty cool...). In one case we are converting a traditional service to an IntentService. The original service fired off a few methods whose

[android-developers] How to start a background service on install

2010-10-22 Thread klavin
I have an app which runs as a background service only. I'l like it to start up when its installed. As its just a background service it doesnt show up on the pane of installed apps. So there is no way for the user to manually start it. I've already regietered for the BOOT_COMPLETED intent which

Re: [android-developers] IntentService and Threads

2010-10-22 Thread Mark Murphy
On Fri, Oct 22, 2010 at 1:18 PM, Eric Carman ewcarma...@gmail.com wrote: For example, the following situation demonstrates what is happening: - Start Intent Service  - Trigger Download1  - Download 1 thread starts IntentService already uses a background thread. Either do not fork one of your

Re: [android-developers] Inflate layouts with different density

2010-10-22 Thread Brad Gies
Sorry if I'm hijacking this thread. How do you know (in Java) which of the three densities Android has chosen. Is there a setting in the layout or somewhere that can be checked? Sincerely, Brad Gies --- Bistro Bot -

Re: [android-developers] How to start a background service on install

2010-10-22 Thread Mark Murphy
On Fri, Oct 22, 2010 at 1:23 PM, klavin klavin4...@yahoo.com wrote: I have an app which runs as a background service only. I'l like it to start up when its installed. That is not supported. Please let the user choose when to start up your application. As its just a background service it

Re: [android-developers] Inflate layouts with different density

2010-10-22 Thread Mark Murphy
On Fri, Oct 22, 2010 at 1:27 PM, Brad Gies rbg...@gmail.com wrote: Sorry if I'm hijacking this thread. How do you know (in Java) which of the three densities Android has chosen. Is there a setting in the layout or somewhere that can be checked? See the DisplayMetrics class for the

Re: [android-developers] [BUG?] Images from drawable-nodpi getting scaled

2010-10-22 Thread Kostya Vasilyev
If you don't specify supports-screens or minSdk, then your app will run in compatibility mode, meaning that it's given an HVGA (240x320) virtual screen, which is then scaled as a whole. So your images will be scaled. If you specify minSdk = 4, or supports-screens, then scaling should work as

[android-developers] Re: Issue with Catch Handler

2010-10-22 Thread DanH
I vaguely recall this being mentioned as a feature of the emulator. Seems odd, though, since it should be easy to fix and it makes debugging that much harder. On Oct 21, 9:58 pm, John Moline molinesys...@gmail.com wrote: Thanks Brad. I did narrow it down to my emulator. If I run the same

  1   2   >