[android-developers] Re: Dev Phone and RC33 update

2009-03-03 Thread Al Sutton
You might want to move this onto this thread; http://groups.google.com/group/android-platform/browse_thread/thread/803fe73023a24536/ Al. vendor wrote: Then, could you create a virtual partition for the secure dirs and encrypt it with key which only the System knows and when you flash the

[android-developers] Spreadsheet-like Grid?

2009-03-03 Thread Miguel Paraz
Hi, Is it possible to build a spreadsheet-like grid? I would like to select single cells, or one row at a time,like a database viewer. Or would it need to be implemented at the framework level? I'm thinking of a UI equivalent of something like this AJAX control, which may be opened in the

[android-developers] About porting Android to CDMA phones?

2009-03-03 Thread ilikeB2
Hi Because there is a new project that wants me to porting android to cdma phones, before that, we have made the gsm version as a product, but I am not sure that if GOOGLE has updated a different version suitable for CDMA? If it has, I have to update my code...especially the RIL module, Thanks!

[android-developers] Re: poblem in reading file of android.provider.MediaStore.Images.Media.INTERNAL_CONTENT_URI

2009-03-03 Thread zeeshan
thanks for your answer , you said i need to use content resolver. i tried but no solution yet, can you please give me a simple example. i got a media content like content://media/external/images/media/6 (this is image content) which i need to pass in InputStream. On Mar 2, 4:09 pm, Marco

[android-developers] Re: Am I able to hook file system on Android

2009-03-03 Thread Philipp Stecher
Hi I think what you are looking for is a ContentProvider. Be sure to read the document on Datastorage too. (in your SDK directory at docs/guide/topics/data/data-storage.html) good luck, philipp Hello guys. Am I able to hook file system on Android? that means before a file is opened by

[android-developers] Re: How to view the list of network connection mobile APNs or WiFi configured on the emulator.

2009-03-03 Thread munna
What is the database name in which this APN settings are there? On Mar 2, 3:52 pm, Joe Petruchi petruchi.dr...@gmail.com wrote: you may need to do a managedquery to the Database for APN's with uri Telephony.Carriers.CONTENT_URI and make a list yourself as per my knowledge. On Mon, Mar 2,

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-03-03 Thread Nanard
Hi Us (developper) have not infinite resources. I have started to translate my application, but I don't know which languages are the most urgent (English, Spanish, German, French). It would be great if on the official Android site, we had a page showing all countries where Android devices are

回复: [android-developers] Re: Am I able to hook file system on Android

2009-03-03 Thread Jiang
Thanks for your replay. I'll replay this topic after reading the documents and doing some test. --- 09年3月3日,周二, Philipp Stecher p...@hexdust.net 写道: 发件人: Philipp Stecher p...@hexdust.net 主题: [android-developers] Re: Am I able to hook file system on Android 收件人:

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-03-03 Thread Al Sutton
As you can only buy consumer devices in the UK US I would suggest English should be the primary language for your application. Beyond that it really depends on where devices become available and which countries you wish to support. Al. http://andappstore.com/ Nanard wrote: Hi Us

[android-developers] Add MapActivity to ActivityGroup

2009-03-03 Thread Pratap
Hi I want to add a MapActivity in an ActivtyGroup. As only single level inheritance is supported, my class can either extend from either MapActivity or ActivityGroup. As far as I know MapActivity is not a part of ActivityGroup. I want an activity to extend MapActivty as well be a part of an

[android-developers] Re: Hello, Android Developers!

2009-03-03 Thread Javier Segura
Welcome! On Mon, Mar 2, 2009 at 10:38 PM, ReturnOfTheAnonymous phch...@gmail.com wrote: Hi all! I just joined. Sorry if I'm not supposed to post something like this... -- Javier --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: HTML login form works in Android browser and fails with WebView ?

2009-03-03 Thread Miguel Paraz
On Mar 2, 11:14 pm, Derek cram.de...@gmail.com wrote: Anyone ? Even simple links are not followed. On Mar 1, 9:08 pm, Derek cram.de...@gmail.com wrote: To get the login form, use: String url = http://m.flickr.com/signin/;; On Mar 1, 9:03 pm, Derek cram.de...@gmail.com wrote: Hi

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-03-03 Thread Nanard
It's available in Germany ans Spain. And this week in France. I even had one customer for my application having a .jp mail adress I had to browser several web sites, blogs to find the info. It would be very helpfull if an official web page could be available to track this. On 3 mar,

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-03-03 Thread Nanard
In the US, I suppose there are a lot of Spanish speaking people which have Android phones also :-) --~--~-~--~~~---~--~~ 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] Regarding ADB offline message

