[android-developers] Re: requestLocationUpdates Problems

2010-03-25 Thread Kumar Bibek
locationManager is not initialized. That is why you are getting this error. LocationManager locationManager = context.getSystemService(Context.LOCATION_MANAGER_SERVICE); You need to initialize it before using it. Thanks and Regards, Kumar Bibek http://tech-droid.blogspot.com On Mar 25, 12:37 

[android-developers] GLSurfaceView and camera surface

2010-03-25 Thread sleith
Hi, i tried to have a GLSurfaceView on top of camera surface, so that i can draw gl objects with camera preview as background. I tried but didn't works. the view i has is something like this:

[android-developers] GK: Urgent -- Combine all the multiple apks in one APK file

2010-03-25 Thread Jack Ganesh
Hi all., I have 4 different games apk for one device. Now to Android market i need to upload one apk which contains all the four apk. How to bundle the multiple apks to one apk. ? Am able install multiple apk through eclipse. Plz suggest me how to do bundle apks without eclipse. It’s VVV

[android-developers] Re: Estimated Time App Verification

2010-03-25 Thread Kumar Bibek
Hahah, There's not approval process for Android apps, so you can see it instantly. Ya, may be a minute or less. Thanks and Regards, Kumar Bibek. On Mar 24, 10:16 pm, TreKing treking...@gmail.com wrote: On Mon, Mar 22, 2010 at 10:38 PM, leo grym7...@gmail.com wrote: My question how long my

[android-developers] Re: GLSurfaceView and camera surface

2010-03-25 Thread rollbak
Hello, If you want one on top of the other you must use a FrameLayout and then give different z index to each when adding them as childs. regards, Lucas On Mar 25, 3:07 am, sleith raysle...@gmail.com wrote: Hi, i tried to have a GLSurfaceView on top of camera surface, so that i can draw gl

[android-developers] How to use 3G Connection in Android Application instead of Wi-fi?

2010-03-25 Thread Jel
Hi, How to use 3G Connection in Android Application instead of Wi-fi? i want to connect 3G connection , is there any sample code for get connect 3G instead of Wi-fi? Regards, Jeyavel N -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Nexus One ADB XP 64

2010-03-25 Thread DonFrench
No, but if you do, let me know how you did it. On Mar 24, 5:06 pm, Joshua Frank frankjos...@gmail.com wrote: Anyone got the Nexus One working with adb on XP 64? I've tried the r3 driver from the SDK and I've even tried the drives from the xda-developers forum and had no luck. -- Joshua

[android-developers] midi engine for music apps

2010-03-25 Thread lalithalaxmi g
Hi, I tried music application using SDK in Andriod,when i run the application i am getting time delay between two sounds.I have tried almost all the midi engines and i searched for the solution that using SDK there would be the latency .If we use NDK it will reduce the latency.Can you please

[android-developers] Re: Shutdown from Android Kernel

2010-03-25 Thread FrankG
In ./kernel/android-2.6.29/drivers/base/power/main.c is this function: int device_power_down(pm_message_t state) But I don't think, that this is what you can use. Good luck ! Frank On 25 Mrz., 06:38, sachinikam sachini...@gmail.com wrote: I need an API which will shutdown/hibernate the

[android-developers] how to start a new activity within Tabactivity

2010-03-25 Thread Nandan .
hiii all i have a four tabs. using following codes TabHost host = getTabHost(); host.addTab(host.newTabSpec(one).setIndicator(Sip Phone,getResources().getDrawable(R.drawable.ic_launcher_phone_dialer)).setContent(new Intent(this, tabactivity1.class)));

[android-developers] Re: How to change Enable GPS satellites default value

