[android-developers] Triggering an application on a special gesture / event

2009-08-31 Thread Dinesh
hi, The App I'm trying to work on requires that when a special combination of keys are pressed ( irrespective of the keypad being locked ) a service / app is triggered. How can I achieve this? My app's whole idea hinges on this particular part to work. I am not here to take a no for an answer.

[android-developers] Re: Any email confirmation after submit the application for ADC 2?

2009-08-31 Thread James Yum
Hi Parchira, No email confirmation. Just make sure (everyone) that it appears in the application listing at http://market.android.com/adc as Submitted. Cheers, James On Sun, Aug 30, 2009 at 10:46 PM, parchira tech pachira.t...@gmail.comwrote: I have submitted my application for ADC 2. But I

[android-developers] Re: Do you got any confirmation after ADC 2 submit?

2009-08-31 Thread James Yum
Hi Cindy, No email confirmation. Just make sure (everyone) that it appears in the application listing at http://market.android.com/adc as Submitted. Cheers, James On Sun, Aug 30, 2009 at 10:48 PM, cindy ypu01...@yahoo.com wrote: Have you got any confirmation for ADC 2 submission? How to check

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-31 Thread James Yum
Hi Monmonja, If you already submitted the app to Market, you need to submit to the ADC site under a different package name. Were you able to do that successfully? Cheers, James On Sun, Aug 30, 2009 at 8:56 PM, monmonja almondmend...@gmail.com wrote: i had submitted an app on adc but it does

[android-developers] Any email confirmation after submit the application for ADC 2?

2009-08-31 Thread parchira tech
I have submitted my application for ADC 2. But I didn't receive any email. How can I know the application is successfully submited. THanks! Parchira --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Displaying Bitmap from PictureCallback works on emulator but not on G1