2009-03-03 Thread vrukesh
Hi, We are using Android 2.6.25 Linux Kernel on ARM-based chip and have Android SDK 1.0r2 on PC. When building the Kernel, we set the flag CONFIG_USB_ANDROID_ADB_GADGET. When we connect USB cable to the target, and query the state of the device, we get message:

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-03-03 Thread Al Sutton
From the looks of the Wikipedia article it http://en.wikipedia.org/wiki/HTC_Dream looks like it should also be available in Poland, Australia, and Singapore. Germany is confirmed, but Spain seems to be in question. I guess it's now a question of which languages are you comfortable doing

[android-developers] Où? : Android and Facebook i n a same application

2009-03-03 Thread sylvek
I proud to annonce my own application :) Où is an android application that uses location to help you to find new friends. You can change your status, read friend's profiles, meet new people and maybe more later :) Où is present on the Android Market (Applications/Social). You can find your

[android-developers] Re: Regarding ADB offline message

2009-03-03 Thread Al Sutton
If you're using Vista there is no fix. It's been broken for a while; http://groups.google.com/group/android-developers/browse_thread/thread/5c9b33eb9373327f Al. vrukesh wrote: Hi, We are using Android 2.6.25 Linux Kernel on ARM-based chip and have Android SDK 1.0r2 on PC. When building

[android-developers] Injecting an intent when using ActivityInstrumentationTestCase

2009-03-03 Thread mkelly
Anyone know of a way to specify an intent used to start the Activity for ActivityInstrumentationTestCase. The activity I'm trying to test has a different layout depending on the extras in the intent. Thanks --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-03-03 Thread Nanard
There are online translation services. They are not really good, but for text button/GUI having in english 1 to 3 words, it should be well translated. And also : I (we all) need that for advertisement :-) --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Où? : Android and Faceboo k in a same application

2009-03-03 Thread sylvek
to use it. 1. you need to register Où by adding a generated code : http://www.facebook.com/code_gen.php?v=1.0api_key=a35f127d062de5d648dff53ba6ef74f7 2. you need to authorize change status : http://www.facebook.com/authorize.php?v=1.0ext_perm=status_updateapi_key=a35f127d062de5d648dff53ba6ef74f7

[android-developers] Input validation

2009-03-03 Thread muckwarrior
Before I implement this in my app I just wanted to find out if there are any guides to best practices regarding input validation in android? For example setting certain fields as required or matching a regex, e.g email validation. Maybe I'm searching for the wrong terms but I cant find any

[android-developers] Re: Add MapActivity to ActivityGroup

2009-03-03 Thread Mark Murphy
Pratap wrote: Hi I want to add a MapActivity in an ActivtyGroup. As only single level inheritance is supported, my class can either extend from either MapActivity or ActivityGroup. As far as I know MapActivity is not a part of ActivityGroup. I want an activity to extend MapActivty as

[android-developers] Re: How to view the list of network connection mobile APNs or WiFi configured on the emulator.

2009-03-03 Thread Joe Petruchi
The DB is here content://telephony/carriers Regards Joe On Tue, Mar 3, 2009 at 3:27 PM, munna shankar.moha...@gmail.com wrote: What is the database name in which this APN settings are there? On Mar 2, 3:52 pm, Joe Petruchi petruchi.dr...@gmail.com wrote: you may need to do a

[android-developers] Shared preferences not accessible in service

2009-03-03 Thread Shadakshari Hiremath
Hello Android, We are using SharedPreferences(Not default preferences.) to store our application related settings. These settings are not accessible in the background service as the application context is different from service context. It always returns the default values. We want to have our

[android-developers] Which version of source codes is CupCake? When will it release?

2009-03-03 Thread david liu
I saw some people mentioned CupCake in the email threads, could anyone talk in details? --~--~-~--~~~---~--~~ 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] what is difference between startActivity and startSubActivity()