2010-03-25 Thread Bzbit
Any one? :-( On Mar 22, 2:19 pm, Bzbit benziz...@gmail.com wrote: Hi When building Éclair from source the Settings Security location EnableGPSsatellites is enabled by default. can someone please tell me how can I change it to be disabled by default? Thx -- You received this message

[android-developers] Re: Can anyone hook me up with an Exchange email account that I could use for testing?

2010-03-25 Thread Marek Pola
What Email protocol do you want to test? There are plenty of free email servers supporting the standard protocols POP3 and IMAP4. Gmail supports them both. But if you mean the proprietary Exchange Active Sync (EAS) protocol it's a different matter, but there are free servers for that too. Google

[android-developers] Re: cannot install radio update

2010-03-25 Thread Nate
No one can offer any suggestions? On Mar 24, 12:32 am, Nate nathan.sw...@gmail.com wrote: I have a G1 Dev Phone. I am unable to install the 1.6 radio update from this page:http://developer.htc.com/adp.html The file name is: ota-radio-2_22_19_26I.zip I push it to the phone as update.zip, do

[android-developers] Re: How to use 3G Connection in Android Application instead of Wi-fi?

2010-03-25 Thread Kaj Bjurman
Why does it matter what connection you are using as long as you get a connection? Just create a socket (or whatever it is that you have) and let the OS decide how to connect. Kaj On 25 mar, 07:52, Jel jeyavel...@gmail.com wrote: Hi, How to use 3G Connection in Android Application instead of

[android-developers] Re: No Network Connectivity in Service/AlarmManager Process.

2010-03-25 Thread Doug
I can't say I've had these problems with my code - I have the alarmmanager set to wake my app up every 'x' minutes (the pending intent kicks off a service) and from there I open an HTTP connection to a server. The server holds a PARTIAL wake lock so the phone doesn't go back to sleep immediately.

[android-developers] Re: GPS Queueing in LocationListener

2010-03-25 Thread Menion
Hi guys, Mike, please, you wrote that you are pretty sure not to do some direct processing of satellites ephemeris in Java. But my question is, do you know some method (probably thanks to JNI) how to obtain direct measure from GPS receiver? I have some imaginations to do postprocessing

[android-developers] Starting Activity by package Name

2010-03-25 Thread perumal316
Hi All, I have the code to get the list of packages installed in phone. I have represented the list in the form of Array List, below is the code snippet. But upon clicking in the package name I want to start that application, but how do I get the respective class name and package name to run?

[android-developers] How To Open Wireless controls Interface of System Programatically?

2010-03-25 Thread 陈增顺
Hi, I wanna open Wireless controls of system in my program for user to enable the data connection if the mobile data connection is not enable. I have experiences to open the SMS editing view by calling startActivity with specified Uri. Is there a Uri to open the Wireless controls? -- You

[android-developers] Re: Is it possible to embed an app widget in an activity?

2010-03-25 Thread Benny
Actually I want to write a Home, and put some widgets on it when it starts, not need user to choose. -- 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

[android-developers] Launcher homescreen

2010-03-25 Thread Morris
Hi All, Now I have a 1440x864 screen. I want to let 3 homescreens dispaly concurrently on one screen as I described in landscape mode. I try to modify workspace_screen.xml as below modification android:layout_width=”fill_parent” to android:layout_width=”480dip”

Re: [android-developers] Re: Strange problem with Runnable interface

2010-03-25 Thread Цветко ЛАГАЈОВИЋ
Hi, First of all thanks for your help. The Runnable's run method contains just a call to a MySurfaceView method. On Wed, Mar 24, 2010 at 10:47 PM, Streets Of Boston flyingdutc...@gmail.com wrote: It looks like the MySurfaceView instance is created during the XML inflation of your

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-25 Thread Arnon
Same here. Got online with FedEx Italy, they searched from March 18 till today and found no package. I hope they will start with Italy distribution soon. 4 Weeks from form submittion date for me are next friday. If anyone from EU recieves the phone, please let us know who shipped it and where

[android-developers] How get SIM number

2010-03-25 Thread a a
Dear android, How can i get the SIM card number? i use below: TelephonyManager telMgr = (TelephonyManager)getSystemService(TELEPHONY_SERVICE); String sim = telMgr.getSimSerialNumber(); it return 89860109300212882323, this is a serial number for SIM card, but i wan't the mobile

[android-developers] Re: cannot select target when creating new project

2010-03-25 Thread Kumar Bibek
In the AVD manager, check for the Available Packages. I am sure, there's something wrong with your installation. Thanks and Regards, Kumar Bibek On Mar 25, 12:22 pm, kavitha kavith...@gmail.com wrote: Hi All I am not able to select build target when i create new project in android

[android-developers] Re: How get SIM number

2010-03-25 Thread a a
I know there have a getLine1Number(), i have inserted the SIM card, but why it return null?. 2010/3/25 a a harvey.a...@gmail.com: Dear android, How can i get the SIM card number? i use below:       TelephonyManager telMgr = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);        

[android-developers] Re: To unregister a broadcast receiver register registered in manifest file

