[android-developers] Re: How do I pass data between differentActivity/Process?

2008-10-27 Thread dailyLife
You can see below demo code: Intent tIntent = new Intent(); tIntent.setClassName(SKIP_PATH, SKIP_PATH_NAME); Bundle tBundle = new Bundle(); tBundle.putCharSequence(request, secondRequest.toString()); tIntent.putExtras(tBundle); startActivity(tIntent); [EMAIL PROTECTED] 2008年10月27日

[android-developers] Re: How do I pass data between differentActivity/Process?

2008-10-27 Thread Dikers
Thank you! On Oct 27, 2:17 pm, dailyLife[EMAIL PROTECTED] wrote: You can see below demo code: Intent tIntent = new Intent(); tIntent.setClassName(SKIP_PATH, SKIP_PATH_NAME); Bundle tBundle = new Bundle(); tBundle.putCharSequence(request, secondRequest.toString());

[android-developers] Fonts in XML

2008-10-27 Thread PAS
Hey developers, I have a TTF in my assets/fonts directory I can use in TextViews from within code following the API example. That is great for one-offs, but what I really want to do is to use this font in a style, and the reference that style from a layout. Broken example: !-- styles.xml --

[android-developers] Re: How do I pass data between differentActivity/Process?

2008-10-27 Thread Dikers
Sorry I didn't clear my problem, so you misunderstand my means. For Example: I have five activities in different process, then I want to start a service to manager these activities. In the service , user can send a message to stop/finish a given activities. How do I pass data

[android-developers] browse localhost using android emulator

2008-10-27 Thread mushimi
Hi all, I am using Apache server with port 80 as localhost. Google Chrome can access that localhost, but Android emulator failed (saying the web page might be temporarily down or moved). Do I need to do some setting some where in order to make it work? TIA

[android-developers] application version retrieval

2008-10-27 Thread Selmi
how can i read current application version? i mean value stored in manifest file for android:versionCode and android:versionName so far i tried to find some api for it in Application or Context, but i didn't found any. also i didn't found it in android.R. resource identifier (or in R.) so i

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread Robert K.
If you still insist on using a single activity I don't insist on anything :-) I just want to talk about it. And speaking of state, I don't think you want to be using setContentView() to change views, even within a single application. Changing content views for your application will mean the

[android-developers] Re: T-mobile G1 for testing purposes

2008-10-27 Thread Ale
Sorry Timbobsteve, I just realized I made a mistake in my previous email: I wrote free device but I did'nt mean free of charge but free of lock, unlocked. I realize it was quite stupid, sorry for my english. My concern is that in my country Android is not going to come until 2009 and I would

[android-developers] Re: Allocation too large for this process

2008-10-27 Thread blindfold
Easier said than done. An end-user of my app immediately got an OutOfMemoryError on a real G1 (not the emulator) when capturing just s single image from the camera at 2048 x 1536, the only specified resolution that I could find on the web for the T-Mobile G1. Do you know of any lower still image

[android-developers] How do I pass data between different Activity/Process?

2008-10-27 Thread Dikers
Example: activity android:name=TestActivity android:theme=@android:style/ Theme.Dialog android:multiprocess=true intent-filter action android:name=android.intent.action.VIEW / category android:name=android.intent.category.DEFAULT /

[android-developers] Re: T-mobile G1 for testing purposes

2008-10-27 Thread Timbobsteve
I must apologize for my rudeness. It was an unhappy Friday and I was/am terrified that the Android community will begin to emulate the iPhone development community (e.g. expect everything for free and ASAP). I now see that you meant a SIM-Lock "free" device for testing :P There is always the

[android-developers] Re: T-mobile G1 for testing purposes

2008-10-27 Thread Teo
This is an excellent question. T-Mobile isn't in my country as well. There are some rumors it will come, but nothing official yet. So will there be a legitimate way to get an Android phone that will work with our own SIM cards? Thanks, Teo On Oct 27, 10:33 am, Ale [EMAIL PROTECTED] wrote:

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread Peli
What I really don't like about it for example is that everytime I want to add a new activity, I have to change the Manifest.xml in addition. Then, a 'Resource is out of sync' message appears, sometimes till I restart the computer...that's really annoying... Sometimes resources don't get