2009-03-03 Thread guptha
hi, what is the scenario that makes me to pick between startActivity and startSubActivity --~--~-~--~~~---~--~~ 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] Android Browser - Downloading files with square brackets in the name [ ]

2009-03-03 Thread Alec
Hi I noticed recently that i cant download files with square brackets in. For instance i have uploaded two files that are exactly the same except for thier filename http://zerofate.com/test.torrent http://zerofate.com/test[square].torrent http://zerofate.com/test1.apk

[android-developers] Antialias transformed bitmap ??

2009-03-03 Thread quakeboy
How to draw antialiased bitmap along with transformation matrices.. I use matrix to rotate and scale a bitmap and then draw it using canvas.drawBitmap But the bitmap after the transformation looks ugly and aliased. I tried using the paint.antialias(true) and passing it to drawBitmap function. It

[android-developers] Re: When is SDK based on cupcake getting released

2009-03-03 Thread David Turner
While I can't tell when the Cupcake SDK will be publicly available, I'm very surprised by your statement that debugging and make are very slow on ubuntu. What is exactly your setup, and what kind of slowness do you experience ? On Tue, Mar 3, 2009 at 8:25 AM, Shadakshari Hiremath

[android-developers] Re: Shared preferences not accessible in service

2009-03-03 Thread dar
See the Note on the docs: http://developer.android.com/reference/android/content/SharedPreferences.html. So, if your reader and writer are in the same process you are ok. If they are in separate processes you have to find another way to keep them in sync until the sdk supports separate

[android-developers] Re: Shared preferences not accessible in service

2009-03-03 Thread mac
Hi, as I understand you can use the option MODE_WORLD_WRITEABLE in getSharedPref to achieve this. I actually did not use this, because my service runs in the same process. Regards, Mirko On 3 Mrz., 14:27, dar dher...@gmail.com wrote: See the Note on the

[android-developers] Re: Dev Phone and RC33 update

2009-03-03 Thread Jean-Baptiste Queru
I'm doing what I can to get a 1.1 update available to ADP1 owners. At a high level the differences between 1.0 and 1.1 for the ADP1 should be about the same as the differences between 1.0 (TC4-RC30) and 1.1 (PLAT-RC33) for the US T-Mobile G1, but I do not have visibility over the exact details

[android-developers] Re: BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED

2009-03-03 Thread Graeme
Hi Marco OK remove from the receiver tag but a uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED/ tag as ac hild of the application tag is needed ? Thanks Graeme On Mar 2, 4:15 pm, Marco Nelissen marc...@android.com wrote: On Mon, Mar 2, 2009 at 5:23

[android-developers] Re: Why standard component with private members?

2009-03-03 Thread Jean-Baptiste Queru
Those members are private, either because there are other ways to achieve the same goal, or because they might change in the future in a what that would break applications that rely on it. I guess that your situation is the second one. JBQ On Mon, Mar 2, 2009 at 8:09 PM, Alger, Lin

[android-developers] Re: what is difference between startActivity and startSubActivity()

2009-03-03 Thread Mark Murphy
guptha wrote: hi, what is the scenario that makes me to pick between startActivity and startSubActivity First, there is no startSubActivity() any more -- it is startActivityForResult(). You will choose startActivityForResult() if you are expecting the sub activity to return a result (e.g.,

[android-developers] Re: When is SDK based on cupcake getting released

2009-03-03 Thread Shadakshari Hiremath
I have core 2 duo processor at 2.8GHz and 2GB RAM. Ubuntu is running in VM Player under windows XP. In ubuntu DDMS is needed to be run manually and attached for debugging. This attach takes time. Step and step into using F5 and F6 keys takes longer. In windows SDK debugging is integrated in ADT

[android-developers] Re: No applications can perform this action. error.

2009-03-03 Thread XTPL.Java
hey this is not a problem dude ...!! try app in real device... it works ... !! --~--~-~--~~~---~--~~ 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] Confused about launch modes

2009-03-03 Thread ellipsoidmob...@googlemail.com
Hi For my application, I only ever want a single instance to run and I only ever want a single instance to exist of my main activity class. If the user navigates away from my app (e.g. by pressing the home key) then if it hasn't been destroyed by the system I'd like the user to go back to the