2010-03-25 Thread nep0x
Hi I m trying to understand the use of the broadcast receiver and the way of activate it. There's two ways isn't it? Register it from an activity or declare it in the manifest. So my question is: If i code a broadcast receiver which is watching incoming messages and i register it in the manifest,

Re: [android-developers] Re: How get SIM number

2010-03-25 Thread Sean Hodges
The getLine1Number() method in TelephonyManager retrieves the data in the phone number stored on the SIM card (NOT the phone number bound to the user's account) - this is often either wrong or non-existent, depending on the network provider it was shipped from. For example, UK Vodafone appear to

[android-developers] Understanding Broadcast Receiver

2010-03-25 Thread nep0x
Hi I m trying to understand the use of the broadcast receiver and the way of activate it. There's two ways isn't it? Register it from an activity or declare it in the manifest. So my question is: If i code a broadcast receiver which is watching incoming messages and i register it in the manifest,

[android-developers] Need help: How to disable a view(provided there are 2 views in xml) ??

2010-03-25 Thread Latha Shivanna
Hi All, In one of my applications i have 2 views(1 surfaceview and 1 videoview). And my main requirement now is to disable videoview( its corresponding surface obtained thru videoview-getholder-getsurface()) when i dont need it. The reason for me to do this, I have created these 2 views in

[android-developers] Filtered ListView with custom Adapter derived from ArrayAdapter is not updated

2010-03-25 Thread Anton Pirker
Hi! I have a ListView with a custom Adapter that extends ArrayAdapter. It's a ArrayAdapter of Type Artist. (There are about 1200 artists in my list) Artist is a very small class that has a name and an id. The Artist Class has toString() overridden to return just the name. I have an

[android-developers] What does ERROR: thread attach failed mean?

2010-03-25 Thread Paolo
When my app starts often I get this error. Only this one, anything else, and my app works fine. What does it mean? ERROR/AndroidRuntime(28130): ERROR: thread attach failed 28130 is the pid, but it is always different from my app's pid. -- You received this message because you are subscribed

[android-developers] connect forcibly to 3G when wifi is also available

2010-03-25 Thread aswani kumar tholeti
Hi all, how can i connect forcibly to 3G for accessing the internet when wifi is also available . pl suggest me with any sample code Thanks in advace Aswan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Reload app

2010-03-25 Thread Henry
Hi TreKing, I've done it, all I needed was register a broadcast receiver in the application. receiver android:enabled=true android:name=.reciever.IncomingCallReciever intent-filter action android:name=net.ubinow.metmagician.INCOMING_CALL / category

Re: [android-developers] Re: Strange problem with Runnable interface

2010-03-25 Thread Цветко ЛАГАЈОВИЋ
Hi, Thanks for your help guys, I found what was causing the problem. The inflater, even if classes are instanciated indirectly, needs a *.class file for each class. Meaning that you can't use class nesting or anonymous classes within those that will be inflated. I moved the Runnable

[android-developers] Export/Import SharedPreferences

2010-03-25 Thread Csenteri Barna
Hi I would need to export the shared preferences and load it on another device. Is this possible in a direct way somehow? (without exporting the keys one by one and writing to a custom file) Another question is that there is any XML parser which has the same functionality like SharedPreferences

[android-developers] Problems with ViewGroup.addView()

2010-03-25 Thread oriharel
this is my code: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); TextView t = new TextView(this); t.setText(Ori); TextView t2 = new TextView(this); t.setText(Ori2);

[android-developers] Re: Being legally harassed, by a large iPhone developer

