[android-developers] Re: what is the recording format of Intent .RECORD_SOUND_ACTION?

2009-03-04 Thread Dave Sparks
The only audio format supported on G1 is AMR format (raw .AMR file). On Mar 4, 1:18 pm, zeeshan wrote: > Hi, > > can anyone tell me what is the default format of android recording. > i have recorded an audio clip but dont know how can i check its > extention? > > i am using this activity > > Int

[android-developers] Re: MediaPlayer not running - just blank screen

2009-03-04 Thread Dave Sparks
You need to tell the mediaplayer where to display the video with setDisplaySurface(). Check out the media demo apps on developer.android.com. On Mar 4, 11:45 pm, Nithin wrote: > hi, > > I tried a simple mediaplayer application, just to run a .3gp file. > First, i put the .3gp file in "Raw" folde

[android-developers] Re: MediaPlayer not running - just blank screen

2009-03-04 Thread dillirao malipeddi
you must set parameters for playing video see api demos - >examples media -> video demo player On Thu, Mar 5, 2009 at 1:15 PM, Nithin wrote: > > hi, > > I tried a simple mediaplayer application, just to run a .3gp file. > First, i put the .3gp file in "Raw" folder and tried to run, but > nothin

[android-developers] MediaPlayer not running - just blank screen

2009-03-04 Thread Nithin
hi, I tried a simple mediaplayer application, just to run a .3gp file. First, i put the .3gp file in "Raw" folder and tried to run, but nothing is displaying, just blank screen only please guide me, where i am going wrong. I dont have any xml file, is it needed ?? heres the code, which i am

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

2009-03-04 Thread Mattaku Betsujin
Have you looked into android.webkit.CookieManager? On Wed, Mar 4, 2009 at 2:02 PM, Derek wrote: > > Yes, that's I did in the code I've posted before. I don't see the > difference ? > Could this issue come from Cookie management in WebView ? Is there any > option to make sure cookies are passed ?

[android-developers] Re: Better JavaScript debugging for a WebView

2009-03-04 Thread Mattaku Betsujin
I've never seen errors like "undefined line: 0 source: undefined". All my errors usually come with a source name and file name. How do you load the HTML into WebView. Do you do it the following way? WebView.loadUrl("file:///android_asset/myfile.html"); On Wed, Mar 4, 2009 at 7:36 PM,

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

2009-03-04 Thread Shadakshari Hiremath
Hi David, I have installed the ADT plugin in eclipse europa on ubuntu. I am working on open source version cupcake. Eclipse is now asking to configure the android.jar file path. But, I couldn't find this file in compiled version cupcake. Please provide the path details and instructions if any req

[android-developers] Application criteria/certification?

2009-03-04 Thread Stanley Cai
Hi, I got a dev phone and installed plenty of applications, but the battery was used out in 7~8hours, even not enough for over-night. I guess some applications, which had permission to prevent system from sleeping, killed the battery. So I am very curious if Google will have any application crit

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

2009-03-04 Thread Marco Nelissen
It's a bug in aapt. Where you should normally be able to have up to width/2 horizontal stretch regions, it only allocates enough space for width/4. Your image was 36 pixels wide, so you can have 9, and it would crash on 10 (like your c.9.png image). The issue with draw9patch you mentioned earlier

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

2009-03-04 Thread Dianne Hackborn
To just do something every so often, you really shouldn't use a thread (or UserTask), just Handler.sendDelayedMessage(), which is a lot lighter-weight. On Wed, Mar 4, 2009 at 8:05 PM, Anh Khoa Nguyen Pham wrote: > Hi Clay, > > Thank for your help so much, > Now, i can fix my problem.I insist to f

[android-developers] Re: Dialog Survival Over Configuration Change

2009-03-04 Thread Nmix
No doubt you're right. After a while it feels like I'm doing a peculiar dance to celebrate the Rites of Spring, all the while sprinkling magic pixie dust over my code. I had already come to the same conclusion, that doing dismissDialog() in onSaveInstanceState() is a mistake, because it changes a

[android-developers] Re: Can only hear sound when playing video

2009-03-04 Thread Freepine
If you removed holder.addCallback(this), then the callback of surfaceCreated in MediaPlayerDemo_Video won't be invoked... 2009/3/5 susanner > > I have met nearly the same problem, I am implementing the Mediaplayer to my > hardware board. I haven't tried videoview, I just implemented the video >