[android-developers] Get Activity to foreground

2009-03-03 Thread Geos
Hello Who knows how I can make Activity visible from invisible process? According http://developer.android.com/guide/practices/design/seamlessness.html it is impossible. Is true or somebody knows some tricks? Thank You. --~--~-~--~~~---~--~~ You received this

[android-developers] Re: How to get more sales on the Android Market

2009-03-03 Thread Ed Burnette
Here's a progress report: 57% of the poll respondents said lower the price so I cut it temporarily from $2.99 to $0.99 (1/3rd the original). In the short time since then, sales increased (2x), but not enough to make up for the price difference. See http://blogs.zdnet.com/Burnette/?p=824 . In

[android-developers] Re: Antialias transformed bitmap ??

2009-03-03 Thread Mike Reed
antialias will smooth the edges (when drawn at a non-multiple-of-90-degrees) filtering will smooth the sampled colors within the bitmap On Tue, Mar 3, 2009 at 7:59 AM, quakeboy prasna...@gmail.com wrote: How to draw antialiased bitmap along with transformation matrices.. I use matrix to

[android-developers] Re: How can ImageView data refresh in thread ?

2009-03-03 Thread Streets Of Boston
Hi, You have to put the while(isStop) loop in your Thread's run() method, not inside the new Runnable that you post: public MyThread extends Thread { Handler handler; public MyThread() { super(); handler = new Handler(); } public void run() { .. while(isStop){ ...

[android-developers] Re: When is SDK based on cupcake getting released

2009-03-03 Thread David Turner
On Tue, Mar 3, 2009 at 2:54 PM, Shadakshari Hiremath shad...@gmail.comwrote: I have core 2 duo processor at 2.8GHz and 2GB RAM. Ubuntu is running in VM Player under windows XP. In ubuntu DDMS is needed to be run manually and attached for debugging. Why is that ? The Eclipse plugin should

[android-developers] Re: How to get more sales on the Android Market

2009-03-03 Thread deepdr...@googlemail.com
With comparing 2 days vs. the 4 days before you might just be measuring traffic trends on different weekdays. I'd suspect you'd get more traffic on sunday and monday anyway, even without a price cut. http://www.deepdroid.com On 3 Mrz., 15:16, Ed Burnette ed.burne...@gmail.com wrote: Here's a

[android-developers] Re: Dalvik Debug Monitor Sometimes Shows Multiple Devices (Sometimes!)

2009-03-03 Thread Faber Fedor
Are you running the emulator? That counts as a device. On Tue, Mar 3, 2009 at 9:48 AM, Graeme graeme.br...@btinternet.com wrote: Hi I am seeing some problems when my ADP1 is connected via USB to my Windows dev machine (Win XP). I sometimes see multiple (usually two) devices in the Dalvik

[android-developers] Re: onProviderEnabled() not being called dynamically enabling GPS

2009-03-03 Thread Audiofreq
I found a solution here: http://habrahabr.ru/blogs/android/46356/ On Mar 2, 7:21 pm, Audiofreq audiof...@gmail.com wrote: Hey, I'm trying to do the same thing but no luck...did you find a solution. I was thinking i might just make my app call the Toggle GPS app that's on the market but

[android-developers] Re: Which version of source codes is CupCake? When will it release?

2009-03-03 Thread Disconnect
Cupcake is like 'head' or 'master' or 'trunk'. It is a name for an internal tree. It is not a product, it does not 'release'. You can get it right now (in a working form) from source.android.com or (precompiled for g1) at http://andblogs.net/images/snapshots On Tue, Mar 3, 2009 at 7:20 AM, david

[android-developers] Re: Dalvik Debug Monitor Sometimes Shows Multiple Devices (Sometimes!)

2009-03-03 Thread Graeme
Hi Fedor No not at the moment. I admit I do run it sometimes. But the problem I'm describing seems to be connected with the ADP1 -- I seem to get multiple devices connected none of which work correctly with adb and ddms. Makes debugging a nightmare ! Rgds Graeme On Mar 3, 3:21 pm, Faber Fedor

[android-developers] sqlite in G1

2009-03-03 Thread Peterman
Hi to all A couple of weeks ago, I update my G1, and since this, when I try to navigate through the directories of the mobile with adb shell, I found an error: opendir failed, Permission denied. Also, I have another problem: I can't access to the databases of my device, because the command