2010-03-25 Thread tobias429
Not a lawyer, but that's my understanding as well. Take all the Connect 4 clones on the Market. I don't think anyone has a patent on the game concept itself (according to Wikipedia it's been out since the 17th century). However Hasbro has registered the title Connect 4 as a trademark in the US.

[android-developers] APK for AGSP application

2010-03-25 Thread Kabita
Hi, Is there any APK available for AGPS application. Can anyboy please help me... Thanks in Advance -- 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

[android-developers] Re: Filtered ListView with custom Adapter derived from ArrayAdapter is not updated

2010-03-25 Thread Kumar Bibek
Hi, What exactly are you trying to do? Can you please explain? Thanks and Regards, Kumar Bibek On Mar 25, 3:17 pm, Anton Pirker an...@ignaz.at wrote: Hi! I have a ListView with a custom Adapter that extends ArrayAdapter. It's a ArrayAdapter of Type Artist. (There are about 1200 artists in

[android-developers] Re: Need help: How to disable a view(provided there are 2 views in xml) ??

2010-03-25 Thread Kumar Bibek
You can hide and show a View by setVisibility to GONE and VISIBLE. Thanks and Regards, Kumar Bibek On Mar 25, 3:15 pm, Latha Shivanna latha...@gmail.com wrote: Hi All, In one of my applications i have 2 views(1 surfaceview and 1 videoview). And my main requirement now is to disable

[android-developers] Re: Understanding Broadcast Receiver

2010-03-25 Thread Kumar Bibek
Yes, you are right. When the specific broadcast is created, this broadcast will be sent to all the Receivers that are designed to catch such broadcasts. There is nothing as activating a receiever. Thanks, Kumar Bibek On Mar 25, 3:02 pm, nep0x nespap...@yahoo.es wrote: Hi I m trying to

[android-developers] Problem of Highlight in Webview

2010-03-25 Thread brijesh masrani
I want to highlight text in webview same as the Defalut browser Suppots please help me... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

Re: [android-developers] Re: How to change Enable GPS satellites default value

2010-03-25 Thread Mark Murphy
Bzbit wrote: Any one? :-( On Mar 22, 2:19 pm, Bzbit benziz...@gmail.com wrote: Hi When building Éclair from source the Settings Security location EnableGPSsatellites is enabled by default. can someone please tell me how can I change it to be disabled by default? You cannot do this,

Re: [android-developers] GK: Urgent -- Combine all the multiple apks in one APK file

2010-03-25 Thread Mark Murphy
Please do not cross-post to multiple lists. Jack Ganesh wrote: Hi all., I have 4 different games apk for one device. Now to Android market i need to upload one apk which contains all the four apk. How to bundle the multiple apks to one apk. ? Am able install multiple apk through

Re: [android-developers] How to use 3G Connection in Android Application instead of Wi-fi?

2010-03-25 Thread Mark Murphy
Jel wrote: Hi, How to use 3G Connection in Android Application instead of Wi-fi? i want to connect 3G connection , is there any sample code for get connect 3G instead of Wi-fi? You cannot do this, sorry! -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Problem in Showing TXT file in Webview

2010-03-25 Thread brijesh masrani
Hello I am reading a txt file using Stringbuffer and try to show it in webview by adding simple html tags (htmlBodyMy txt content/html/Body) but it is not showing Spacial characters so can u please help me or any other way to show txt file in Web Browser -- You received this message because

Re: [android-developers] Starting Activity by package Name

2010-03-25 Thread Mark Murphy
perumal316 wrote: Hi All, I have the code to get the list of packages installed in phone. I have represented the list in the form of Array List, below is the code snippet. But upon clicking in the package name I want to start that application, but how do I get the respective class name and

Re: [android-developers] connect forcibly to 3G when wifi is also available

2010-03-25 Thread Mark Murphy
aswani kumar tholeti wrote: how can i connect forcibly to 3G for accessing the internet when wifi is also available . pl suggest me with any sample code This is not possible, sorry! -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in

Re: [android-developers] Export/Import SharedPreferences

2010-03-25 Thread Mark Murphy
Csenteri Barna wrote: Hi I would need to export the shared preferences and load it on another device. Is this possible in a direct way somehow? (without exporting the keys one by one and writing to a custom file) Another question is that there is any XML parser which has the same

[android-developers] Problem regarding Broadcast event android.intent.action.BATTERY_CHANGED

2010-03-25 Thread AJ
Hi group, I added broadcast listener BATTERY_CHANGED to Android Manifest file so that when the status changed I should get informed. I am adding to Android Manifest file as I want it active through my application life time. But the problem is that I am not getting the broad cast event from the

Re: [android-developers] Problem in Showing TXT file in Webview

2010-03-25 Thread Adrian Vintu
You can use the pre tag. For example html 1 2 3 pre 1 2 3 /pre BR, Adrian Vintu http://adrianvintu.com On Thu, Mar 25, 2010 at 1:13 PM, brijesh masrani masrani.brij...@gmail.comwrote: Hello I am reading a txt file using Stringbuffer and try to show it in webview by adding simple html

Re: [android-developers] Problem regarding Broadcast event android.intent.action.BATTERY_CHANGED

2010-03-25 Thread Mark Murphy
AJ wrote: Hi group, I added broadcast listener BATTERY_CHANGED to Android Manifest file so that when the status changed I should get informed. I am adding to Android Manifest file as I want it active through my application life time. But the problem is that I am not getting the broad

Re: [android-developers] Re: Unexpected Resumes Running Under 2.0

2010-03-25 Thread Adrian Vintu
I think i posted this link 100 times already :D http://www.adrianvintu.com/blogengine/post/Force-Locale-on-Android.aspx BR, Adrian Vintu http://adrianvintu.com On Wed, Mar 24, 2010 at 9:07 PM, Johan Nilsson markupart...@gmail.comwrote: Found a solution for this, guess I mixed up

[android-developers] Re: Accessing External Database

2010-03-25 Thread uday kiran
Thanks for correcting me bob.. I saw so many mails regarding this JDBC drivers in stackoverflow.. I finally decided to use RESTful webservice instead of JDBC drivers.. I've gone through one example code at http://senior.ceng.metu.edu.tr/2009/praeda/2009/01/11/a-simple-restful-client-at-android/

[android-developers] Re: Problem regarding Broadcast event android.intent.action.BATTERY_CHANGED

2010-03-25 Thread AJ
Thanks again mark for enlightening me :) But one more ques please. I have registered [ACTION_BATTERY_CHANGED] programmatically in activity A1. I am able to get broadcast event for battery change in A1. Now from that A1 started a new activity A2. But I am not able to get these broad cast event

Re: [android-developers] Re: Problem regarding Broadcast event android.intent.action.BATTERY_CHANGED

2010-03-25 Thread Mark Murphy
AJ wrote: Thanks again mark for enlightening me :) But one more ques please. I have registered [ACTION_BATTERY_CHANGED] programmatically in activity A1. I am able to get broadcast event for battery change in A1. Now from that A1 started a new activity A2. But I am not able to get