[android-developers] Re: application version retrieval

2008-10-27 Thread Peli
/** * Get current version number. * * @return */ private String getVersionNumber() { String version = ?; try { PackageInfo pi = getPackageManager().getPackageInfo(getPackageName(), 0);

[android-developers] Re: HTTP proxy, android.net.Proxy, Android 1.0

2008-10-27 Thread Charlie Collins
After digging around a bit more I found this thread: http://groups.google.com/group/android-developers/msg/d8cb5935a609b8cc That indicates that the Android Proxy class is (or at least was) for use in setting settings for the built in browser. I personally hadn't thought about a device wide

[android-developers] Re: T-mobile G1 for testing purposes

2008-10-27 Thread [EMAIL PROTECTED]
There are more Android phones coming on other service providers. For now, the emulator should be fine until one of the other phones comes out. Sprint has been waffling on it, saying they will have Android phones soon but at the same time saying Android isn't good enough yet (I think they mean

[android-developers] Re: Fastest Combination of Http Post/Get and XML parsing libs

2008-10-27 Thread Guillaume Perrot
According to me, the fastest combo is to use HttpClient + SAX. SAX: encouraged by the android team, they discourage the use of XmlPullParser unless we import KXml in our source tree and use this implementation. With HttpClient, you can reuse the same socket (keepalive) to make several requests

[android-developers] Re: browse localhost using android emulator

2008-10-27 Thread Anders Rundgren
You must not use the name localhost but a weird NAT address 10.0.2.2 http://code.google.com/android/reference/emulator.html#emulatornetworking If you want to use hostnames you must also install a DNS server because the hosts file cannot be modiied. Anders On Oct 27, 8:34 am, mushimi [EMAIL

[android-developers] Re: Help_Appreciated: Sample code for getting data from a web server

2008-10-27 Thread Anders Rundgren
The common way is to use something like a web-service. It can be as simple as sending an HTTP get to http//example.com/mydbapp?item=45 which should return data in a shape that your local app understands which can be XML JSOn or custome good luck! Anders On Oct 24, 9:17 pm, Armanda Lewis

[android-developers] Re: browse localhost using android emulator

2008-10-27 Thread Al Sutton
Or use you're machines LAN IP if you're firewall allows. Al. Anders Rundgren wrote: You must not use the name localhost but a weird NAT address 10.0.2.2 http://code.google.com/android/reference/emulator.html#emulatornetworking If you want to use hostnames you must also install a DNS server

[android-developers] Start Service when phone power up

2008-10-27 Thread Breno
Hi, after i read some posts here in forum, i'm able to start my program when phone power up. But i need to start a Service, in this case, the service is a notification, just for testing. Here is my code. package com.test.StartupTest; import android.content.BroadcastReceiver; import

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread Robert K.
I'm just phantasizing now, but what if a future device features not only a back button, but also a forward button to switch between activities? If you had hard- coded the back button functionality, the forward button would fail in your application. Such a button is not implemented in the

[android-developers] Re: Fonts in XML

2008-10-27 Thread Tom Gibara
I raised this on the forums a little while ago and found out it isn't supported in 1.0. Seeing your post reminded me that I didn't subsequently file an RFE, so I just wrote this: http://code.google.com/p/android/issues/detail?id=1087 It lists some possible workarounds that you might find useful.

[android-developers] Re: Copying an area from a drawable

2008-10-27 Thread Ludwig
I am not entirely sure if this is what you are looking for, but the Canvas has a method where you can specify the a source and destination rectangle to draw from and to: public void drawBitmap(Bitmapfile:///C:/Software/android/docs/reference/android/graphics/Bitmap.html bitmap,

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread Robert K.
On the emulator, each sample unit of 'API Demos' is made as single Activity. It lasts about 1000-1200 milliseconds till a unit starts. I don't think this is by design, but simply because it lasts that long to load the activity... with setContentView(View) the new screen appears almost

[android-developers] Re: PreferenceActivity Refresh Problem

2008-10-27 Thread Guillaume Perrot
Few tips I currently use : If you want to clear all settings easiliy: getSharedPreferences(..., MODE_PRIVATE).edit().clear().commit(); This method works well when: * you don't have invisible settings, or you want them to be cleared too. * you have specified default values correctly in the xml

[android-developers] Re: Start Service when phone power up

2008-10-27 Thread Charlie Collins
At a glance your code looks correct. I use that same approach and it works fine (this project for example: http://unlocking-android.googlecode.com/svn/chapter4/trunk/WeatherReporter/src/com/msi/manning/AndroidManifest.xml). The only difference I see there is that your receiver has the LAUNCHER

[android-developers] Re: How do I pass data between differentActivity/Process?

2008-10-27 Thread Charlie Collins
AIDL, IPC - Parcelable, Binder, etc. is how you pass data directly between processes. http://code.google.com/android/reference/aidl.html That can be cumbersome and complicated though. You may be better off using the Android way and making your own ContentProvider that all the activities and

[android-developers] Re: Fastest Combination of Http Post/Get and XML parsing libs

2008-10-27 Thread Casey Link
On Mon, Oct 27, 2008 at 6:01 AM, Guillaume Perrot [EMAIL PROTECTED] wrote: According to me, the fastest combo is to use HttpClient + SAX. SAX: encouraged by the android team, they discourage the use of XmlPullParser unless we import KXml in our source tree and use this implementation. Why

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread Peli
Hm, if you have a side-by-side demo comparing the two approaches and showing that one is really much faster than the other while offering same functionality, this calls for explanation from the Google folks :-) To be fair this comparison should be made on a real device though, not on the

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread tauntz
a) setContentView(new content) b) Send an Intent so the OS can resolve it, start a new Activity (optionally restoring it's state), call the needed methods of the old Activity (onPause() etc..) and finally call setContentView(new content) in the new Activity (I know, it's a simplification..) You

[android-developers] Re: Join via ContentProvider

2008-10-27 Thread jtaylor
That looks like two tables. Contacts.People Contacts.People.Phones - Juan On Oct 26, 12:52 pm, Anm [EMAIL PROTECTED] wrote: jtaylor, Did you read the example?  It does not do a joint.  Instead it uses a Uri subpath notation for its child query, within the same table rather than joining

[android-developers] Re: Join via ContentProvider

2008-10-27 Thread jtaylor
I'm just supposing that each class is a table. I don't know how android.provider is set up, though I guess one can now see from the source code. - Juan On Oct 27, 9:15 am, jtaylor [EMAIL PROTECTED] wrote: That looks like two tables. Contacts.People Contacts.People.Phones - Juan On Oct

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread Robert K.
I agree with you, tauntz. Maybe it won't last 'seconds' with the activity approach to switch (with further investigation: the API demo needs 1 sec. cause of the large amount of list items, i think) but there is a remarkable delay by simply switching one LinearLayout to another. With

[android-developers] Re: Manipulate Drawable Resource

2008-10-27 Thread cyntacks
Hi Kyle, Where does the icon live that you are trying to update? Is it inside of your app, or is it on the Android home screen? From what I can gather the SDK does not allow one to update the icon on the home screen during runtime (at least that is what I read here on the board when attempting

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread Peli
Hm, according to my experience, switching between activities works quite swiftly. I wonder if you do a fair comparison. If you have a lot of initialization going on in onCreate() and onResume() then it is hardly the OS to be blamed. Some of the heavier objects could be stored in static

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread Peli
As I've said, both classes Intent and Activity contain about 3000-4000 lines of code... Most of which are actually documentation: http://git.source.android.com/?p=platform/frameworks/base.git;a=blob;f=core/java/android/app/Activity.java;h=fa310a5cf14ae6952188895ed9804fe1d0b780a1;hb=HEAD

[android-developers] Notification from a Broadcast Receiver Class

2008-10-27 Thread AusSeattle
Hi, I am trying to set an automatic notification to the ticket text when a broadcast receiver class returns a certain result. Here is what I have so far: public class PriceCheck extends BroadcastReceiver{ int alarmCount = 0; public void onReceive(Context context, Intent

[android-developers] Anyone mind testing quickly?

2008-10-27 Thread Nate Sanden
Anyone mind testing this on a real phone for me (before the marketplace launch tomorrow)? It's a basic tip calculator. The main thing I'm not sure will work are the blue arrow buttons to the right of the text fields. You should be able to touch them to modify values in the calculator. Appreciate

[android-developers] How can I change a ListView to ExpandableList

2008-10-27 Thread [EMAIL PROTECTED]
I am programing a business card system . And when this program is start , user can choose what list will be show. The list can be order by card or order by group when using order by card I will using ListView to show when using order by group I will using ExpandableList to show The question

[android-developers] Re: EditText

2008-10-27 Thread [EMAIL PROTECTED]
I was wondering the same thing yesterday. I'm trying to make minor changes to the notepad tutorial and this was one of them! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Image Zoom

2008-10-27 Thread Jose Alonso
Hi all, i would like to make zoom on a image and, when the zoom is activated, browse the image with touch. Any idea? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] application size / resources

2008-10-27 Thread ammar
Hi I am trying to design an application that has lots of data (medical reference stuff). Probably more than 90% of the size of this application will be resource files (images/text). Given that the G1 has about 64mb free when they arrive to the customer (i.e. after accounting for default

[android-developers] g1 keyboard missing up/down/left/right keys?

2008-10-27 Thread g1ster
I set up my g1 phone to test the Snake sample came with the Android SDK. The application requires up/down/left/right keys, but they not available on the g1 keyboard - did I miss it? I changed the code to use I, K, J, L keys instead. It works when I have the device connect to to the computer with

[android-developers] G1 GPS receiver turn on and turn off

2008-10-27 Thread hdk
Hi, I would like to control the GPS receiver via software. Simple turn on and turn off. Has anyone done it? I imagine that T-Mobile/HTC would have to share G1 specific SDK to accomplish that, am I right? Thanks, hdk --~--~-~--~~~---~--~~ You received this

[android-developers] Re: 'Keytool error' when building

2008-10-27 Thread summagun
Thanks mitschi. Tha worked. Also found the cool tool to choose and select an alternative update-alternatives --config keytool On Sep 24, 1:04 pm, mitschi [EMAIL PROTECTED] wrote: Hi, I had the exact same problem. here is what i did: // look which keytool is first in path # which

[android-developers] How to get the picture(like a .jpg picture) in Android?

2008-10-27 Thread robert
Maybe there is one way, that is to decodeResource to be a bitmap and get height and width of this bitmap, but if there is any other way to get the size of picture(obtained by id)? Plz help me, thanks a lot! --~--~-~--~~~---~--~~ You received this message because

[android-developers] Problems with socket connection

2008-10-27 Thread Sgom
Hi people, first of all I tell you that my English isn't so good, so please forgive my ugly grammar! I have this problem: when using sdk m5 I wrote an Android app (running on the emulator) and a Java program running on the pc. The java program uses BlueCove to interact with the bluetooth radio

[android-developers] how to stay in webview without opening new browser window

2008-10-27 Thread hao
if i make the webview load a web page, and in that web page i press on a form submit button, then another browser window is open. How can i make everything stay in my app instead of opening a new browser window? --~--~-~--~~~---~--~~ You received this message

[android-developers] Streaming Media to Android Success!!!!

2008-10-27 Thread 3D eros
After purchasing 2 G1 phones I was very eager to use the 3G service in my area. Long story short when found that there is currently no media player on the OS out the box, I started to look and found that there was currently no solution available until I found this: www.Ifunpix.com I usually use

[android-developers] load and test apps on a g1 device

2008-10-27 Thread g1ster
I've been testing my apps on Android provided emulators on Eclipse in Vista. Just got a g1 phone. Plugged it in my computer. But it doesn't show up on the emulator list - it is not an emulator I guess! Question: How to test my apps directly on the g1 device? Thanks!

[android-developers] Re: My application doesn't work...

2008-10-27 Thread Jun'ichi Hirayama
did you exec wipe-data ? If you didn't exec wipe-data,you should exec onece . ex 1) SDK run Run- Run configuration - Select Target tab - check Wipe User Data ex 2) Console exec below comand emulator -wipe-data 2008/10/27 Yoshiyuki [EMAIL PROTECTED] Thanks for your reply, Hirayama-san.

[android-developers] Uploads disabled in browser

2008-10-27 Thread hao
hey guys, is there anyway to upload an image from android/simulator through a web page? --~--~-~--~~~---~--~~ 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: mail.jar activation.jar problem in android

2008-10-27 Thread ena
im using example http://davanum.wordpress.com/2007/12/22/android-send-email-via-gmail-actually-via-smtp/ with 1.0 and found Following is the exception. E/OSNetworkSystem( 448): unknown socket error -1 E/SendMail( 448): Could not connect to SMTP host: smtp.gmail.com, port: 465 E/SendMail( 448):

[android-developers] Re: T-mobile G1 for testing purposes

2008-10-27 Thread Ale
shadowdrakken, I know that more phones are coming out with Android, but apart from the USA, the situation is quite confusing. In many european countries we still don't know when and if Android phones are hitting the market. I will try to buy a G1 next month in NY, if it will not be possible I

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread Robert K.
Here's the side-by-side app I wrote: http://www.anddev.org/viewtopic.php?p=12247#12247 setContentView(view) needed 2-5 ms, new Activity approach 40-90ms for this simple example. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: process ids

2008-10-27 Thread alexdonnini
Ludwig, Thanks. I was aware of the /proc structure. ps gets its data from / proc/stats I thought that using ps would minimize the possibility of future incompatibilities. when running the code I listed below, it does not fail. However, all it seems to retrieve is the column headers. Note that

[android-developers] Re: T-mobile G1 for testing purposes

2008-10-27 Thread whitemice
I am a T-Mobile customer/Android developer living in Germany, and we have been promised a device sometime in Q1/2009 (after USA, then UK). As it takes 90 days to get an officially locked T-Mobile USA device, I am assuming that all unlocked G1’s currently listed on eBay are fake. I am also unsure

[android-developers] Re: g1 keyboard missing up/down/left/right keys?

2008-10-27 Thread Ed
Hi, I had the same problem with the Lunar Lander application. Someone on this group told me that the D-Pad events are supposed to be handled by the trackball, but this is definitely not happening. Please post if you get a solution. I have been trying to find an applicable code snippet for

[android-developers] Problem with ImageView

2008-10-27 Thread Christian Wiesbauer
Hi, I have an Activity which contains an ImageView. If I call another Activity via “startActivity” and then move back to the starting Activity via the “back button” the ImageView is greyed-out like it is disabled. Has anybody encountered this problem? How can I avoid it? Best regards,

[android-developers] Re: HttpURLConnection getResponseCode

2008-10-27 Thread Michael Bleigh
Add me to the list of people who are experiencing this problem. Anyone have solutions? On Oct 16, 11:43 pm, Gil [EMAIL PROTECTED] wrote: I learned more about the problem. It always occurs after I cancel a GET request. By cancel I mean quit the loop that reads from the input stream, disconnect

[android-developers] More highlevel 3D development

2008-10-27 Thread Steff
Hi As I understand it, the only 3D graphics related thing that comes with Android, is the raw OpenGL ES. I would like to work with my 3D applications for Android at a little higher level. For instance I would like to have a GLUT layer ontop of OpenGL ES. Does anyone know if that is possible? If

[android-developers] Re: process ids

2008-10-27 Thread Ludwig
Thanks, that is quite a bit more elegant than what I proposed. (Hint to Google: the documentation for the clear() method on the SharedPreferences.Editor says: Mark in the editor to remove *all* values from the preferences. Once commit is called, the only remaining preferences will be any that you

[android-developers] Why Android Market does not accept payments from China?

2008-10-27 Thread NY
I come from China and register as a developer When I click continue and pay my registration fee with google checkout System said Android Market does not accept payments from China I bought google apps use the some card before When will Android Market support developer from China? Or just a

[android-developers] Re: Why Android Market does not accept payments from China?

2008-10-27 Thread george_c
http://checkout.google.com/support/sell/bin/answer.py?hl=enanswer=42871 On Mon, Oct 27, 2008 at 5:06 PM, NY [EMAIL PROTECTED] wrote: I come from China and register as a developer When I click continue and pay my registration fee with google checkout System said Android Market does not

[android-developers] Re: Why Android Market does not accept payments from China?

2008-10-27 Thread Shane Isbell
Hi, You can stock your app at http://slideme.org. We don't charge any fees. Shane On Mon, Oct 27, 2008 at 8:06 AM, NY [EMAIL PROTECTED] wrote: I come from China and register as a developer When I click continue and pay my registration fee with google checkout System said Android Market

[android-developers] MyLocationOverlay Disappears

2008-10-27 Thread Cadge
Hi, I created a MapView and added a MyLocationOverlay to it. If I pass a new GPS lat/lon to the app using DDMS then the blue dot will be shown at that location, which is fine. However if I leave the app running then the blue dot will eventually disappear, and the only way to get it back is to

[android-developers] Re: Why Android Market does not accept payments from China?

2008-10-27 Thread NY
I' ve already got a google checkout account. And used the same card to buy the google app service(http:// www.google.com/a) several months ago I just have another try that I can buy more google apps on that. Order Details - Google Apps, 1600 Amphitheatre Parkway, Mountain View, CA 94043 US are

[android-developers] Re: process ids

2008-10-27 Thread Ludwig
Sorry that was posted on the wrong thread. 2008/10/27 Ludwig [EMAIL PROTECTED] Thanks, that is quite a bit more elegant than what I proposed. (Hint to Google: the documentation for the clear() method on the SharedPreferences.Editor says: Mark in the editor to remove *all* values from the

[android-developers] Re: Why Android Market does not accept payments from China?

2008-10-27 Thread atrus123
Wait... we can register as Android developers already? I expected to see an announcement on the Android blog. Where's the link? On Oct 27, 11:06 am, NY [EMAIL PROTECTED] wrote: I come from China and register as a developer When I click continue  and pay my registration fee with google

[android-developers] Re: PreferenceActivity Refresh Problem

2008-10-27 Thread Ludwig
Thanks, that is quite a bit more elegant than what I proposed. (Hint to Google: the documentation for the clear() method on the SharedPreferences.Editor says: Mark in the editor to remove *all* values from the preferences. Once commit is called, the only remaining preferences will be any that you

[android-developers] Re: Why Android Market does not accept payments from China?

2008-10-27 Thread NY
market.android.com On 10月27日, 下午11时27分, atrus123 [EMAIL PROTECTED] wrote: Wait... we can register as Android developers already? I expected to see an announcement on the Android blog. Where's the link? On Oct 27, 11:06 am, NY [EMAIL PROTECTED] wrote: I come from China and register as

[android-developers] Developing GPS Application on Android

2008-10-27 Thread Mayank Rana
Hi All, I need couple of things as below to start with Developing GPS Application on Android. 1. What are the currently available GPS Application or basic test application on Android Platform? 2. How to start with Developing GPS Application on Android i.e. available interface./class @ Location

[android-developers] Re: application size / resources

2008-10-27 Thread Ludwig
There have been a few conversations on this topic before and I think the answer is 'no'. Applications install onto the built-in memory, not onto the SD card. If you need larger resources, you will need to implement a download from the web, which can save onto the card. (I think this should change,

[android-developers] Re: Developing GPS Application on Android

2008-10-27 Thread nkijak
Maybe there's a language barrier or something. Did you look at the information from your earlier post? http://groups.google.com/group/android-developers/browse_thread/thread/8aac9166789efe32/b098663fbd23c8d8#b098663fbd23c8d8 Are you looking for a specific piece of information or a demo

[android-developers] Re: Manipulate Drawable Resource

2008-10-27 Thread Kyle
Hey Kevin, Thanks for the response. The icon I'm trying to update would be a placeholder image that I would store in the resources of my application. I was hoping I would be able to change this within my program based on certain conditions and have the status bar reflect the changes when the

[android-developers] Re: Why Android Market does not accept payments from China?

2008-10-27 Thread InC
Hmmm, I don't see a link to register android apps on there, am I missing something? --~--~-~--~~~---~--~~ 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: G1 GPS receiver turn on and turn off

2008-10-27 Thread nkijak
Just guessing here, but have you checked the system configuration DB? On Oct 26, 9:34 pm, hdk [EMAIL PROTECTED] wrote: Hi, I would like to control the GPS receiver via software. Simple turn on and turn off. Has anyone done it? I imagine that T-Mobile/HTC would have to share G1 specific

[android-developers] How fast is the T-Mobile G1?

2008-10-27 Thread PorkChop
Has anyone ever done a speed test on this phone yet, so we know exactly how many bogomips it can do? Starting a shell and typing: cat /proc/cpuinfo should give the answer. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: EditText

2008-10-27 Thread jphdsn
and you don't find a solution? On Oct 27, 12:59 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I was wondering the same thing yesterday. I'm trying to make minor changes to the notepad tutorial and this was one of them! --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Why Android Market does not accept payments from China?

2008-10-27 Thread Wiktor
There is a link on the right side of market.android.com saying: Interested in having your application in Android Market? Learn more On 27 Paź, 16:53, InC [EMAIL PROTECTED] wrote: Hmmm, I don't see a link to register android apps on there, am I missing something?

[android-developers] Re: Why Android Market does not accept payments from China?

2008-10-27 Thread Wiktor
Sorry for double post but here's the direct link: http://market.android.com/publish On 27 Paź, 17:16, Wiktor [EMAIL PROTECTED] wrote: There is a link on the right side of market.android.com saying: Interested in having your application in Android Market? Learn more On 27 Paź, 16:53, InC

[android-developers] Re: EditText

2008-10-27 Thread Romain Guy
android:gravity=top|left On Oct 27, 2008 9:19 AM, jphdsn [EMAIL PROTECTED] wrote: and you don't find a solution? On Oct 27, 12:59 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I was wondering the same thin... --~--~-~--~~~---~--~~ You received this

[android-developers] Re: How fast is the T-Mobile G1?

2008-10-27 Thread shyamal
$ cat /proc/cpuinfo Processor : ARMv6-compatible processor rev 2 (v6l) BogoMIPS: 245.36 Features: swp half thumb fastmult edsp java CPU implementer : 0x41 CPU architecture: 6TEJ CPU variant : 0x1 CPU part: 0xb36 CPU revision: 2 Cache type : write-back

[android-developers] Google maps not working on G1

2008-10-27 Thread nick fox
When I install this on my phone, all I see is a blank grid, no map. Does anyone see any errors? It works fine when I run it in the emulator with the debug maps api key but not on the phone with the release maps api key. thanks Nick GoogleMap.java package com.websmithing.googlemap; import

[android-developers] GridView Selector Padding

2008-10-27 Thread [EMAIL PROTECTED]
How do you change the padding on the GridView selector? With the default settings, the selector is wider than my column width. I could use setSelector but I would rather not muck with the default functionality. --~--~-~--~~~---~--~~ You received this message

[android-developers] Documents supported on Android

2008-10-27 Thread Jose Alonso
Hi, is there any way to open files .pdf, .doc, .ppt, .odt ... with Android? thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread Robert K.
the 40 ms in your example contain creating a new GestureDetector (which you don't do when you switch within your activity), and packing and retrieving the start value into an intent extra. that's exactly the point. Not only the GestureDetector, but you have to create the whole application

[android-developers] Re: Run function when EditText text changed

2008-10-27 Thread David
So that's how I use the TextWatcher...Ok, it works perfectly! Thanks tauntz! (Am I correct in assuming this is how to use the tabHost.setOnTabChangeListener()?) On Oct 26, 12:39 pm, tauntz [EMAIL PROTECTED] wrote: http://code.google.com/android/reference/android/widget/TextView.html...)

[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-27 Thread Robert K.
By the way, I've also tried a version where I deleted GestureDetector and the whole onGestureListener -stuff from Second.java... The result was a minimum of 36ms...mostly it was 42 or 45ms. The peak lowered a little bit. --~--~-~--~~~---~--~~ You received this

[android-developers] Android App Store

2008-10-27 Thread JoshTheCoder
Was wondering if its possible to run the Android App Store application on the emulator. I'd like to browse the store and see what apps are available w/o having to buy the phone. I checked out the GIT repository, but don't see the App store application in there. I'm guessing Google is keeping that

[android-developers] Re: How fast is the T-Mobile G1?

2008-10-27 Thread zl25drexel
how did you get a command line prompt on the phone? On Oct 27, 12:52 pm, shyamal [EMAIL PROTECTED] wrote: $ cat /proc/cpuinfo Processor       : ARMv6-compatible processor rev 2 (v6l) BogoMIPS        : 245.36 Features        : swp half thumb fastmult edsp java CPU implementer : 0x41 CPU

[android-developers] question about IBinder.queryLocalInterface()

2008-10-27 Thread Leo
In Binder.java, public void attachInterface(IInterface owner, String descriptor) { mOwner = owner; mDescriptor = descriptor; } /** * Attempt to retrieve a local implementation of an interface * for this Binder object. If null is returned, you will need

[android-developers] Cell IDs by cell phones

2008-10-27 Thread Roby
Hello all, Is there any chance that the cell phone may have information about ALL the cell ids that it can sense. I know that I can get the cell id of the tower I'm connected to, but can I get the cell ids of other cell towers in my area??? --~--~-~--~~~---~--~~

[android-developers] Re: How fast is the T-Mobile G1?

2008-10-27 Thread Joe Bowser
I don't own a phone (I'm in Canada), but the serial shouldn't be zeroed out, should it? On Oct 27, 9:52 am, shyamal [EMAIL PROTECTED] wrote: $ cat /proc/cpuinfo Processor       : ARMv6-compatible processor rev 2 (v6l) BogoMIPS        : 245.36 Features        : swp half thumb fastmult edsp

[android-developers] IMAP Email message body is null

2008-10-27 Thread coszmos
Not sure if this is where bug reports go, but in lieu of a known tracking mechanism here's my bug: Synopsis: IMAP Email message body is null Platform: T-Mobile G1 Issue: Using IMAP Email client, some messages contain a body consisting of the word null. This is using the Sun Java System

[android-developers] Re: Anyone mind testing quickly?

2008-10-27 Thread Martijn Schuemie
On a similar note: Would anybody mind testing this application on a real phone: http://grocerylist.schuemie.net It is a simple grocery list application (freeware). I live in Europe, and it will be some time before I get to buy an Android phone! On Oct 27, 6:40 am, Nate Sanden [EMAIL PROTECTED]

[android-developers] Re: Documents supported on Android

2008-10-27 Thread twilightwolf90
Not yet. The best way is to email them to your Gmail account and have it parse it into HTML, but its really poor. You can't modify it either. Hopefully, someone is working on an editor. I just don't have the experience to code it yet. (where is Google Docs on Android? C'mon Google!) Andrew

[android-developers] Re: Anyone mind testing quickly?

2008-10-27 Thread Shane Isbell
I (and others) can help out with G1 testing of the applications stocked to SlideME: http://slideme.org. Thanks, Shane On Mon, Oct 27, 2008 at 8:48 AM, Martijn Schuemie [EMAIL PROTECTED]wrote: On a similar note: Would anybody mind testing this application on a real phone:

[android-developers] Re: G1 GPS receiver turn on and turn off

2008-10-27 Thread hdk
It's not in android.provider.Settings.System where I suspected it would be. I also searched the SDK and it has no references to GPS anywhere in it. LIke I mentioned before: it looks like we are missing certain control capabilities that are specific to HTC implementation. Thanks, hdk On Oct

  1   2   >