[android-developers] Re: Get Activity to foreground

2009-03-03 Thread Christine
On Mar 3, 3:05 pm, Geos george.kremenet...@gmail.com wrote: Hello Who knows how I can make Activity visible from invisible process? Accordinghttp://developer.android.com/guide/practices/design/seamlessness.html As the document says, use a notification. Christine it is impossible. Is

[android-developers] Re: Problem Starting New Activity

2009-03-03 Thread Bnet
Can the SoundNotificaton be called from either the Receiver or the PhoneStateListener? On Mar 2, 6:36 pm, Bnet tcb...@gmail.com wrote: Okay Thanks. In regards to having a Context to call startActivity(), does it make sense to move the SoundNotification to the ServiceReceiver as shown below? I

[android-developers] Neither user nor current process has android.permission.SET_PREFERRED_APPLICATIONS

2009-03-03 Thread MakeMobile
Hello, I'd like to revisit a topic that was previously posted, but never resolved. http://groups.google.com/group/android-developers/browse_thread/thread/565d89d354691a30 Neither user 10002 nor current process has android.permission.SET_PREFERRED_APPLICATIONS I'm running into the same problem

[android-developers] Re: Dev Phone and RC33 update

2009-03-03 Thread Jon Colverson
On Mar 3, 5:57 am, John Gruenenfelder jo...@as.arizona.edu wrote: However, I plan to purchase an ADP1 very soon.  My plan has always been to have this be my primary device.  Like many of the other hobbyists here on the list, I can little afford two devices.  I was very much hoping that the

[android-developers] Re: Problem Starting New Activity

2009-03-03 Thread Marco Nelissen
On Mon, Mar 2, 2009 at 4:36 PM, Bnet tcb...@gmail.com wrote: Okay Thanks. In regards to having a Context to call startActivity(), does it make sense to move the SoundNotification to the ServiceReceiver as shown below? I can't seem to basically call a subroutine. public class

[android-developers] Re: sqlite in G1

2009-03-03 Thread Marco Nelissen
Sounds like at some point you hacked your phone to have root (or had a dev phone), and you no longer have root with whatever new build you put on there. On Tue, Mar 3, 2009 at 8:27 AM, Peterman pserr...@gmail.com wrote: Hi to all A couple of weeks ago, I update my G1, and since this, when I

[android-developers] Re: runtime error using exported/signed apk but no runtime error using Eclipse IDE

2009-03-03 Thread gymshoe
[Problem clarified] To update an SQL database you need write permissions on the /database file folder that holds the database, but these permissions are set to drwxrwx--x. If the application using the database falls in the other category (i.e. not the owner application or its group), then it

[android-developers] upload failure on reset phone; Failure [INSTALL_FAILED_ALREADY_EXISTS]

2009-03-03 Thread Jeff
I and my customer have had the same problem uploading new versions of my App. tried and failed: Load from website load from USB using adb install reset G1 to factory setting After reset of phone the error message for ADB is Failure [INSTALL_FAILED_ALREADY_EXISTS] Any thoughts? thanks, Jeff

[android-developers] Re: upload failure on reset phone; Failure [INSTALL_FAILED_ALREADY_EXISTS]

2009-03-03 Thread Jeff Brandt AKA Androidakin
Note: I am signing the app and it is successfully verified On Mar 3, 9:04 am, Jeff jlb...@gmail.com wrote: I and my customer have had the same problem uploading new versions of my App. tried and failed: Load from website load from USB using adb install reset G1 to factory setting

[android-developers] Re: Problem Starting New Activity

2009-03-03 Thread Bnet
I'm trying to call the SoundNotification.java from the PhoneStateListener to test a default system notification sound. When a missed call state is true, the SoundNotification.java is called to play the sound or beep. I understand your point about the receiver dropping the phonestatelistener and

[android-developers] Re: Am I able to hook file system on Android

2009-03-03 Thread Marco Nelissen
While a content provider is the preferred way to control access to data your app has, it won't do what the original poster was asking for. There is no way to intercept access to any random file. On Tue, Mar 3, 2009 at 1:34 AM, Philipp Stecher p...@hexdust.net wrote: Hi I think what you are