[android-developers] Re: GK: Urgent -- Combine all the multiple apks in one APK file

2010-03-25 Thread Jack Ganesh
Hi Mark., Thanks for the info. Can you pls tell how i can merge the manifest or tell me . How i need to create my manifest to combine multiple apks. Pls help out. i need to upload my game to the market. Cheers, Ganesh On Mar 25, 5:12 pm, Mark Murphy mmur...@commonsware.com wrote: Please

Re: [android-developers] Re: Filtered ListView with custom Adapter derived from ArrayAdapter is not updated

2010-03-25 Thread Anton Pirker
Hi! Kumar Bibek wrote: What exactly are you trying to do? Can you please explain? What i am trying to do: I want to have a EditText and below my list with about 1200 Artistnames. If the user enters something in the EditText i want to filter the artists according to the entered text. So

Re: [android-developers] Re: Accessing External Database

2010-03-25 Thread Mark Murphy
uday kiran wrote: Thanks for correcting me bob.. I saw so many mails regarding this JDBC drivers in stackoverflow.. I finally decided to use RESTful webservice instead of JDBC drivers.. I've gone through one example code at

Re: [android-developers] Re: GK: Urgent -- Combine all the multiple apks in one APK file

2010-03-25 Thread Mark Murphy
Jack Ganesh wrote: Can you pls tell how i can merge the manifest or tell me . The same way you wrote it in the first place, I imagine. How i need to create my manifest to combine multiple apks. You cannot combine multiple APKs. You can create a single APK. That APK can contain the code for

[android-developers] Re: Problem regarding Broadcast event android.intent.action.BATTERY_CHANGED

2010-03-25 Thread AJ
ok thanks again I have :- 1- class B extends BroadcastReceiver 2- class A1 extends ListActivity 3- class A2 extends Activity I make instance of B from A1 like :- B _intanceB = new B(this); and in B i register the [ACTION_BATTERY_CHANGED] How can I register it with A2 as you said? Thanks

Re: [android-developers] Re: Problem regarding Broadcast event android.intent.action.BATTERY_CHANGED

2010-03-25 Thread Mark Murphy
AJ wrote: ok thanks again I have :- 1- class B extends BroadcastReceiver 2- class A1 extends ListActivity 3- class A2 extends Activity I make instance of B from A1 like :- B _intanceB = new B(this); and in B i register the [ACTION_BATTERY_CHANGED] How can I register it with

[android-developers] Re: Problem regarding Broadcast event android.intent.action.BATTERY_CHANGED