2009-08-31 Thread Shawn McMurdo
I am trying to display a Bitmap from the PictureCallback. It works on the emulator but I get a blank screen on the G1. In both cases I am running from Eclipse using ADT plugin. Here is the relevant code: public void onPictureTaken(byte[] data, Camera camera) { Bitmap bitmap =

[android-developers] Re: Activity stack: A B C - press BACK - go to A

2009-08-31 Thread Andrei Bucur
Maybe this helps: http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_PREVIOUS_IS_TOP On Mon, Aug 31, 2009 at 4:28 AM, tstanly tsai.sta...@gmail.com wrote: can possiable to verify whether B is exist or not? if B exist,so the apps can call finish() to close B, if

[android-developers] Javascript document.cookie in Android ?

2009-08-31 Thread dsuwirya
Hi, I need help how to use correctly the javascript : document.cookie or how to write cookie from javascript in Android web browser ? I've make sure in the settings that cookie is enabled. When I checked by using navigator.cookieEnabled, it returns true as well. I've a piece of javascript code

[android-developers] Re: Triggering an application on a special gesture / event

2009-08-31 Thread Romain Guy
No, this is not possible. Applications cannot listen to touch/key events that are not sent to the application itself. Only the system can do this. On Sun, Aug 30, 2009 at 9:41 PM, Dineshdinesh.a.jo...@gmail.com wrote: hi, The App I'm trying to work on requires that when a special combination

[android-developers] Questions about ImageView.setImageMatrix

2009-08-31 Thread quill
Hi, everyone, I;m testing to scale an image, and I got a problem: main.xml: ImageView android:id=@+id/iv android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=center / onCreate(): iv = (ImageView) findViewById(R.id.iv);

[android-developers] Re: Upload a valid APK ADC2

2009-08-31 Thread James Yum
Hi William, Try logging completely out of ADC site and/or Market site and try it again. Cheers, James On Sat, Aug 29, 2009 at 8:08 AM, William Frati william.fr...@gmail.comwrote: I'm keep getting upload a valid APK when i'm uploading my app in ADC2 site submission. I followed all

[android-developers] ADC deadline drawing near

2009-08-31 Thread James Yum
Hello, There's about 24 hours left before the deadline. Please, please don't wait until the last second to submit your entries. Your APK may not validate on the submission site, so leave some time to correct any issues. You can always update your entry later, and it's better to have something to

[android-developers] Re: reduce list view font size

2009-08-31 Thread powerbyte
Check the sample code in ..\android-1.5\samples\ApiDemos\src\com\example\android\apis\view \List14.java -Somu On Aug 31, 8:58 am, Sasi Kumar sasikumar.it1...@gmail.com wrote: thanks for your reply. Please give one example briefly/ On Aug 29, 8:59 pm, Balwinder Kaur (T-Mobile USA)

[android-developers] How to turn off camera sound on G1?

2009-08-31 Thread Shawn McMurdo
Anyone know how I can turn off the camera shutter sound on the G1 from within my application? Thanks! Shawn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Any method to access the /data portion on the phone?

2009-08-31 Thread sharon
hi all, I want to store some images into the /data folder,is it possible? And how to do ? 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: How to update the UI from service

2009-08-31 Thread Abdul Muyeed
HI Abdula, Did u find any solution. I'm also stuck up with the same problem. regards, Abdul Muyeed M On Aug 23, 1:50 pm, Abdula ivanmaxime...@gmail.com wrote: Activity wich startedservicemust get obtained dataservicefor update ui. I think that the first options best suited. Please provide

[android-developers] about adc2 app

2009-08-31 Thread omnitial
hello, i'm quite new in adc2 and also a late comer. i developed 2 app for the adc2 rushly. One of my app is a social app which need a server to run in real time. But i couldn't manage to acquire a server for my app, by far now (due to many reasons). So i decided to make a demo database inside my

[android-developers] Listview populate with Xml file

2009-08-31 Thread sweet
Hello i search a tuto which show how to populate au listview with an xml file of internet. I found one but it populate with attribut of a marker: xml file: listerecette recette name= »Le Cari de Boeuf » type= »Repas » Country= »France » nbrofpers= »4″ level= » content= »Coupez le boeuf en

[android-developers] problem in Http Get method..can any one tell me pls...

2009-08-31 Thread ragavendran s
Can anyone tell what is the problem in the given code to retrieve the data from the local server by using Http Get method..pls give some example code..i tried but if i give the url the result i m getting same url in the text view...shall any one point out wat the error in the

[android-developers] chrome os can execute apk?

2009-08-31 Thread freeanderson
of course i don't know google's plan. i just hope it. through emulation though. how about android-sdk for chrome application? the idea is just recompiling to make execution file for google chrome os. how about the sdk for windows? it's for windows platform. is there any supporting like this?

[android-developers] Using an Android Phone as a Host Device

2009-08-31 Thread Kit
Im trying to find out if it is possible to use an Android device (such as the G1, Touch or any other Android device) I know that the G1 for instance has a usb port however I have been told it can not be used as a host device, I'm wondering if this can be overcome or if the usb port may be used

[android-developers] My ADC2 entry is not complete yet Can I submit Upgrade.

2009-08-31 Thread rizwan
hi , My ADC2 entery is not yet complete can I submit upgrade later and what will be the deadline for that upgrade submission . as i did submit my incomplete entry but have to upgradge it before Judging I can see the upgrade option but my question is what is the deadline for that upgrade ? Thanks

[android-developers] Faded edges on View

2009-08-31 Thread Deren
I have a custom ViewGroup. Now I'd like it to have faded edges (like ListViews when you scroll them and such). How can this be done? (assuming that the View-class supports this). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Who is responsible for validation of layout xml file?

2009-08-31 Thread Susan
Anybody can help me? Susan wrote: Thanks for your help! But I really can't find where ADT does it. In build method of com.android.ide.eclipse.adt.build.PreCompilerBuilder.java: // launch the command line process Process process = Runtime.getRuntime().exec(

[android-developers] Re: My ADC2 entry is not complete yet Can I submit Upgrade.

2009-08-31 Thread Mark Murphy
rizwan wrote: My ADC2 entery is not yet complete can I submit upgrade later and what will be the deadline for that upgrade submission . 5. CHALLENGE TIMELINE: All Entries must be submitted before the end of the Submission Period. The Submission Period ends at 11:59:59 P.M. Pacific Time (PT)

[android-developers] Re: No com.android.camera.CropImage on HTC Magic?

2009-08-31 Thread admin.androidsl...@googlemail.com
Same issue here - both crop and wallpaper. Please advise the correct techniques to call these across all phones. On Aug 29, 5:15 pm, Dianne Hackborn hack...@android.com wrote: This is not part of the SDK.  You dug up the internal package and class name from somewhere, which happens to exist

[android-developers] Re: Faded edges on View

2009-08-31 Thread Deren
I solved this by using setFadingEdgeLength and setVerticalFadingEdgeEnabled. I also had to override getBottomFadingEdgeStrength/getTopFadingEdgeStrength. Is this the correct way of doing it? My ViewGroup handles scrolling internally, so I cannot use the fact the Views get faded edges on regular

[android-developers] Expose service interface to other application

2009-08-31 Thread Lutz Schönemann
Hi, I have created a service and want to expose the interface to other applications. For one service I have done this successfuly. I just put the AIDL interface into the new project and all worked fine. Now for this service I've done the same but I get a java.lang.VerifyError when trying

[android-developers] Re: Who will be viewing apps during Round 1 and Round 2 of the ADC2

2009-08-31 Thread Mark Murphy
bkbonner wrote: 1. The judges for Round 1, are they only people from Google? The judges for Round 1 are anybody who downloads, installs, and uses the judging application. 8. FIRST ROUND JUDGING: After the Submission Period ends, all eligible Entries will be judged by end users of

[android-developers] Re: Package my common code as library

2009-08-31 Thread Mark Murphy
Siu Man Yu wrote: I have done some cusomtizations on general user interface behavior. I would put those features into my applications. Therefore, I package my source code as a jar and add this external library to my applications. As my cusomtization include some inflation of xml files, I

[android-developers] Re: Any method to access the /data portion on the phone?

2009-08-31 Thread Mark Murphy
sharon wrote: I want to store some images into the /data folder,is it possible? No. Store them in your application-private files directory (via openFileOutput() or getFilesDir()), or store them on the SD card (see the Environment class for getting the path to the SD card). -- Mark Murphy (a

[android-developers] Re: No com.android.camera.CropImage on HTC Magic?

2009-08-31 Thread Mark Murphy
admin.androidsl...@googlemail.com wrote: Same issue here - both crop and wallpaper. Please advise the correct techniques to call these across all phones. In terms of cropping: Option #1: Upload it to a Web service that handles cropping, and let it do the work Option #2: Find a third-party

[android-developers] Re: Can not access my own service

2009-08-31 Thread Lutz Schönemann
I've tested it with a system permission (android.permission.INTERNET) and it worked fine. But what is wrong with the permission definition : --- 8 --- 8 --- 8 --- permission android:protectionLevel=dangerous android:name=de. [...] . [...] .softwarepolicy.pdp.PDPManagement

[android-developers] Re: Can not access my own service

2009-08-31 Thread Lutz Schönemann
That is right that the service it self has the uses-permission tag in the AndroidManifest.xml file. But I don't call checkCallingOrSelfPermission. I call the checkCallingPermission and the result is PERMISSION_DENIED. Normaly I would let android check the permissions but I want to expose

[android-developers] Re: Can not access my own service

2009-08-31 Thread Lutz Schönemann
Suddenly it works. The change is, that instead of hardcode the permissions name into the code, I used: Manifest.permission.MY_PERMISSIONS_NAME; Am 31.08.2009 um 11:41 schrieb Lutz Schönemann: I've tested it with a system permission (android.permission.INTERNET) and it worked fine. But

[android-developers] Is it possible to make pure VOIP for Android?

2009-08-31 Thread echo
Hi. I'm new to Android. I've search a lot about VOIP for Android and I found Skype, Nimbuzz, iSkoot, etc. But sadly it's not pure VOIP. My question for all the Android experts. Is it possible to make an application to do pure VOIP using Android? Thanks

[android-developers] Re: Who will be viewing apps during Round 1 and Round 2 of the ADC2

2009-08-31 Thread Che
Will the judging application be available to people with unlocked phones? On Aug 31, 4:59 pm, Mark Murphy mmur...@commonsware.com wrote: bkbonner wrote: 1.  The judges for Round 1, are they only people from Google? The judges for Round 1 are anybody who downloads, installs, and uses the

[android-developers] Re: Is it possible to make pure VOIP for Android?

2009-08-31 Thread Mark Murphy
echo wrote: Hi. I'm new to Android. I've search a lot about VOIP for Android and I found Skype, Nimbuzz, iSkoot, etc. But sadly it's not pure VOIP. My question for all the Android experts. Is it possible to make an application to do pure VOIP using Android? See sipdroid.org. -- Mark

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-31 Thread Nicholas Albion
Me too! I uploaded it, filled out the description and pressed save. The developer console site said that it was uploaded but not submitted. I then checked that my profile details were right, cancelled out of that and went back to submit. The developer's console site says No applications

[android-developers] DISABLE_DEXPREOPT ?

2009-08-31 Thread Victor
Dear All, Who knows, what is DISABLE_DEXPREOPT parameter managing? What for used dexpreopt feature? What is this useful/useless for? Thanks in advance. Victor. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Use classes defined inside other applications

2009-08-31 Thread Lutz Schönemann
Hi, is it possible to use classes that are defined in other applications? I have two dependent projects and want to use classes from one project inside the other. I use eclipse and in the project preferences Project References I checked the other project. In addition I added the

[android-developers] Getting Contents of LinearLayout Flashing When Pressed

2009-08-31 Thread Don
Hi All, Is there way to get the contents of a LinearLayout to flash when it is pressed? The same as a ListItem flashes orange when pressed. Best Regards, Don --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: chrome os can execute apk?

2009-08-31 Thread String
I think you should go back and read the announcements about Chrome OS. Word is it will be an Internet-only OS; the ONLY applications it will run are web apps. As in delivered over the web. Don't expect it to run native apps of any sort, be they Android, Linux, or anything else. At least, not at

[android-developers] Why the buffer is 0 when I play the rtsp movie from the internet?

2009-08-31 Thread yjshi
Why the buffer is 0 when I play the rtsp movie from the internet? I wrote a appliaction to play the movie from the internet.I try many times and could not found out the reason ,so I decided to have a look at opencore source code. I look at the opencore source code ,and I find that it is the most

[android-developers] Re: Suggestions on how to stop threads with long operations?

2009-08-31 Thread jsdf
Does anyone out there have thoughts on this? Thanks, jsdf On Aug 28, 5:56 pm, jsdf jasons...@gmail.com wrote: Hi Android experts, I have a tricky question that I would like some advice on. I have a thread that does a large amount of network and database work.  E.g.: new Thread(new

[android-developers] Re: Use classes defined inside other applications

2009-08-31 Thread Alessio Grumiro
you have to create a jar file and import jar library in other projects 2009/8/31 Lutz Schönemann lutz.schoenem...@sit.fraunhofer.de Hi, is it possible to use classes that are defined in other applications? I have two dependent projects and want to use classes from one project inside the

[android-developers] Problems with ADC upload

2009-08-31 Thread longhairedsi
Hi I've been trying to upload my adc submission. I keep getting an error saying Upload a valid APK. can anyone elaborate on what this means I've followed the checklist for publisihing and tested on my g1 and it all seems fine. Why can't I upload? What constitutes as a valid apk? Thanks

[android-developers] Re: Layouts for base Android applications

2009-08-31 Thread stanlick
This message suffered quite a delay before being visible on this group, and ended up many pages down in the stack! Does anyone know where the UI's are for the basic applications? On Aug 27, 12:04 pm, stanlick stanl...@gmail.com wrote: Where in the source are the layouts for the built-in

[android-developers] 16M application heap limit

2009-08-31 Thread WoodManEXP
Does the 1.5 SDK still have the 16mB application heap limit? Is there any way to change it? Do you think this limit will persist into the forseeable future? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Constructor problem

2009-08-31 Thread sweet
I've a problem with this code: public class Xml extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.liste); }

[android-developers] java.net.HttpURLConnection throws Received authentication challenge is null

2009-08-31 Thread Matthias
I am using HttpURLConnection to send a GET request to a server. Upon reading the response code, the Android implementation of HttpURLConnection.doRequestInternal() throws an exception: java.io.IOException: Received authentication challenge is null I don't even get what the error is trying to

[android-developers] Re: 16M application heap limit

2009-08-31 Thread Mark Murphy
Does the 1.5 SDK still have the 16mB application heap limit? Yes. Is there any way to change it? Not from the SDK. You might be able to change it with custom firmware. Do you think this limit will persist into the forseeable future? Until you start seeing significant numbers of Android

[android-developers] Re: Threads and Screen Orientation Change

2009-08-31 Thread ReubenH
Having used Android for 4 months, and now having a game doing well in the market, I am still wondering why a rotation change results in Activity creation / destruction in the first place? It has never made sense... why not an onLayoutChanged() type of event instead? It seems wasteful and

[android-developers] Re: Constructor problem

2009-08-31 Thread sweet
Eclipse say that for the line: ArrayList listeRecette = renvoi_liste_recette_xml(); --~--~-~--~~~---~--~~ 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] The status of Donut and HTC hero

2009-08-31 Thread johnny
Hi, Any one knows the status of Donut. There is already leaked HTC Hero phone. I wonder which version that Hero phone will be based. Regards, Johnny Xia. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Problems with ADC upload

2009-08-31 Thread fhucho
Is your app signed? But if you tested it on your G1 it probably is... On Aug 31, 2:26 pm, longhairedsi longhaire...@googlemail.com wrote: Hi I've been trying to upload my adc submission. I keep getting an error saying Upload a valid APK. can anyone elaborate on what this means I've

[android-developers] Re: Threads and Screen Orientation Change

2009-08-31 Thread Mark Murphy
Having used Android for 4 months, and now having a game doing well in the market, I am still wondering why a rotation change results in Activity creation / destruction in the first place? It has never made sense... why not an onLayoutChanged() type of event instead? It seems wasteful and

[android-developers] Re: The status of Donut and HTC hero

2009-08-31 Thread Mark Murphy
Any one knows the status of Donut. There are no official dates for any Android updates at this time. There is already leaked HTC Hero phone. Leaked? It is shipping in some markets. I saw one or two in Sweden last week. I wonder which version that Hero phone will be based. It has Android

[android-developers] Re: Layouts for base Android applications

2009-08-31 Thread Mark Murphy
This message suffered quite a delay before being visible on this group, and ended up many pages down in the stack! Does anyone know where the UI's are for the basic applications? Generally, http://source.android.com. You may find using Google Code Search to be easier than browsing. Add

[android-developers] Re: java.net.HttpURLConnection throws Received authentication challenge is null

2009-08-31 Thread Mark Murphy
I am using HttpURLConnection to send a GET request to a server. Upon reading the response code, the Android implementation of HttpURLConnection.doRequestInternal() throws an exception: java.io.IOException: Received authentication challenge is null I don't even get what the error is trying

[android-developers] enable ANDROID_ANIMATED_GIF

2009-08-31 Thread Chris Ho
I understand that animated gifs are currently not supported in the webkit port for Android. Can this functionality be enabled by turning on the compiler directive ANDROID_ANIMATED_GIF (webcore\platform\graphics\android\)? Will this work or are any other changes needed? Any caveats. Thanks,

[android-developers] Re: Camera preview

2009-08-31 Thread tinyang
Thank you Bill for your response! This has been confounding me for a while and I've had no idea how to remedy it. Is it possible for you to please include a code sample or a link to a code sample? On Aug 28, 8:45 am, Bill wrobb...@gmail.com wrote: There seems to be a bug in the EXTRA_OPTIONS

[android-developers] Re: Threads and Screen Orientation Change

2009-08-31 Thread Streets Of Boston
I deal with these situations by just keeping a public static reference around to the currently active activity. E.g. public MyActivity extends Activity { public static MyActivity ACTIVE_INSTANCE = null; protected void onCreate() { ACTIVE_INSTANCE = this; ... } protected void

[android-developers] Re: Publishing Upgrades on Android Market ... Still Relevant?

2009-08-31 Thread Jason Van Anden
A developer's time is a terrible thing to waste. This really ought to be revised. :( On Sun, Aug 30, 2009 at 8:56 PM, Streets Of Bostonflyingdutc...@gmail.com wrote: This documentation is old. Users of Android phones with the Market installed get a notification (in the top bar) that one

[android-developers] Getting failed to copy 'content' to '/sdcard/content': Read only file system on donut compilation.

2009-08-31 Thread Anand
Hi There I followed below sequence, and facing below issues while pushing the content. 1. repo init -u git://android.git.kernel.org/platform/manifest.git -b donut. By this I got today donut code. 2. repo sync 3. source build/envsetup.sh 4. make -j2 after that 5. mksdcard 1024M sdcard.img 6.

[android-developers] Re: java.net.HttpURLConnection throws Received authentication challenge is null

2009-08-31 Thread matthias
Hi Mark, you were right: it was a 401 causing this. The odd thing being, I got this exception *before* I was actually able to check for a 401 (it was thrown in getResponseCode()). But now knowing this error represents a 401, I was able to fix it in my code (I was not sending the OAuth verifier

[android-developers] Jaimin's Birthday Calendar

2009-08-31 Thread Jaimin Mehta
Hi I'm setting up a birthday calendar and need your help. Just click on the link below and enter your birthday details. (It's quick, easy, and you can keep your age a secret.) http://www.birthdayalarm.com/bd2/85580695a218396311b1478139796c627209871d1386 Thanks Jaimin

[android-developers] Re: onDraw issue? -- what's going on?!

2009-08-31 Thread niko20
Must be the reason that Electrum Drum Machine (the only other Android drum sequencer I've seen) doesn't give the user any visual indication of playback position. Hi, As the dev of Electrum Drum, I'll tell you the reason - I chose not to show the position mainly to save precious CPU

[android-developers] Re: Use classes defined inside other applications

2009-08-31 Thread Lutz Schönemann
I managed it by creating a new Java-Project set the Project Reference to that project and also added that project to the Java Build Path. Is that identical to creating a jar file and specify it in the manifest file? Am 31.08.2009 um 14:22 schrieb Alessio Grumiro: you have to create a

[android-developers] Re: GLSurfaceView does not invoke OnKeyDown(...)

2009-08-31 Thread tylik
I was in a similar situation with another view and had to override dispatchKeyEvent(). You can try and see if it helps -- Best regards, Dmitry On Aug 29, 10:43 am, Gameboy r59...@gmail.com wrote: I'm trying to use SDK 1.5 for developing app on opengl feautre, but GLSurfaceView does not invoke

[android-developers] copy raw data from internal phone storage

2009-08-31 Thread Unrealshade
Hi Android Developers, I tried to copy my wiped data from my phone, so i have to read raw data with dd command. I have root and BusyBox v1.14.2 installed, but when i type: dd if=/dev/block/mtdblock5 of=/sdcard/testfile or even just dd if=/dev/block/mtdblock5 I get: dd: /dev/block/mtdblock5:

[android-developers] ADC: I don't see my uploaded application

2009-08-31 Thread fhucho
Hi, I uploaded my app to ADC, but I don't see it in the developer console. When I want to upload an updated version it says You have another application on Android Market or ADC with the same package name (cz.fhejl.chess). Go to that other application, and click upgrade.

[android-developers] Re: Constructor problem

2009-08-31 Thread Bart van Wissen
The problem is that renvoi_liste_recette_xml() throws an Exception (you shouldn't do this - either make it more specific or catch the exception within the method) and the initialization section of your Activity cannot handle this, because the constructor of Activity doesn't throw Exception. Move

[android-developers] Re: Getting failed to copy 'content' to '/sdcard/content': Read only file system on donut compilation.

2009-08-31 Thread Marco Nelissen
What does 'adb shell df' say? On Mon, Aug 31, 2009 at 7:26 AM, Anandanandss2...@gmail.com wrote: Hi There I followed below sequence, and facing below issues while pushing the content. 1. repo init -u git://android.git.kernel.org/platform/manifest.git -b donut. By this I got today donut

[android-developers] Re: Layouts for base Android applications

2009-08-31 Thread stanlick
Thanks bro! I'll try that now. P.S. Where do you get all these tips? Peace, Scott On Aug 31, 8:31 am, Mark Murphy mmur...@commonsware.com wrote: This message suffered quite a delay before being visible on this group, and ended up many pages down in the stack! Does anyone know where the

[android-developers] Re: Getting failed to copy 'content' to '/sdcard/content': Read only file system on donut compilation.

2009-08-31 Thread Chris Stratton
probably adb shell mount rather than df, if the goal is to see if anything is mounted, since this would also tell if it's mounted rw or ro. However, the permissions of the mount point look a bit suspect, too... I have d---rwxrwx on a saphire... suspect some startup script is not doing it's

[android-developers] Re: Is it possible to make pure VOIP for Android?

2009-08-31 Thread Roman ( T-Mobile USA)
What is for you pure VOIP? In case of putting a Voip application on Android you have to decide which kind of signaling protocol you want to use -- XMPP -- SIP -- your own signaling As Mark already posted earlier, SipDroid is a pretty good Voip client using SIP signaling. You can create an

[android-developers] Re: copy raw data from internal phone storage

2009-08-31 Thread Chris Stratton
You want /dev/mtd/mtd5 or /dev/mtd/mtd5ro I forget which. And you will need yaffs tools to do anything with the result as most desktop kernels can't mount a yaffs image (get yaffs out of the android git, the desktop tools are hiding in its tree). More generally you should google for the

[android-developers] Re: Threads and Screen Orientation Change

2009-08-31 Thread Marco Nelissen
On Mon, Aug 31, 2009 at 6:06 AM, ReubenHreuben.har...@gmail.com wrote: Having used Android for 4 months, and now having a game doing well in the market, I am still wondering why a rotation change results in Activity creation / destruction in the first place? It has never made sense... why

[android-developers] Re: Suggestions on how to stop threads with long operations?

2009-08-31 Thread Yusuf Saib (T-Mobile USA)
You might run this thread in a service, and have another thread stop the service as needed. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of

[android-developers] Re: Recorded sound file not getting listed in Music menu

2009-08-31 Thread Marco Nelissen
On the other hand, do you really want your recordings to show up in the music app? This means those recordings will be mixed in with regular music when using shuffle mode, for instance. That might be OK if you actually recorded yourself making music, but if the recording is a voice memo that says

[android-developers] Re: Problems with ADC upload

2009-08-31 Thread RainBow
But if you tested it on your G1 it probably is... Beg to differ but being able to test/run on phone does not mean its signed. I spent several hours to get this sorted and get a valid signed apk. I have posted the entire steps to do this correctly here: But if you tested it on your G1 it

[android-developers] Re: Problems with ADC upload

2009-08-31 Thread RainBow
Sorry for But if you tested it on your G1 it probably is... pasting it before URL...it was by mistake. On Aug 31, 9:34 am, RainBow drvir...@gmail.com wrote: But if you tested it on your G1 it probably is... Beg to differ but being able to test/run on phone does not mean its signed. I spent

[android-developers] StackTrace Doesn't Reference Application

2009-08-31 Thread Dan Sherman
Hey guys, getting a Force-Close in my logs here (unfortunately from a remote trace, haven't been able to reproduce locally), but it doesn't mention my app anywhere in it... Anyone know what could be causing this, or how to track it down further? java.lang.IndexOutOfBoundsException: getChars (13

[android-developers] Re: 16M application heap limit

2009-08-31 Thread Dianne Hackborn
On Mon, Aug 31, 2009 at 5:56 AM, Mark Murphy mmur...@commonsware.comwrote: Do you think this limit will persist into the forseeable future? Until you start seeing significant numbers of Android devices with a lot more RAM, my guess is yes, but that's a guess. It is definitely not going up

[android-developers] Re: Can not access my own service

2009-08-31 Thread Dianne Hackborn
2009/8/28 Lutz Schönemann lutz.schoenem...@sit.fraunhofer.de Hi, my current problem is to access my own service. The thing is I have 2 interfaces for my service and want to restrict one of them to applications that have a special permission. Please note that you can't do this: the onBind()

[android-developers] Re: Expose service interface to other application

2009-08-31 Thread Dianne Hackborn
Applications can't link against each other. You'll need to link all needed code into each app. 2009/8/31 Lutz Schönemann lutz.schoenem...@sit.fraunhofer.de Hi, I have created a service and want to expose the interface to other applications. For one service I have done this successfuly. I

[android-developers] Re: No com.android.camera.CropImage on HTC Magic?

2009-08-31 Thread Dianne Hackborn
I don't know what you mean by wallpaper, so there is no way to help you. As for cropping, as I said, I don't believe there is an official intent to do this. You'll need to implement it yourself. If nothing else, just go copy the code out of the camera app that does what you want. On Mon, Aug

[android-developers] Re: Date Picker

2009-08-31 Thread Wiebbe
I dont really see why this should not be able to be done with a spinner? You can add items to a spinner programmaticly, just calculate the 3 next days add them to the spinner? You can easily get the date from the Calendar object and then use a ArrayAdapter to add your items. I found this link

[android-developers] Re: Setting internal storage in the AVD

2009-08-31 Thread Balwinder Kaur (T-Mobile USA)
What do you mean you tried setting hw.ramSize in the AVD's .config file but no change. Do you mean you edited the file and it didn't save it ? Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author

[android-developers] Re: Android icons

2009-08-31 Thread Balwinder Kaur (T-Mobile USA)
You can view the inbuilt icons by unzipping android.jar file. You can use any icon that follows the recommended guidelines for icons. http://developer.android.com/guide/practices/ui_guidelines/icon_design.html Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The

[android-developers] ADC II Package Rename Content Providers

2009-08-31 Thread Michael Elsdörfer
This is slightly confusing me right now. If I have a content provider, should it's authority be renamed also? I would have thought it makes sense, allowing both versions to run next to each other cleanly. But then I seem to be experiencing strange errors if both versions do run hat the same

[android-developers] Re: can one cmulator control controls two emulators in the same computor at the same time ?

2009-08-31 Thread Roman ( T-Mobile USA)
Make sure to use two different AVD images to start up two different emulator instances. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily

[android-developers] Re: problem in Http Get method..can any one tell me pls...

2009-08-31 Thread Wiebbe
Looking at your code, it seems that you print the String variable Output. This variable contains the value of the URL but you never set it to anything else. I think you want to set a variable to the return value of your downloadUrl method. And some unasked advice with regards to dealing with the

[android-developers] Re: Having Android Documentation in Groups Pages area

2009-08-31 Thread Dianne Hackborn
I don't manage the docs, so I can't really address your request, except that the tech writers have very limited time and I doubt they will be able to spend it on setting all of this up. I also question value to them of this, since this would be a significant investment in time for monitoring all

[android-developers] Re: Android Idle screen

2009-08-31 Thread Dianne Hackborn
You can't customize the lock screen. It is not part of home, it is built into the core system. On Mon, Aug 31, 2009 at 2:43 AM, sbrytskyy sbryts...@gmail.com wrote: Hi, I have some questions about Android. First of all is question of therms - Idle screen is screensaver or it is another

[android-developers] Re: Use classes defined inside other applications

2009-08-31 Thread Abu
U can use dalvik.system.DexFile class to access class available in another APK DexFile d = DexFile(apkname d.entries() will give u an enumeration of classes available in the APK - Hope this will answer ur question Abu 2009/8/31 Lutz Schönemann lutz.schoenem...@sit.fraunhofer.de Hi, is it

[android-developers] Re: about adc2 app

2009-08-31 Thread omnitial
i'm not getting any answer :(( plz some one say something :( im really confused now On Aug 31, 1:26 pm, omnitial omnit...@gmail.com wrote: hello, i'm quite new in adc2 and also a late comer. i developed 2 app for the adc2 rushly. One of my app is a social app which need a server to run in

[android-developers] ANR - when using google-json library to serailize.

2009-08-31 Thread sr
My application uses a media player and I'm using the google-json library to serailize some application data. I'm using the gson.toJson() method to acomplish this. It seems that 3 times out of 10, the application will terminated with an ANR. Not sure what I can do about this - but any tips on how

[android-developers] how to make sound hz?

2009-08-31 Thread guruk
sorry i just dont find that simple thing. how to create a tone lets say 10khz / 5 secs something like that,, just play a individual created sound, not playing a mpg or so? any example will be helpful thx chri --~--~-~--~~~---~--~~ You received this message

  1   2   3   >