[android-developers] Re: Android application without UI

2009-03-03 Thread Peli
Either use a broadcast intent, or set your Activity theme to transparent. Peli www.openintents.org On 1 Mrz., 17:58, Javier Segura jav...@gmail.com wrote: Hello All, I've written a simple app for android that changes the content of a System Setting. For use it I create a simple Activity

[android-developers] Re: Confused about launch modes

2009-03-03 Thread Dianne Hackborn
On Tue, Mar 3, 2009 at 6:01 AM, ellipsoidmob...@googlemail.com ellipsoidmob...@googlemail.com wrote: For my application, I only ever want a single instance to run and I only ever want a single instance to exist of my main activity class. If the user navigates away from my app (e.g. by

[android-developers] Installing an apk file in java

2009-03-03 Thread Shashank Bharadwaj
Hi All, I'm trying to write a java program that will install an apk file on android. I saw that there is an Intent action: ACTION_PACKAGE_INSTALL available and the developer reference says: Broadcast Action: Trigger the download and eventual installation of a package. So I wrote a program

[android-developers] Re: Openfire and XMPP with Android

2009-03-03 Thread sainath_r
Hi Andrea I am trying to develop a XMPP Client for Android and using open fire as the server. can u guide me what should be used for 'service new' during configuration for conecting and login. I am Stuck at that point.. Regards Sainath On Mar 3, 4:27 am, ANDREA P andrewpag...@gmail.com wrote:

[android-developers] Static scope and disallocation

2009-03-03 Thread taneroffline
Static members and variables are not freshly initilialised when subsequelntly booting my application. It seems that these are hold somewhere for the entire process lifetime of my app. Disallocation in code sometimes fails(myObject = null; ). Has someone experienced the same ? What would be a

[android-developers] how to connect configure static IP for WIFI

2009-03-03 Thread Reynolds
Hi, I'm currently following the instructions given on this blog: http://android-tricks.blogspot.com/2009/01/using-adp1-without-sim-card.html I've already connected to the WIFI, but it's trying to obtain... I'm trying to look for a way to set a static IP, Gateway and DNS to my Android Phone.

[android-developers] Web Service

2009-03-03 Thread vir
hi everyone :), i have a webservice with method like login, which allows someone to login. I am getting an error : 03-02 09:03:54.363: INFO/System.out(11393): ERROR:org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG

[android-developers] Control MP3 player via bluetooth.

2009-03-03 Thread AZ Sites
Does anyone know if the ability to control the mp3 player via bluetooth has been developed? This would be a great item to include as when bluetooth stereo comes out, the user could use their bluetooth car radio to controll the music. --~--~-~--~~~---~--~~ You

[android-developers] Using your own sqlite database in your android application

2009-03-03 Thread fluxa
Check out this post here http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ There is a method to do that. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Installing an apk file in java

2009-03-03 Thread Shashank Bharadwaj
On Tue, Mar 3, 2009 at 5:55 PM, Shashank Bharadwaj shanka@gmail.com wrote: Hi All, I'm trying to write a java program that will install an apk file on android. I saw that there is an Intent action: ACTION_PACKAGE_INSTALL Nevermind. I was able to install the file using: File apkFile

[android-developers] How to use background Thread to update View object on main thread

2009-03-03 Thread npak...@gmail.com
Hi all, My purpose is very simple : each 1second, I want to redraw an object on different place on background. I do not know where my error on this code below. Hope that you can show me or give me an advice to fix this problem Here is my code

[android-developers] Execute setprop command from application

2009-03-03 Thread Giorgio M.
I have to execute the shell command setprop net.dns1 xxx.xxx.xxx.xxx from an android activity but i can't find a working way to do it. How can i execute this command from the application? thanks -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com

[android-developers] Re: Non-USD prices causing credit card rejections

2009-03-03 Thread admin.androidsl...@googlemail.com
Just to add my comment from the other thread as I think its relevant here : http://www.google.com/support/forum/p/Android+Market/thread?tid=5d08f29aeb3d9706hl=enfid=5d08f29aeb3d970600046438bbae6cbc Now that I think about it, my app is on market at £0.69 = approx $0.99 and I am getting quite a

[android-developers] Android Java with C/C++