[android-developers] Re: Issue in openintents simulator, after running directly going to "Connection settings" page instead of my desired page

2009-03-04 Thread nithin
Thanks Mishail, i hope that will help.. going to try.. Nithin On Mar 4, 3:52 pm, "(Mishail)" wrote: > It's OK since your activity starts OpenIntents by startActivity > (intent); > > Your activity should resume after exiting from openintents. But please > make sure that you granted "android.per

[android-developers] Re: Can only hear sound when playing video

2009-03-04 Thread susanner
I have met nearly the same problem, I am implementing the Mediaplayer to my hardware board. I haven't tried videoview, I just implemented the video player from API demo.But It can't show video. I guess there is some trick with this "holder" surface, it is strange that when I delete this senten

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

2009-03-04 Thread Anh Khoa Nguyen Pham
Hi Clay, Thank for your help so much, Now, i can fix my problem.I insist to find way to fix my problem in my code because it will makes my skill better than using someone's code. But next time, i will use UserTask to do that. Best regard, NPAK On Thu, Mar 5, 2009 at 9:54 AM, Clay wrote: > > yo

[android-developers] Re: Where can I find a app for my gps test?

2009-03-04 Thread www_...@yahoo.com.cn
Thanks Avraham. Does GPS starts automatically when android boots up? I mean whether or not i need a app to start GPS thread ? In my opinion, the route program runs like: main( app_mian.cpp) -> runtime.start ( )-> register functions ->... But when and where the GPS thread will be started ? thanks

[android-developers] Does the latest sdk provide the function of dynamic loading classes?

2009-03-04 Thread quill
Hi, anyone who knows? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to a

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

2009-03-04 Thread Anh Khoa Nguyen Pham
Hi Clay, Thank for your help so much, Now, i can fix my problem.I insist to find way to fix my problem in my code because it will makes my skill better than using someone's code. But next time, i will use UserTask to do that. Best regard, NPAK On Thu, Mar 5, 2009 at 9:54 AM, Clay wrote: > > yo

[android-developers] Re: What is wrong with this layout