2010-03-25 Thread AJ
ok many many thanks AJ On Mar 25, 2:54 pm, Mark Murphy mmur...@commonsware.com wrote: AJ wrote: ok thanks again I have :- 1- class B extends BroadcastReceiver 2- class A1 extends ListActivity 3- class A2 extends Activity I make instance of B from A1 like :- B _intanceB = new

[android-developers] Re: Problem regarding Broadcast event android.intent.action.BATTERY_CHANGED

2010-03-25 Thread AJ
Just curious:- Can't I bind Broadcast event to an application or to some particular activities. SO that my all set of activities get all those broad cast event. Thanks AJ On Mar 25, 2:57 pm, AJ ajeet.invinci...@gmail.com wrote: ok many many thanks AJ On Mar 25, 2:54 pm, Mark Murphy

[android-developers] Re: APK for AGSP application

2010-03-25 Thread Kabita
exactly I am looking for an apk which is based on AGSP. Please help me. On Mar 25, 4:20 pm, Kabita san.k...@gmail.com wrote: Hi, Is there any APK available for AGPS application. Can anyboy please help me... Thanks in Advance -- You received this message because you are subscribed to the

[android-developers] Re: No Network Connectivity in Service/AlarmManager Process.

2010-03-25 Thread AuxOne
So perhaps it would suffice to just Thread.sleep() for 30 seconds after WakeLock is set, to wait for the Wifi. I'll experiment with that. -- 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: GK: Urgent -- Combine all the multiple apks in one APK file

2010-03-25 Thread Jack Ganesh
HI Mark.., Thats a good info for my mile stone. I think i need to create a single project with multiple activity . (MIDLET Suite in J2ME) Am i rite ? Now already we test completed for diff games. On Android portal there is option to upload single APK for all devices. Whether i can do any

[android-developers] Need a suggestion regarding an app architecture: IPC ?

2010-03-25 Thread Emre A. Yavuz
Hi, I'm looking for suggestions regarding an app architecture that I've just started working on. Let's say I have a Main Activity which starts a Service which will run until further response from the Main Activity that it should stop. The Service ,once it starts, will start a couple of

Re: [android-developers] Re: Problem regarding Broadcast event android.intent.action.BATTERY_CHANGED

2010-03-25 Thread Mark Murphy
AJ wrote: Just curious:- Can't I bind Broadcast event to an application or to some particular activities. SO that my all set of activities get all those broad cast event. Not really. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Online

[android-developers] Re: GK: Urgent -- Combine all the multiple apks in one APK file