2009-03-03 Thread mmdnazar
I would need to port my limo application into Android. My limo application is created using C and C++ on linux environment.I have compiled all the C/C++ files using arm toolchain GNU/Linux compiler and made .so (shared object file), pushed into system/lib and then loading from Android applicaiton

[android-developers] How to update View object on main thread by background thread

2009-03-03 Thread npak...@gmail.com
Hi all, My purpose is very simple : each 1second, I want to redraw an object on different place on background. I do not know where my error on this code below. Hope that you can show me or give me an advice to fix this problem Here is my code

[android-developers] Spaces in strings.xml strings

2009-03-03 Thread droozen
So, we're supposed to be using our strings.xml to construct most or all of our strings, right? I had a situation where I wanted to display to the user Some string blah blah + some value. So I put two views in a horizontal LinearLayout, with my Some string blah blah (with that space on the end,

[android-developers] Is it a bug for NotePadv3?

2009-03-03 Thread android.bu...@gmail.com
If the NoteEdit activity is killed, and the onSaveInstanceState() is called, then the mRowId is saved into the Bundle. Thus the next time, the user may be confused when he select another note to edit. Because the NoteEdit activity will always check savedInstanceState firstly. Is it a bug?

[android-developers] Execute setprop from application

2009-03-03 Thread Giorgio M.
I have to execute the shell command setprop net.dns1 xxx.xxx.xxx.xxx from an android activity but i can't find a working way to do it. How can i execute this command from the application? thanks -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com

[android-developers] visual layout designer crashing

2009-03-03 Thread scastria
I had problems with the eclipse visual layout designer crashing with 1.0_r2 and the same thing with 1.1_r1. Everything works fine when I create a brand new project, but as soon as I save and exit and come back, I always get this crash below. Any help would be much appreciated.

[android-developers] Re: Problem with framebuffer

2009-03-03 Thread hengli cui
You may try this way:in the function EGLDisplaySurface::swapBuffers(),you can copy the data from the framebuffer befor calling the ioctl function.I does not try this ,but maybe it can do. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Android application upgrade and marketplace listing

2009-03-03 Thread ChrisD
Hi All, Can anyone tell me if when you upgrade your marketplace application if it then appears at the top of the list of applications by release date? Or is it only when you release a brand new application? thanks in advance --~--~-~--~~~---~--~~ You received

[android-developers] How can a browser link to a search of application in the market?

2009-03-03 Thread Mimi
Using G1, go to http://www.myspace.com. Notice the site is able to detect the user agent from the browser and provides a link to search the MySpace application on the Android Marketplace. Google's http://code.google.com/android/devel/sign-publish.html#publishing provides options to search, e.g.

[android-developers] Diplay a Euro sign for the currency

2009-03-03 Thread arjanDOTTYbroerATgmailDOTTYcom
Hi all, For a demo to convince other developers of Android i am creating a tip calculator. I'm having problems though in displaying a currency sign using a currency format. When using a DecimalFormat.getCurrencyInstance(), all values formatted using that formatter are formatted with a dollar sign

[android-developers] Windows SDK _ cupcake

2009-03-03 Thread Ayden
there is a script name make_windows_sdk in development folder to make windows SDK, but it must work under windows system and pretty inconvenient. Will it release a new script or steps that user can build windows SDK under linux? Thanks --~--~-~--~~~---~--~~ You

[android-developers] Re: Using my own SQLite database

2009-03-03 Thread fluxa
Check out this post here http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ hope be helpful for you. On Feb 14, 3:51 am, Moons moone...@gmail.com wrote: Hello Android Developers, I'm new to Android, I just finished the Notepad Tutorials, where we can

[android-developers] Re: How to handle orientation changing of VideoView/MediaPlayer?

2009-03-03 Thread Andres Calvete
did you ever find the answer for this?? Im trying to use the onRetainNonConfigurationInstance() but Im not sure how to handle that. On Jan 17, 12:40 am, Urakagi urak...@gmail.com wrote: Hi, I'm writting aVideoPlayer, and I wonder how can I handle orientation changing of VideoView/MediaPlayer.

[android-developers] Re: Problem Starting New Activity

2009-03-03 Thread Marco Nelissen
On Tue, Mar 3, 2009 at 9:09 AM, Bnet tcb...@gmail.com wrote: I'm trying to call the SoundNotification.java from the PhoneStateListener to test a default system notification sound. When a missed call state is true, the SoundNotification.java is called to play the sound or beep. I understand