2009-03-04 Thread iDeveloper
Thanks. But AFAIK having a close button tag and closing the tag using /> is one and the same! On 04-Mar-09, at 10:10 PM, Stoyan Damov wrote: > > Not quite sure (haven't looked at the schema) but perhaps Button is an > empty element, so in your layout it should look like this: > >> >

[android-developers] download question

2009-03-04 Thread fibers
Hi,all I had defined some interface in a C file by using the WININET api, like the InternetOpen,InternetConnect,HttpSendRequert and so on. but all this functions return a hundle indicate the connection or a request header. Now I want to transplant my program to android and redefine the inte

[android-developers] HttpGet problem with Chunked encoding

2009-03-04 Thread m5p3nc3r
Hi Guys I am having issues retrieving the contents of a chunk encoded web page. all pages that I try to retrieve throw: org.apache.http.MalformedChunkCodingException: Chunked stream ended unexpectedly If I retrieve a page with no chunk encoding, the code works fine. HttpClient httpClient=new

[android-developers] Failed to reopen debug port for Selected Client to:

2009-03-04 Thread NWallman
Hi, I am struggling to get my emulator to be able to bind for debugging purposes. I get the following stack trace when I start my emulator: [2009-03-04 19:35:46 - ddms]Failed to reopen debug port for Selected Client to: 8700 [2009-03-04 19:35:46 - ddms]Address family not supported by protocol

[android-developers] My Google Rep went missing...

2009-03-04 Thread Rogalon
Hi there, I'm probably wrong on this list but it's completely impossible to reach anyone at Google about this, so I'm hoping a google rep will read this and contact me as soon as possible. As I don't have any other means of contacting anyone at Google Content Partnerships, I am hoping you can hel

[android-developers] Re: is there a way to access the install date of an application?

2009-03-04 Thread acrosser
Josh, On every run of your app you could check for a YourApp.cfg file in your app's directory. If the file does not exist then this is the first run of your app, so you could create YourApp.cfg and write the current date to it. If the file does exist then this is a subsequent run of your app, an

[android-developers] download question

2009-03-04 Thread fibers
Hi all: I had defined some interfaces in a C file by using WININET APIs like InternetOpen, InternetConnect, HttpOpenRequst and so on. All these functions return a hundle indicate the connection or a request header. Now i want to transplant my program to android and keep the interfaces chan

[android-developers] Need ideas on implementing a Trial Period for a free app on Android Market

2009-03-04 Thread acrosser
I've searched for a solution to this problem but all I could find was this: http://groups.google.com/group/android-developers/browse_thread/thread/08ce5ab110c56b29?pli=1# ...and this near the bottom: http://groups.google.com/group/android-developers/browse_thread/thread/4fb4cfab8b079809/d4f41ee

[android-developers] Re: Request to device test the Android Application

2009-03-04 Thread nitichandra ingle
Thanks I shall contact u by mail soon take care On Wed, Mar 4, 2009 at 2:15 PM, www_...@yahoo.com.cn wrote: > > > HI, > Please send me the application,and i can test it for you. > > On 2月26日, 上午12时05分, nitichandra ingle wrote: > > Hi, > > > > We have been developing mobile applications for va

[android-developers] Re: Better JavaScript debugging for a WebView

2009-03-04 Thread Miguel Paraz
Hi, On Mar 5, 5:23 am, Mattaku Betsujin wrote: > I just add a logging function to my JavaScript interface object. Something > like > > class JSInterface { >     public void trace(String s) {System.out.println(s);} > > } > > Using this allowed me to develop and debug more than 3000 lines of > Jav

[android-developers] How to get socket connectivity notification

2009-03-04 Thread Jiang
Hello Guys, I need to monitor socket connectivity and close specific connection. I tried broadcast receiver with Intent action android.net.conn.CONNECTIVITY_CHANGE, but it seems that doesn't work. Is it possible to implement my feature? Thanks in advance. -Jiang ___

[android-developers] Re: Converting FREE app to PAID app

2009-03-04 Thread John Spurlock
We plan on using a content provider (published by the FREE app) to transfer data between packages - so the import happens automatically the first time the PAID app is launched. http://code.google.com/android/devel/data/contentproviders.html On Mar 4, 4:41 pm, Raymond Rodgers wrote: > Avraham Se

[android-developers] Intercepting outgoing sms

2009-03-04 Thread Seer
Hi, What i want to do is intercept outgoing sms. The reason been that i want to redirect some sms over a web based sms sending service and others to go over the normal mobile network. I would really like to do this as an invisible background process that does not need modifications to any of the

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

2009-03-04 Thread Clay
you have two threads one you post, the other you start... again I wouldnt endorse the way your trying to manage your threading in this case, and Romain (on the developer team) seems to recommended doing background updates to activity views using update task so I think you might benefit by rethink

[android-developers] PreferenceScreen Close

2009-03-04 Thread Noam
Hello everyone, Is there a certain way for me to know when a PreferenceScreen is closed? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to a

[android-developers] Re: adding Textviews and radio button in code

2009-03-04 Thread Mark Murphy
automerc wrote: > I was wondering how we could add objects such as textview and radio > buttons to the activity through code and not the XML file and still > have it run correctly. I tried adding a simple textview below but I > got an error when I tried to run. Can any1 tell me how I could add the

[android-developers] Re: When to setResult for onActivityResult

2009-03-04 Thread Dianne Hackborn
You can call it a design flaw, but the design is that at the point you say to finish your activity, the current result is bundled up and delivered, and than we go through the normal pause etc flow to transition from that activity to the previous. At this point in time this just isn't going to chan

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

2009-03-04 Thread Dianne Hackborn
And if you just want spaces in specific places in the string, just put it in quotes or use \ to prevent it from being stripped. On Wed, Mar 4, 2009 at 3:29 PM, Marco Nelissen wrote: > > If you want to make sentences, it's still a good idea to put a format > string in the resource and then use th

[android-developers] Re: Dialog Survival Over Configuration Change

2009-03-04 Thread Dianne Hackborn
I think you are getting yourself into a more and more tangled mess. As a fairly broad rule, you shouldn't be doing any state-changing behavior in onSaveInstanceState() -- this is not for the system to tell you about something interesting happening, but for it to get your current state at whatever

[android-developers] adding Textviews and radio button in code

2009-03-04 Thread automerc
I was wondering how we could add objects such as textview and radio buttons to the activity through code and not the XML file and still have it run correctly. I tried adding a simple textview below but I got an error when I tried to run. Can any1 tell me how I could add the textview in correctly?

[android-developers] Re: Can't open dex cache error with SDK 1.1

2009-03-04 Thread fadden
On Mar 4, 3:02 pm, loty wrote: > Recently I switched to SDK 1.1 and it worked for a short time without > any problems. Now I'm getting "Can't open dex cache '/data/dalvik- > cache/system ..." error and emulator doesn't start at all. Just shows > Android screen of death with blinking cursor. When

[android-developers] Re: Does the web browser that came with Android support svg files?

2009-03-04 Thread Jean-Baptiste Queru
I don't have much visibility over that, sorry. JBQ On Wed, Mar 4, 2009 at 4:36 PM, clark wrote: > > Is this something that will be supported in the future, assuming the > experimental code goes through the propper testing and becomes stable > for release? > > > ~clark > > On Mar 4, 4:10 pm, Jea

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

2009-03-04 Thread Jiang
Yes, I tried that solution, but the registered function is not invoked when a file is modified. Maybe rather than regular files, those APIs are only available for Content Providers, such as SMS, Contract, Media etc. Thanks! -John --- 09年3月4日,周三, Marco Nelissen 写道: 发件人: Marco Nelissen 主题: [

[android-developers] Re: Dialog Survival Over Configuration Change

2009-03-04 Thread Nmix
It's even worse than what you're speaking of, now that I've been doing more testing. onSaveInstanceState() is called for activity pauses (like an incoming call) and also for configuration changes. However it now matters which occurred, it seems, when it comes time to recover. If it was a pause,

[android-developers] Re: Execute setprop from application

2009-03-04 Thread Long
Your AP don't have root permission to do it. Try using a booting exist "excutable" to do it. On Mar 3, 9:42 pm, "Giorgio M." 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 exec

[android-developers] How can I dynamically add item to a Gallery in android

2009-03-04 Thread ying lcs
Hi, Can you please tell me how can I dynamically add item to Gallery? I have looked at ApiDemo and have studied their example. But the ImageAdapter there is a BaseAdapter which has a fixed sized array and the getCount() just return the length of the array. My question is how can I change that to

[android-developers] Re: Dev Phones still sold out

2009-03-04 Thread Java Developer
Hi Avraham, I agree with Marco, take a look at all the threads on this topic. No need to star another one: http://groups.google.com/group/android-developers/browse_thread/thread/2b746b6bbf2b0e2e/e86a8ec8f2b68529 I would wait until google address all of these concerns before purchasing a phone,

[android-developers] Re: Does the web browser that came with Android support svg files?

2009-03-04 Thread clark
Is this something that will be supported in the future, assuming the experimental code goes through the propper testing and becomes stable for release? ~clark On Mar 4, 4:10 pm, Jean-Baptiste Queru wrote: > Indeed, it's not supported. > > JBQ > > On Wed, Mar 4, 2009 at 4:09 PM, Anonymous Anony

[android-developers] Re: Does the web browser that came with Android support svg files?

2009-03-04 Thread Jean-Baptiste Queru
Indeed, it's not supported. JBQ On Wed, Mar 4, 2009 at 4:09 PM, Anonymous Anonymous wrote: > I think svg is not supported > > On Thu, Mar 5, 2009 at 2:06 AM, Mark Murphy wrote: >> >> Videoguy wrote: >> > I have an svg file created in Inkscape app. I am wondering whether the >> > Android web br

[android-developers] Re: Does the web browser that came with Android support svg files?

2009-03-04 Thread Anonymous Anonymous
I think svg is not supported On Thu, Mar 5, 2009 at 2:06 AM, Mark Murphy wrote: > > Videoguy wrote: > > I have an svg file created in Inkscape app. I am wondering whether the > > Android web browser can render svg file or not. > > Not that I am aware of. > > > If not, is there a plugin that I ca

[android-developers] Re: When to setResult for onActivityResult

2009-03-04 Thread Tseng
I recently had the same problem with onPause/onStop being to late to send it. I've solved it by overwriting onFinish() method. This one is always called before onPause and there it will work. Probably this can help in your case too On Mar 4, 3:20 pm, Chronos wrote: > Thanks for your input ;) >

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

2009-03-04 Thread Jon Colverson
On Mar 3, 9:34 am, arjanDOTTYbroerATgmailDOTTYcom wrote: > Then when i use the DecimalFormat.getCurrencyInstance(new Local("nl- > NL")) or DecimalFormat.getCurrencyInstance(Local.GERMAN) it should use > the euro sign. The formatted has a strange block character though. "German" is a language, no

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

2009-03-04 Thread Marco Nelissen
If you want to make sentences, it's still a good idea to put a format string in the resource and then use that, since you'll be able to correctly localize your app later on. To use this with a Cursor and ListView, create a custom Adapter (you can probably just derive from SimpleCursorAdapter), and

[android-developers] Re: Converting FREE app to PAID app

2009-03-04 Thread Avraham Serour
if your concern is sensitive data so don't export to your server, export to a local file On Thu, Mar 5, 2009 at 1:11 AM, Arjun wrote: > > I agree with Raymond. Performing an Import / Export is a workaround > that some users might not want to go though, specially if they have > sensitive data ins

[android-developers] Re: Converting FREE app to PAID app

2009-03-04 Thread Arjun
I agree with Raymond. Performing an Import / Export is a workaround that some users might not want to go though, specially if they have sensitive data inside the application. Any idea why didnt google have conversion from FREE to PAID? Also, why cant we create a new app with same app ID? This wo

[android-developers] Problem with setText() on custom CheckBox

2009-03-04 Thread mobilek...@googlemail.com
Hi, I've implemented a custom CheckBox view and faced a probelm with adding text to it. Here's my implementation: public class MyCheckBox extends CheckBox{ private int imgResourceFocusedChecked, imgResourceFocusedNotChecked, imgResourceNotFocusedChecked, imgResourceNotFocusedNotChecked;

[android-developers] Re: Converting FREE app to PAID app

2009-03-04 Thread Arjun
I agree with Raymond. Performing an Import / Export is a workaround that some users might not want to go though, specially if they have sensitive data inside the application. Any idea why didnt google have conversion from FREE to PAID? Also, why cant we create a new app with same app ID? This wo

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

2009-03-04 Thread droozen
Okay, I see, but I guess I didn't explain my entire issue. I don't know a whole lot about working with the SQLite databases, so right now I'm able to do what was done in the Notepad tutorial, get values from the database and tie them to ids of TextViews to display them. But part of the list I want

[android-developers] Re: Proximity Alert and Battery life

2009-03-04 Thread loty
I played with it for 15 minutes but never run it for a full day. Will do though. On Mar 4, 12:26 pm, Mark Murphy wrote: > loty wrote: > > Just to clarify - I'm not interested in monitoring status of my > > batteries. > > I'm interested in finding a solution so that simple proximity alerts > > do

[android-developers] Can't open dex cache error with SDK 1.1

2009-03-04 Thread loty
Recently I switched to SDK 1.1 and it worked for a short time without any problems. Now I'm getting "Can't open dex cache '/data/dalvik- cache/system ..." error and emulator doesn't start at all. Just shows Android screen of death with blinking cursor. When I repoint Eclipse back to 1.0 r2 it work

[android-developers] Re: Dialog Survival Over Configuration Change

2009-03-04 Thread Streets Of Boston
Made a copy-paste error. The 'dirty' workaround in the onResume() should read: if (mPrepareDialog) { onPrepareDialog(R.layout.mydialogid, mDialog); } On Mar 4, 5:33 pm, Streets Of Boston wrote: > I had a similar issue. There seems to be an issue with onPrepareDialog

[android-developers] Re: Dialog Survival Over Configuration Change

2009-03-04 Thread Streets Of Boston
I had a similar issue. There seems to be an issue with onPrepareDialog after a configuration change. In my app i'm using managed dialogs as well. the onCreateDialog creates it and the onPrepareDialog makes sure that the dynamic content is shown correctly. However, when a configuration change hap

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

2009-03-04 Thread Derek
Yes, that's I did in the code I've posted before. I don't see the difference ? Could this issue come from Cookie management in WebView ? Is there any option to make sure cookies are passed ? Thanks. On Mar 4, 12:34 pm, for android wrote: > webView = (WebView) findViewById(R.id.webView); >    

[android-developers] Re: What is wrong with this layout

2009-03-04 Thread Streets Of Boston
The XML in your post is ok. I just pasted it into an XML editor and it validates OK. However, this is what i've seen in Eclipse as well when editing XML files for my android projects, especially XML files for layout in Eclipse's layout-editor plugin for Android. Sometimes an error is reported wh

[android-developers] Re: Launch activity from Web Browser

2009-03-04 Thread Avraham Serour
when the browser sees something that looks like a telefone number you can click it, if it doesn't detect you can select it please note that I didn't explore the browser yet, all I now is from presentetion videos from the android channel from youtube and the like, anyway try out, doesn't this work

[android-developers] Zoom controls and WebView

2009-03-04 Thread Mike Collins
I can get the zoom controls to appear in a WebView but they are stuck in one location on the web page. Zooming in too far and the controls move off-screen. Tried this View zc = m_WebView.getZoomControls(); RelativeLayout.LayoutParams p = new RelativeLayout.LayoutParams (RelativeLay

[android-developers] Re: Converting FREE app to PAID app

2009-03-04 Thread Stoyan Damov
+1 for that, and if you share the backup/restore functionality code between the 2 apps you'll have 1 more feature to the paid app - backup (e.g. to SD card) and restore On Wed, Mar 4, 2009 at 11:39 PM, Avraham Serour wrote: > have the free app to export the settigns to your server or to user fil

[android-developers] Re: Converting FREE app to PAID app

2009-03-04 Thread Raymond Rodgers
Avraham Serour wrote: > have the free app to export the settigns to your server or to user > file or somewhere > > have the paid one import it > > ... > > profit > > On Wed, Mar 4, 2009 at 11:26 PM, t.ar...@gmail.com > > wrote: > > > Hi, >

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

2009-03-04 Thread Mike Collins
Try something like this, I used google to find other encodings... public static String SGetCurrencyDisplayString(FormatStyle iFormat, String iCurrency) { if (Constants.GREAT_BRITIAN_POUND_CURRENCY.equals(iCurrency)) { return "\u00A3"; } else if (Con

[android-developers] Re: Converting FREE app to PAID app

2009-03-04 Thread Avraham Serour
have the free app to export the settigns to your server or to user file or somewhere have the paid one import it ... profit On Wed, Mar 4, 2009 at 11:26 PM, t.ar...@gmail.com wrote: > > Hi, > > From what I learn, a developer cannot convert his FREE app to a PAID > app. > I was looking out for s

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

2009-03-04 Thread Mike Collins
You either have to uninstall the app adb uninstall or install over with adb install -r See the adb help for details. On Mar 3, 9:04 am, Jeff wrote: > I and my customer have had the same problem uploading new versions of > my App. > > tried and failed: > > Load from website > load

[android-developers] Re: Converting FREE app to PAID app

2009-03-04 Thread Raymond Rodgers
t.ar...@gmail.com wrote: > Hi, > > From what I learn, a developer cannot convert his FREE app to a PAID > app. > I was looking out for some alternative ways to make this happen. > I have an app with about 10K users. Users have their data stored > inside the application. > Lets call the existing FR

[android-developers] Converting FREE app to PAID app

2009-03-04 Thread t.ar...@gmail.com
Hi, >From what I learn, a developer cannot convert his FREE app to a PAID app. I was looking out for some alternative ways to make this happen. I have an app with about 10K users. Users have their data stored inside the application. Lets call the existing FREE version com.myapp I would like to s

[android-developers] Poor menu layout

2009-03-04 Thread Edward Falk
Hi all; I took a bare-bones "hello world" application and added these four menu items in onCreateOptionsMenu(): ++ |Start | ++ |Find

[android-developers] Re: Better JavaScript debugging for a WebView

2009-03-04 Thread Mattaku Betsujin
I just add a logging function to my JavaScript interface object. Something like class JSInterface { public void trace(String s) {System.out.println(s);} } Using this allowed me to develop and debug more than 3000 lines of JavaScript in my app. On Wed, Mar 4, 2009 at 10:18 AM, Miguel Paraz

[android-developers] what is the recording format of Intent .RECORD_SOUND_ACTION?

2009-03-04 Thread zeeshan
Hi, can anyone tell me what is the default format of android recording. i have recorded an audio clip but dont know how can i check its extention? i am using this activity Intent intent = new Intent (MediaStore.Audio.Media.RECORD_SOUND_ACTION); startActivityForResult(intent, ACTIVITY_RECORD_SOU

[android-developers] Re: How to get a "vertical spinner" like used in TimePicker?

2009-03-04 Thread Eugene M
Thanks! In case its of interest to others, that thread is here: http://groups.google.com/group/android-developers/browse_thread/thread/65da9820998fddc9/3dedf096de336bdb On Mar 4, 2:12 pm, $§Kalle§$ <__kalle...@hphone.eu> wrote: > Hola Eugene, > > have a look at the discussion under the topic"Reus

[android-developers] Re: Launch activity from Web Browser

2009-03-04 Thread Mattaku Betsujin
Is there a spec for how this should be done inside HTML? Is there any security/permission mechanism? Thanks On Wed, Mar 4, 2009 at 12:15 PM, Avraham Serour wrote: > well, AFAIK the browser already do things like that- Show quoted text - > > > On Wed, Mar 4, 2009 at 10:08 PM, Mattaku Betsujin <

[android-developers] Re: Dev Phones still sold out

2009-03-04 Thread Marco Nelissen
Please, let's not start another thread. This has been discussed at length already. Please read the archives if you're interested. On Wed, Mar 4, 2009 at 12:34 PM, Avraham Serour wrote: > can you elaborate? I'm also planning on buying a dev phone > > On Wed, Mar 4, 2009 at 10:26 PM, Java Develop

[android-developers] Re: Does the web browser that came with Android support svg files?

2009-03-04 Thread Mark Murphy
Videoguy wrote: > I have an svg file created in Inkscape app. I am wondering whether the > Android web browser can render svg file or not. Not that I am aware of. > If not, is there a plugin that I can install to make it work? Unless somebody has ported the experimental SVG-in-WebKit support to

[android-developers] Re: Dev Phones still sold out

2009-03-04 Thread Avraham Serour
can you elaborate? I'm also planning on buying a dev phone On Wed, Mar 4, 2009 at 10:26 PM, Java Developer wrote: > > I understand... as long as Steve knows what he is getting into... > > > > On Mar 4, 3:13 pm, Avraham Serour wrote: > > well, that's not really an option for anyone living outside

[android-developers] Does the web browser that came with Android support svg files?

2009-03-04 Thread Videoguy
Hi I have an svg file created in Inkscape app. I am wondering whether the Android web browser can render svg file or not. If not, is there a plugin that I can install to make it work? Thanks Videoguy --~--~-~--~~~---~--~~ You received this message because you are s

[android-developers] Re: Dev Phones still sold out

2009-03-04 Thread Java Developer
I understand... as long as Steve knows what he is getting into... On Mar 4, 3:13 pm, Avraham Serour wrote: > well, that's not really an option for anyone living outside us and/or gb > > On Wed, Mar 4, 2009 at 10:07 PM, Java Developer wrote: > > > > > Steve, > > > Trust me, you don't want one.

[android-developers] Re: Launch activity from Web Browser

2009-03-04 Thread Avraham Serour
well, AFAIK the browser already do things like that On Wed, Mar 4, 2009 at 10:08 PM, Mattaku Betsujin < mattaku.betsu...@gmail.com> wrote: > Hello, > > > Is there a way to launch an activity from the web page? Like href="dialer:123456">Call me ? > > Thanks > > --~--~-~--~~--

[android-developers] Re: Dev Phones still sold out

2009-03-04 Thread Avraham Serour
well, that's not really an option for anyone living outside us and/or gb On Wed, Mar 4, 2009 at 10:07 PM, Java Developer wrote: > > Steve, > > Trust me, you don't want one. Give your money to charity, it will be > more fulfilling. See the hundreds of posts on how Google is not > supporting the De

[android-developers] Launch activity from Web Browser

2009-03-04 Thread Mattaku Betsujin
Hello, Is there a way to launch an activity from the web page? Like Call me ? 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-developer

[android-developers] Re: Dev Phones still sold out

2009-03-04 Thread Java Developer
Steve, Trust me, you don't want one. Give your money to charity, it will be more fulfilling. See the hundreds of posts on how Google is not supporting the Developer Phone. It lacks the updates the G1 T-Mobile users are getting... http://groups.google.com/group/android-developers/browse_thread/th

[android-developers] Re: What are the Intents broadcast by the ConnectivityManager

2009-03-04 Thread Dianne Hackborn
Hi, please don't post the same message on multiple lists. I answered this on one of the other lists you posted it to. On Wed, Mar 4, 2009 at 8:12 AM, Graeme wrote: > > Hi > > The ConnectivityManager is described at > http://developer.android.com/reference/android/net/ConnectivityManager.html >

[android-developers] Re: getApplicationContext returns null in test case (unless you sleep first)

2009-03-04 Thread Dianne Hackborn
You are calling this while the app is running, and it hasn't finished initializing. Generally you should be very careful about directly touching app objects like this from tests, since the test is running in a separate thread. There are APIs to allow you to run code on the main thread to access i

[android-developers] Re: Port directed SMS

2009-03-04 Thread thesquib
No information on this? I have been testing, and experimenting sending messages to the G1 using a GSM modem and have made no progress. On Feb 20, 4:31 pm, thesquib wrote: > What happens to messages sent to a device via a port directed SMS? > They are not *visibly* picked up by the phone, and do

[android-developers] Re: OpenGL ES problem: Trouble loading a bitmap texture (comes out blue)

2009-03-04 Thread Jon Colverson
I don't understand why you're trying to copy the texture from a Bitmap into an IntBuffer before setting it. Why not use GLUtils.texImage2D to load the Bitmap directly? -- Jon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: MemoryFile to create a file in memory?

2009-03-04 Thread Moto
Thanks for your help! So in respect to this topic if MediaPlayer is reading from a file on a proxy or remote location does it ask for the length of the file? could this length change as time goes by? I assume the server side of the proxy would just continue sending data to the connected client "M

[android-developers] Re: How to get a "vertical spinner" like used in TimePicker?

2009-03-04 Thread $§Kalle§$
Hola Eugene, have a look at the discussion under the topic"Reusing the +/- number spinner from TimePickerDialog?" Ciao Wolfgang On 3 Mrz., 20:59, Eugene M wrote: > Hi everyone, > > The TimePicker widget includes two "vertical spinners" that let the > user pick the hour and minute. How can I ma

[android-developers] Re: Dialog Survival Over Configuration Change

2009-03-04 Thread Romain Guy
Sorry I got confused, you want removeDialog(), not dismissDialog(). The latter only closes the dialog but it is still known as a managed dialog. removeDialog() on the other hand tells the Activity to forget about the dialog *and* to dismiss it. On Wed, Mar 4, 2009 at 10:53 AM, Nmix wrote: > > Ju

[android-developers] Draw Lines On Roads

2009-03-04 Thread xmpptest...@googlemail.com
Is it possible to draw a line between two points on a map, such the the line follows the path of the roads between each point? Thanks X. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: Dialog Survival Over Configuration Change

2009-03-04 Thread Nmix
Just to finish this off, here is what I've learned now that I have it working properly. First, dismissDialog() in onDestroy() does not dismiss the dialog. I have to do it in onSaveInstanceState(). If I do it in onDestroy() and I try to recreate it in onCreate() with showDialog() -- after recrea

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

2009-03-04 Thread burton miller
the problem is not whether you can write to it, it is WHEN you can write to it. you can do it for testing, but if you want to INSTALL a db that way, then you must first package it with your application, which means the space is used TWICE. the alternative is to download it after installation - i

[android-developers] Better JavaScript debugging for a WebView

2009-03-04 Thread Miguel Paraz
Hi, I'm debugging a Javascript+HTML app. All the content is in ./assets. The app works fine in Firefox, Safari and iPhone (over the web). But in the WebView, I only get: D/WebCore ( 626): Console: undefined line: 0 source: undefined I need to debug this code. Could I either: - enable more debug

[android-developers] Dev Phones still sold out

2009-03-04 Thread Steve Ingram
The page for purchasing Dev Phones says they are out of stock and expect to start selling again on March 4th. Well, it's March 4th and you still can't buy one. Anyone heard any news about this? --~--~-~--~~~---~--~~ You received this message because you are subscr

[android-developers] getApplicationContext returns null in test case (unless you sleep first)

2009-03-04 Thread AndyM
I have a simple androidTestCase class that has this test: @MediumTest public void testFoo() { assertNotNull(this.mContext.getApplicationContext()); } this fails unless I sleep first, then it passes. Whats the deal? --~--~-~--~~~---~--~~ You received th

[android-developers] Re: Activity dispatchKeyEvent(KeyEvent event) method always return false?

2009-03-04 Thread Romain Guy
Because the Activity did not handle the key event. It's the previously focused button that handled the key event :) On Wed, Mar 4, 2009 at 9:51 AM, Meryl Silverburgh wrote: > > Hi, > > Can you please tell me why Activity dispatchKeyEvent(KeyEvent event) > method always return false? > I press UP

[android-developers] Re: Webview's addjavascriptinterface question

2009-03-04 Thread Miguel Paraz
On Mar 5, 1:17 am, j wrote: > Regarding Webview's addjavascriptinterface, is the java-javascript > binding global or apply only to my webview? Only yours. You have a private WebKit instance. --~--~-~--~~~---~--~~ You received this message because you are subscribe

  1   2   3   >