2010-03-25 Thread Yahel
On Android portal there is option to upload single APK for all devices. Since I think Mark's answer is clear about the fact that ONE APK = ONE GAME, and that if you want all your games under one APK, you need to recombine them all into one single app, that you will ship as one APK, maybe we

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-25 Thread Thomas Riley
Just spoken to FedEx UK... no sign of any parcel for me in their system :( The 4 week estimate is this Tuesday for me. On Mar 25, 8:35 am, Arnon arnonse...@gmail.com wrote: Same here. Got online with FedEx Italy, they searched from March 18 till today and found no package. I hope they will

Re: [android-developers] Re: GPS Queueing in LocationListener

2010-03-25 Thread mike
On 03/25/2010 01:07 AM, Menion wrote: Hi guys, Mike, please, you wrote that you are pretty sure not to do some direct processing of satellites ephemeris in Java. But my question is, do you know some method (probably thanks to JNI) how to obtain direct measure from GPS receiver? I have some

[android-developers] Re: Problem regarding Broadcast event android.intent.action.BATTERY_CHANGED

2010-03-25 Thread AJ
thanks again - AJ On Mar 25, 3:27 pm, Mark Murphy mmur...@commonsware.com wrote: AJ wrote: Just curious:- Can't I bind Broadcast event to an application or to some particular activities. SO that my all set of activities get all those broad cast event. Not really. -- Mark Murphy (a

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-25 Thread Arnon
I think you can contact the Android Market Seeding email and ask about it, In my opinion, four business days left for your deadline is a reasonable time to approach them On Mar 25, 3:37 pm, Thomas Riley tomrile...@googlemail.com wrote: Just spoken to FedEx UK... no sign of any parcel for me in

[android-developers] MP3 Decoding on Android

2010-03-25 Thread Rob Szumlakowski
Hi. I'm trying to write a light-weight HTTP server in my app to feed dynamically generated MP3 data to the built-in Android MediaPlayer. IMPORTANT: I am not permitted to store my content on the SD card. My input data is essentially of an infinite length. I tell MediaPlayer that its data source

[android-developers] Streaming to the Android MediaPlayer

2010-03-25 Thread Rob Szumlakowski
Hi. I'm trying to write a light-weight HTTP server in my app to feed dynamically generated MP3 data to the built-in Android MediaPlayer. I am not permitted to store my content on the SD card. My input data is essentially of an infinite length. I tell MediaPlayer that its data source should

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-25 Thread Thomas Riley
Good point, will send an email their way. On Mar 25, 1:45 pm, Arnon arnonse...@gmail.com wrote: I think you can contact the Android Market Seeding email and ask about it, In my opinion, four business days left for your deadline is a reasonable time to approach them On Mar 25, 3:37 pm,

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-25 Thread David Horn
I was about to say that I'm very grateful to be offered a free Nexus One and would suggest that you wait until after the deadline before whining- uh, asking where it is. Dave. On Mar 25, 1:57 pm, Thomas Riley tomrile...@googlemail.com wrote: Good point, will send an email their way. On Mar

[android-developers] Need a suggestion regarding an app architecture: IPC ?

2010-03-25 Thread Emre A. Yavuz
Hi, I'm looking for suggestions regarding an app architecture that I've just started working on. Let's say I have a Main Activity which starts a Service which will run until further response from the Main Activity that it should stop. The Service ,once it starts, will start a couple of

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-25 Thread mscwd01
I'm in the UK too and still waiting. Are you sure FedEx will be used in the UK? It could be Royal Mail, Parcel Force, DPD etc... On Mar 25, 2:06 pm, David Horn pga...@gmail.com wrote: I was about to say that I'm very grateful to be offered a free Nexus One and would suggest that you wait until

[android-developers] Re: Problem in Showing TXT file in Webview

2010-03-25 Thread brijesh masrani
Thanks for ur replay Adrian Vintu , I have used that but now i came to know that The problem is with Encoding So if u have any idea about how to know which encoding was used for file than let me know. On Thu, Mar 25, 2010 at 5:43 PM, brijesh masrani masrani.brij...@gmail.comwrote: Hello I

[android-developers] Re: Integrate IPhone Safari like view in Android?

2010-03-25 Thread javame_android
Hi, Thanks for replying. I appreciate your idea of using Webview but the problem is that Webview will give me the image of on the Listview that is displayed on the screen. There will be other listviews too which needs to minimized. It is similar to TweetDeck application UI for Iphone. The main

Re: [android-developers] Re: Problem in Showing TXT file in Webview

2010-03-25 Thread Adrian Vintu
You can't find the encoding the user used to write the text file. You can maybe: A. force the users to write UTF-8 (or whatever the default encoding should be) B. assume the encoding is UTF-8 (or whatever the default encoding should be) C. let the user change the encoding if THEY think it's not

[android-developers] MediaPlayer Error Codes

2010-03-25 Thread momojo
I have a MediaPlayer app which seems to be working fairly well for streaming media. However I get error codes in my OnErrorListener every so often and I have no idea what they mean. Can someone explain what the following codes mean and what the appropriate action to take is? sometimes i get an

[android-developers] How to add Edittext box in a home screen widget

2010-03-25 Thread And-Rider
I want to create a custom widget for my application which should be used for doing search internally in my application.But i am not able to place an Edit text control inside a widget.While browsing further i found that Edittext box was not included for creating custom widgets

[android-developers] Re: Problem in Showing TXT file in Webview

2010-03-25 Thread Bob Kerns
If you add HTML tags, you also have to convert the text, converting and and to lt;, gt;, and amp;, respectively. But there's an easier way. Instead of webview.loadData(page, text/html, utf-8) -- use text/plain instead, and leave off the tags. On Thu, Mar 25, 2010 at 5:13 AM, brijesh masrani

[android-developers] PreferenceActivity Validation on Checkbox

2010-03-25 Thread Mark Hansen
I'm working on the settings for an application I have, and one of the checkboxes enables or disables a service. The service requires a login and password, and one other checkbox to be checked in order to function. I've messed with the android:dependency flag, but what I would rather do is in the

Re: [android-developers] Re: Problem in Showing TXT file in Webview

2010-03-25 Thread Adrian Vintu
Nice trick Bob. This totally slipped my mind :) I will use it in the future :) On Thu, Mar 25, 2010 at 3:27 PM, Bob Kerns r...@acm.org wrote: If you add HTML tags, you also have to convert the text, converting and and to lt;, gt;, and amp;, respectively. But there's an easier way.