[android-developers] Re: Spaces in strings.xml strings

2009-03-03 Thread Marco Nelissen
On Tue, Mar 3, 2009 at 6:26 AM, droozen droozenr...@gmail.com wrote: So, we're supposed to be using our strings.xml to construct most or all of our strings, right? I had a situation where I wanted to display to the user Some string blah blah + some value. So I put two views in a horizontal

[android-developers] Re: Control MP3 player via bluetooth.

2009-03-03 Thread Marco Nelissen
On Tue, Mar 3, 2009 at 8:42 AM, AZ Sites t.d.sh...@gmail.com wrote: Does anyone know if the ability to control the mp3 player via bluetooth has been developed? Yes, in Cupcake. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Using ColorFilter to remove image background?

2009-03-03 Thread Sarnoth
I was expecting to find a way to handle sprites with a color-keyed background but I haven't found a way. This is certainly on my wish list for future SDKs. There is AvoidXfermode but it does the opposite of what we want, keying off of a color on the destination instead of on the source. I've had

[android-developers] Re: how to connect the G1 with pc by socket

2009-03-03 Thread deepdr...@googlemail.com
Hi Lei, as far as I know you won't have a IP connection to the PC via the USB cable connection. You would have to go over WiFi in order to connect to your PC. http://www.deepdroid.com On Mar 3, 7:48 am, Lei poohd...@gmail.com wrote: Hi, I have a java server which run on the pc, and a

[android-developers] Re: Confused about 9-patch files

2009-03-03 Thread deepdr...@googlemail.com
You can find examples of 9patch files in the SDK, in tools/lib/res/ default/drawable/ The .9.png files are 9patches. http://www.deepdroid.com On Mar 3, 3:26 am, craiget crai...@gmail.com wrote: Can someone please explain or provide examples (links) of some valid 9- patch files? From

[android-developers] Re: Animate an AlertDialog

2009-03-03 Thread skink
Dianne Hackborn wrote: That comment is out of data, the window manager can use styles from applications. Sorry about the lack of documentation. For now you'll need to look at the source resources to see how they are constructed and do the same thing. Note that there are two main types of

[android-developers] Re: How can a browser link to a search of application in the market?

2009-03-03 Thread dar
You have to match the package name exactly, and the app needs to be published and available in the market, and you have to click on the link. I found that just typing it in to the url of the browser did not work, but clicking on the link from a page does work. On Mar 3, 10:56 am, Mimi

[android-developers] Bailout Bonanza released for the G1

2009-03-03 Thread BikingBill
Our 4th title in the Marketplace. Beat the iPhone version to the market. --~--~-~--~~~---~--~~ 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: Animate an AlertDialog

2009-03-03 Thread Dianne Hackborn
Hm, maybe support for application animations wasn't added until after 1.0. To be honest I don't remember. On Tue, Mar 3, 2009 at 11:00 AM, skink psk...@gmail.com wrote: Dianne Hackborn wrote: That comment is out of data, the window manager can use styles from applications. Sorry

[android-developers] Re: Execute setprop from application

2009-03-03 Thread Dianne Hackborn
Sorry, you can't. On Tue, Mar 3, 2009 at 5:42 AM, Giorgio M. ledz...@writeme.com wrote: I have to execute the shell command setprop net.dns1 xxx.xxx.xxx.xxx from an android activity but i can't find a working way to do it. How can i execute this command from the application? thanks --

[android-developers] Re: Android Java with C/C++

2009-03-03 Thread Dianne Hackborn
Sorry, native code is not supported at this point for third party applications. If you are doing this for a platform build that will be bundled in a system image, please see android-platform where there has been discussion about this topic. On Tue, Mar 3, 2009 at 2:58 AM, mmdnazar

[android-developers] Re: Static scope and disallocation

2009-03-03 Thread Dianne Hackborn
Yes, that is what a static variable is. If that's not the behavior you want, don't use statics. On Tue, Mar 3, 2009 at 12:52 AM, taneroffline taneroffl...@googlemail.comwrote: Static members and variables are not freshly initilialised when subsequelntly booting my application. It seems that

  1   2   >