[android-developers] Re: color lookup table

2009-08-31 Thread arjun r
Thanks you :) I shall have a look at that . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from thi

[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 androi

[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 wrote: > Activity wich startedservicemust get obtained dataservicefor > update ui. > I think that the first options best suited. Please provide anexample > for the fi

[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 a

[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: … Java: public ArrayList renvoi_liste_recette_xml() throws Exception{ ArrayList aTableRetour = new ArrayList(); URL myURL = new UR

[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 code..

[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? or

[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 a

[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 Googl

[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().

[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 wrote: > This is not part of the SDK.  You dug up the internal package and class name > from somewhere, which happens to exist on the G1, but th

[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 sc

[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-po

[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 fi

[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 C

[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-part

[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< --- android:description="@string/pdpmanagement_permission_description">permission> --- 8< --- 8< --- 8< --- The three dots are not

[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 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 more than one int

[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 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 > judging application.

[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 M

[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 upload

[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 Projec

[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 Dev

[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

[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 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 Runnable() { >   pub

[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 > 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

[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 Sim

[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 wrote: > Where in the source are the layouts for the built-in UI's?  I would > like

[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 Deve

[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); } publi

[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 t

[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 Androi

[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 counteri

[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@go

[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 Devel

[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 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 followed the checklist fo

[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 wastefu

[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 Andro

[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

[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, Chr

[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 wrote: > There seems to be a bug in the EXTRA_OPTIONS if you're using th

[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 onD

[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 Boston wrote: > > This documentation is old. > > Users of Android phones with the Market installed get a notification > (in the top bar) that one or more application

[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. em

[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 co

[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

[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

[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 wrote: > I'm trying to use SDK 1.5 for developing app on opengl feautre, but > GLSurfaceView does not invoke OnKeyDown(...)

[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: Input

[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, Anand 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 code. > 2. rep

[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" 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 UI's are for th

[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 thing

[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 accoun

[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 writeu

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

2009-08-31 Thread Marco Nelissen
On Mon, Aug 31, 2009 at 6:06 AM, ReubenH 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 not an onLayoutChange

[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 T-

[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 probabl

[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 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 several hour

[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 wrote: > > 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 for the current c

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

2009-08-31 Thread Dianne Hackborn
2009/8/28 Lutz Schönemann > 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() method is called only -once- for

[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 > 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 int

[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 th

[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 so

[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 view

[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 ti

[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 rep

[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 o

[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 wrote: > > Hi, > I have some questions about Android. First of all is question of > therms - Idle screen is screensaver or it is another name of Home > scre

[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( 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 > Hi, > > is it possible to use classes that are defin

[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 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 real time. > But

[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 becaus

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

2009-08-31 Thread zhugejin
u need to set this view focus if u want handle the events from event queue setFocusable(true); On Aug 31, 10:58 pm, tylik wrote: > 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

[android-developers] Stream Video to Android over RTP

2009-08-31 Thread juriglx
Hi I want to stream a video to Android, preferably over RTP. Session setup would be done with SIP. Any ideas where to start? I looked at sipdroid, but there is only audio. Any hints appreciated. Juri --~--~-~--~~~---~--~~ You received this message because you

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

2009-08-31 Thread tansaku
Sure, but I was proposing that the Google staff doing the updates to the main tree would do it here, so no replication of work. CHEERS> SAM On Aug 26, 3:37 pm, Michael Leung wrote: > But that needs someone to update it. I think that is fine to read from the > main android site. > > However, tha

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

2009-08-31 Thread Dianne Hackborn
Calling exec() does not give you any more access than you have directly from your app. On Mon, Aug 31, 2009 at 4:30 AM, Bytes wrote: > > Try using > > Just use exec() API - Not a long term solution. > > > > > On Aug 31, 2:02 pm, Mark Murphy wrote: > > sharon wrote: > > > I want to store some im

[android-developers] Re: Run always a service automatically

2009-08-31 Thread Dianne Hackborn
You can't auto-run after being installed. And please think again, some more, and yet one more time about doing this. Having a service run forever is in most cases pure evil. You should only have a service run when it actually has work to do, such as scheduling an alarm to run every 15 minutes. O

[android-developers] Re: Very nasty error for no reason

2009-08-31 Thread fadden
On Aug 29, 3:51 pm, longhairedsi wrote: > I will post a bug report with example code after the developer > challenge monday deadline. An APK that explodes when launched would be best. The stack trace doesn't say much, so a reproducible test case would be very helpful. pid: 1710, tid: 1711 >>>

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

2009-08-31 Thread Abu
I can give u two solution . Actual solution: Set Background color for the layout with a xml that maps to different colors/images for differnet state of the View. http://schemas.android.com/apk/res/android"*> in a xml and set this in backgroundcolor of Linear Layout. - Abu Funny Solution

[android-developers] Re: about adc2 app

2009-08-31 Thread omnitial
help i didnt get any answer yet..:( is there anybody who can say am i doing the right/wrong things :(( On Aug 31, 1:26 pm, omnitial 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

[android-developers] Run always a service automatically

2009-08-31 Thread Urizev
Hi, I have developed an application only with a service which is launched after rebooting. I would like it were launched after being installed and after crashing. Any idea? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] ExpatReader: DTD handlers aren't supported.

2009-08-31 Thread synfo...@googlemail.com
I seem to be having a weird issue when parsing XML from a server. In LogCat the following warning is displayed: 08-31 12:05:28.870: WARN/ExpatReader(2031): DTD handlers aren't supported. The parser then seems to stop. I can't figure out what is causing this problem, my approach doesn't seem any

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

2009-08-31 Thread Mark Murphy
junker37 wrote: > Can you explain how to stop the android framework from destroying and > re-creating the activity on a layout change? http://wiki.andmob.org/samplecode has links to: http://www.androidguys.com/2008/11/11/rotational-forces-part-three/ http://www.androidguys.com/2008/11/24/rotati

[android-developers] Re: How to show the search bar

2009-08-31 Thread prashant
Hi Sharkey Can I add the search bar in the view instead of lauching it as popup window(Modal)? Could you please point me to some link that show how to implement this? Prashanth On Jul 27, 2:28 pm, Jeff Sharkey wrote: > Are you defining res/xml/searchable.xml, and then referencing it in > your

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

2009-08-31 Thread junker37
Can you explain how to stop the android framework from destroying and re-creating the activity on a layout change? On Aug 31, 11:24 am, Marco Nelissen wrote: > On Mon, Aug 31, 2009 at 6:06 AM, ReubenH wrote: > > > Having used Android for 4 months, and now having a game doing well in > > the mar

  1   2   3   >