[android-developers] Re: ImageToggleButton?

2010-03-25 Thread olivier.bo...@gmail.com
Something like this should work: ToggleButton android:id=@+id/my_button android:layout_width=wrap_content android:layout_height=wrap_content android:textOn= android:textOff=

[android-developers] Re: Answer automatically to Incoming Call

2010-03-25 Thread midoub
if you want modify source code you can use this way, that work. packages/apps/Phone/src/com/android/phone/CallNotifier.java 267: private void onNewRingingConnection(AsyncResult r) { Connection c = (Connection) r.result; if (DBG) log(onNewRingingConnection(): + c);

Re: [android-developers] Re: In-App Purchasing and the Market Agreement

2010-03-25 Thread Kevin Duffey
So has anyone found or used google checkout, or paypal, directly within your app, as opposed to sending a user to a web page to log in to paypal and so forth? I am curious how anyone has integrated checkout right into their app without the user being taken away from the app itself. I haven't

[android-developers] Speech Recognition question

2010-03-25 Thread chris harper
Hi I know to recognize speech from the user holding the phone you can use Recognizer Intent. Cool. Has anyone tried (or is it possible) to use Recognizer Intent to detect when someone on the phone is talking? I imagine this would have to be tied somehow to: VOICE_UPLINK_INPUT = 1 or

Re: [android-developers] Re: In-App Purchasing and the Market Agreement

2010-03-25 Thread Shane Isbell
I thought I'd briefly jump in on this discussion. I'm looking into providing a virtual currency/in-app billing solution for ZappMarket. ZappMarket is focused on paid app developers. I'd like to talk with developers (either on-list or you can send me an e-mail) about what your specific needs are

[android-developers] What happens with the registered broadcast receivers after the application is killed?

2010-03-25 Thread Tughi
Hi guys, I want to optimize the CPU usage in my application. Currently my application is configured to always receive the CONNECTIVITY_CHANGED action to force an update if the previous update failed because there was no connectivity. What I don't like about this is that the broadcast receiver

Re: [android-developers] cannot select target when creating new project

2010-03-25 Thread dillirao malipeddi
Hi there is no problem with your IDE at all as per your image the TargetName Vendor API level and platform selection box is squeezed set your screen resolution to display complete window (or) make the window bigger by dragging then you will see the platform selections and select build target

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-25 Thread g1bb
Anyone in or around Colorado receive anything yet? FedEx had no information for me. On Mar 25, 8:10 am, mscwd01 mscw...@gmail.com wrote: I'm in the UK too and still waiting. Are you sure FedEx will be used in the UK? It could be Royal Mail, Parcel Force, DPD etc... On Mar 25, 2:06 pm, David

Re: [android-developers] What happens with the registered broadcast receivers after the application is killed?

2010-03-25 Thread Mark Murphy
Tughi wrote: Hi guys, I want to optimize the CPU usage in my application. Currently my application is configured to always receive the CONNECTIVITY_CHANGED action to force an update if the previous update failed because there was no connectivity. What I don't like about this is that the

Re: [android-developers] Export/Import SharedPreferences

2010-03-25 Thread TreKing
On Thu, Mar 25, 2010 at 7:16 AM, Mark Murphy mmur...@commonsware.comwrote: AFAIK, you can read the SharedPreferences as an XML file. The dangerous part is that you will probably have to hand-assemble the path to the file, as I don't recall an API to get the path for a SharedPreferences file

Re: [android-developers] Re: In-App Purchasing and the Market Agreement

2010-03-25 Thread chris harper
Shane Kevin and I have been heavily involved in this because we both require in-app billing for virtual items within our apps. Actually this morning (as Kevin knows) I am trying to decide which way to go. I can either have my app access my website, require my users to enter account information

[android-developers] setting button images in drawable/xml

2010-03-25 Thread intbt
I am getting an error from Eclipse when I use this xml file (res/ drawable/btnswitch.xml) to designate different button conditions ?xml version=1.0 encoding=utf-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item android:state_pressed=true

  1   2   >