[android-developers] Determining keyboard vibrate setting

2009-10-26 Thread Lee
Is there any way that the setting Vibrate on keypress located at settings -- Locale text -- Android keyboard -- Vibrate on keypress can be queried by an application? Thanks Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Extending an Already Existing View in android.widget gives me java.lang.VerifyError

2009-10-26 Thread Raman
Hi All, I am trying to extend a class in android.widget, specifically AbsSpinner class for some change in behaviour. For that I need to access some protected members of the Classes up in the hierarchy, so I decided to put my new class in the same package android.widget It compiles fine in

[android-developers] How to display the output fast?

2009-10-26 Thread DD
Hi, I need to display the sensors data on the phone, and I'm currently using ViewText.setText(). But it seems not fast enough. Since I'm using the FASTEST sampling rate for the sensors, the display just can't catch up with the sensors data changing. Also, I need to display the data as fast as

[android-developers] Paint onTouch

2009-10-26 Thread stephane.cast...@gmail.com
Hi! I have a problem with one of my app. I try to make a paint application but nothing is draw on the screen (except the first circle which is draw on the launch). The log Cat seems to be correct and i get the right x/y coordinates. I think i do something wrong on the ondraw. do you see my

[android-developers] Re: [Help] - Play video in Android Media Player from given URL

2009-10-26 Thread skcratch
Could you give any working example just for test purposes? Thanks in advance, Best regards! On 25 Out, 15:05, Marco Nelissen marc...@android.com wrote: On Sat, Oct 24, 2009 at 12:25 PM, skcratch skcra...@gmail.com wrote: Hi there! Can anyone please tell me if Android Media Player is able

[android-developers] Re: [Help] - Play video in Android Media Player from given URL

2009-10-26 Thread skcratch
Hi! Yes, I was refering to MediaPlayer class. It has been quite difficult find some examples on the web. Best regards! On 25 Out, 15:05, Marco Nelissen marc...@android.com wrote: On Sat, Oct 24, 2009 at 12:25 PM, skcratch skcra...@gmail.com wrote: Hi there! Can anyone please tell me if

[android-developers] Re: Showing application version

2009-10-26 Thread TreKing
Yeah, look for PackageInfo.versionName and PackageInfo.versionCode. You can get an instance of PackageInfo from PackageManager.getPackageInfo(), and you can get THAT from your Activity through getPackageManager(). On Oct 25, 6:14 am, matteoli oliver.matt...@googlemail.com wrote: I would like to

[android-developers] Calling a URL from Android phone

2009-10-26 Thread David Kebo
I am calling a URL from the Android phone This URL is supposed to move a camera connected on the same network Here is the code for the URL: url = new URL(http://10.0.1.90/axis-cgi/com/ptz.cgi? camera=1move=home); URLConnection cameraConnection = url.openConnection(); cameraConnection.connect();

[android-developers] APKs won't install

2009-10-26 Thread Androooid
Hi Developers ! I juste joined this group cause I'm interested in developing some apps for Android. I did my first Hello World this afternoon and then I wrote a small app (actually just a list that plays mp3s when an item is clicked). Both apps work on the emulator but when I export them as APK

[android-developers] playing audio (mp3) within a browser?

2009-10-26 Thread Brian Bush
Can one play audio from within a 1.5 (Cupcake) browser? If not, is there a command line tool that plays audio, or a service that I can communicate with to request playback of an audio file? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] calling external activity/application from an existing app

2009-10-26 Thread Rede Rede
I can't seem to figure out the manifest file and getting this to work. When I try to add an activity that's external to my app, it asks for the class. When I add it explicitly the compiler complains. Only one package is listed and allowed in the manifest file, however, and I can't seem to launch

[android-developers] Re: Can not access to developer.android.com

2009-10-26 Thread Shone
Hi Fred, Yes the packaged docs are there with the SDK but I have to find a valid download link other than the official one at developer.android.com/sdk to download before I could use it. Quite annoying... but anyway, it's our own problem not yours or anyother's. Thanks for your reply. -Shone

[android-developers] Re: Extract video frame at particular time

2009-10-26 Thread Tom Chen
Hi Vinu, You can use ffmpeg to extra the first frame on a video, then store it on a webserver that your android can download and use. Tom On Sun, Oct 25, 2009 at 9:47 PM, Vinu Vijayan vinu.andr...@gmail.comwrote: even i'm looking for implementing same any body got any idea for this???

[android-developers] Re: Capture large image

2009-10-26 Thread zing0000
This generates a file as expected, but only 512x384. Is that a large image? Without the EXTRA, I get a 256x192. Is that a small image? I think this thread is about a way to deliver the camera resolution 2048x1536. G On Oct 8, 6:44 am, Carmen Delessio carmendeles...@gmail.com wrote: This is

[android-developers] How to create a ListView with different View/layout for each row

2009-10-26 Thread Guo yt
Just have a look in the system app contacts ---add new contact, this activity have a listview with different structured views for each row. I could do this by override the getView method, but a problem I'm facing is edittext will lose focus when I click on it. What happened when the view enter

[android-developers] How to establish a voice call in android

2009-10-26 Thread Shekhar
Hi! I have read the android.telephony class, but still I am confused regarding how do I write a code which will perform all voice call handling. In this application I wish to establish a voice call, send receive live voice. Handling the actual hardware devices like microphone speaker. So can

[android-developers] How do I build Android project

2009-10-26 Thread braid_pitt
I am trying to build android source code (specifically the applications such as the alarm clock, calendar) and when I do this using eclipse, there are 1000+ errrors being thrown possibly due to mismatch of class path and other environmental settings. Can somebody please help in terms of any said

[android-developers] Maps not showing when used in activity group

2009-10-26 Thread Ulf Herge
Hi! I originaly posted this thread in beginners but it's maybe not a beginners question so I'll try it out here instead. I have a slight problem with my android application. My thought was to re-use as many acitivites as possible in different places so I thought an activity group would be the

[android-developers] Re: Contact Group

2009-10-26 Thread Shrenik Vikam
Yes you can create the groups in the google contacts then sync with the android phone so that ur all contacts can be sync'ed also groups are also created one more question is there from me how i can create a group from my android phone ? Thanks in advance On Oct 19, 8:29 pm, Sirisha

[android-developers] Re: Why a single String.format reduce the FPS from 35 to 25 ?

2009-10-26 Thread Eric Wang
Thanks! On 10月26日, 上午11时37分, Marco Nelissen marc...@android.com wrote: You don't want to use String.format() if performance is an issue. String.format() internally creates a new Formatter every time, which in turn pulls in all kinds of localization stuff. Instead, create a Formatter yourself

[android-developers] ADC 2 rating

2009-10-26 Thread Omer Saatcioglu
Hi, I submitted an app to ADC 2 and I had the chance to track user statistics over my server. As I observed that only 125 users used my app during the first round. This seemed to me a very low rate. What do you think? Does anybody has an statistic like this? Best Regards, Omer

[android-developers] Re: can I get a Google wave invitations?

2009-10-26 Thread Paul Turchenko
And me too :) On Oct 26, 3:01 am, aming zhu zhuam...@gmail.com wrote: re: Is someone can send me an invitation on Google wave? zhuam...@gmail.com thanks Ben. 2009/10/22 Jason Chen jasonc...@google.com Folks, While we're pleased to hear that you're all excited about Google

[android-developers] How to set numeric keyboard as default?

2009-10-26 Thread Moma
Hello, I have a TextView (or MultiAutoCompleteTextView) field where user can enter both numbers (0 - 9) and characters (a -z, what ever). But I would like to set the numeric soft-keyboard as default. I want the numeric keyboard appearing first, but user can press the [ABC] button and enter what

[android-developers] Re: How to set numeric keyboard as default?

2009-10-26 Thread Moma
A typo. I mean EditText widget, not TextView. --~--~-~--~~~---~--~~ 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

[android-developers] Low level audio really needed - too much latency in SoundPool, AudioTrack for more real time stuff

2009-10-26 Thread niko20
Ok I first have to say that I'm biased, 'cus I like to write music apps (like music generation apps). However, this affects games as well. It's somewhat disappointing how OpenGL has made it into the NDK now but there isn't any NDK methods to get to sound to have faster access. Over the weekend I

[android-developers] Re: Extending an Already Existing View in android.widget gives me java.lang.VerifyError

2009-10-26 Thread Raman
Please answer this, it's really important... On Oct 26, 11:16 am, Raman raman86...@gmail.com wrote: Hi All, I am trying toextenda class in android.widget, specificallyAbsSpinnerclass for some change in behaviour. For that I need to access some protected members of the Classes up in the

[android-developers] Re: Data Retrieval in Android

2009-10-26 Thread Maxood
Its quite crisp and clear now! Thanks a lot Mark for your enormous help and effective guidelines. On Oct 23, 9:58 am, Mark Murphy mmur...@commonsware.com wrote: Maxood wrote: Also do i have to use the android.database.sqlite.SQLiteQueryBuilder for building and running the SELECT query?

[android-developers] Re: ADC 2 rating

2009-10-26 Thread Nightwolf
I have no such statistics. According to Google blog the target was about 100 ratings per application. On Oct 26, 11:36 am, Omer Saatcioglu osaatcio...@gmail.com wrote: Hi, I submitted an app to ADC 2 and I had the chance to track user statistics over my server. As I observed that only 125

[android-developers] Re: Extending an Already Existing View in android.widget gives me java.lang.VerifyError

2009-10-26 Thread Miguel Paraz
On Oct 26, 2:16 pm, Raman raman86...@gmail.com wrote: Is it not possible to add my own new View-inherited classes in already existing package android.widget I don't know, but the common practice seems to be to copy source code files from the open source tree.

[android-developers] Re: Paint onTouch

2009-10-26 Thread Nightwolf
Try adding invalidate() in your translate() method instead of this.draw(_myCanvas);. On Oct 25, 2:37 pm, stephane.cast...@gmail.com stephane.cast...@gmail.com wrote: Hi! I have a problem with one of my app. I try to make a paint application but nothing is draw on the screen (except the first

[android-developers] Mediaplayer error PVMFErrCorrupt

2009-10-26 Thread OnlineRadioSDK
Hi, we have developed android mmsradio channel player. It works on android sdk1.5r2 ( Emulator / device ) well. but when we recompiled the same to Sdk1.6r1. It fails. Errorcode we are getting -- E/PlayerDriver( 554): Command PLAYER_INIT completed with an error or info PVMFErrCorrupt How

[android-developers] Real Life Push

2009-10-26 Thread Miguel Paraz
Hi, I've tried the following for pushing messages, in experiments: XMPP - using Smack, modified by http://code.google.com/p/jabberoid/ HTTP with Comet/Bayeux - using http://cometd.org/ Are you using these in real projects? Or other push protocols? Thanks!

[android-developers] Re: Chat Application

2009-10-26 Thread Miguel Paraz
On Oct 12, 5:28 am, Silver sunsilverdra...@gmail.com wrote: Is there an online tutorial for how to write a very mundanechat application on the Android platform, over two or more phones? (doesn't have to be anything special, just be able to send messages from one phone to the other in real

[android-developers] Re: ADC 2 rating

2009-10-26 Thread Omer Saatcioglu
Yes, in deed! But, still, IMHO it is not enough to score user experience. On Oct 26, 11:50 am, Nightwolf mikh...@gmail.com wrote: I have no such statistics. According to Google blog the target was about 100 ratings per application. On Oct 26, 11:36 am, Omer Saatcioglu osaatcio...@gmail.com

[android-developers] Re: Low level audio really needed - too much latency in SoundPool, AudioTrack for more real time stuff

2009-10-26 Thread Ulrich Althöfer
On 26 Okt., 09:17, niko20 nikolatesl...@yahoo.com wrote: Ok I first have to say that I'm biased, 'cus I like to write music apps (like music generation apps). However, this affects games as well. It's somewhat disappointing how OpenGL has made it into the NDK now but there isn't any NDK

[android-developers] Re: can I get a Google wave invitations?

2009-10-26 Thread mujoko mujoko
Could you please, send me the invitation On Mon, Oct 26, 2009 at 3:58 PM, Paul Turchenko paul.turche...@gmail.comwrote: And me too :) On Oct 26, 3:01 am, aming zhu zhuam...@gmail.com wrote: re: Is someone can send me an invitation on Google wave? zhuam...@gmail.com thanks

[android-developers] Re: Extending an Already Existing View in android.widget gives me java.lang.VerifyError

2009-10-26 Thread Raman
Can any expert in Android answer this. This is really important and I have tried everything that I could and that I knew of Android. But, this seems to be a problem not that easily solvable. On Oct 26, 2:53 pm, Miguel Paraz mpa...@gmail.com wrote: On Oct 26, 2:16 pm, Raman raman86...@gmail.com

[android-developers] Re: TabWidget, TabSpec programmatically and refresh data within the tabs from onResume

2009-10-26 Thread David G.
Hi ! I found the issue here, it is related by issue 2772 (http:// code.google.com/p/android/issues/detail?id=2772) the workaround proposed is working. Nevertheless, for the design problem, I still don't know the best way to solve it. David

[android-developers] Need Help : Profiler/task manager in Android

2009-10-26 Thread Latha Shivanna
Hii All, My android app is running very slow and I doubt that it is not given enough CPU. So wanted to know if there is any way to check the CPU utilization by all apps at the time when I am running my app. Or any tool, by which we can get to know what all applications are running at some

[android-developers] Re: Upgrade issue with SD card write permission

2009-10-26 Thread Thiago Assis
Hi, I'm with problems with the WRITE_EXTERNAL_STORAGE. I'm with Android 1.6 and the permission WRITE_EXTERNAL_STORAGE is not working. The targetSdkVersion and minSdkVersion is indicating 4 for both. Any idea? Thanks. As. On Oct 23, 12:06 pm, webmonkey

[android-developers] Re: Low level audio really needed - too much latency in SoundPool, AudioTrack for more real time stuff

2009-10-26 Thread niko20
Hi Ulrich, Interesting that our timing tests work out to similar values! Anyway audio has really always seemed to be a problem with Linux, which android is based on... just hope someday we will actually get some fast audio low level access. I'd like to write some real music apps. But it's not

[android-developers] Sending MMS in emulator

2009-10-26 Thread Vinu Vijayan
Hi all, From the release notes of the sdk versions, i came to know that sending mms in emulator's is not supported in sdk1.1 on which they have clearly specified this. In the latest releses either in cupcake or donut, they haven't specified anything on this So can anyone please let me know

[android-developers] Re: Need Help : Profiler/task manager in Android

2009-10-26 Thread Lance Nanek
I've used the top command inside adb shell to see what percent of the CPU time an app was using before. There's a more advanced tool called traceview you might want to look into as well: http://developer.android.com/intl/fr/guide/developing/tools/traceview.html I haven't needed to use that one

[android-developers] Re: Hello, MapView

2009-10-26 Thread alexdonnini
Problem solved. I needed to replace the Maps API key. On Oct 25, 9:07 pm, alexdonnini alexdonn...@ieee.org wrote: Hello, Until recently, the map view function in my application worked. Starting a few weeks ago, although the function still seems to be working, the map itself is not being

[android-developers] Re: Is Android able to connect to WPA Enterprise Wi-Fi networks ?

2009-10-26 Thread Ryck
Does anyone know if wifi helper will make WPA Enterprise work? --~--~-~--~~~---~--~~ 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

[android-developers] Getting key for maps....

2009-10-26 Thread furby
I am trying to puzzle out how to get an MD5 fingerprint for accessing google maps from an android app... So far I have figured out how to get keytool to work (The trick on XP is to enclose the entire path to the keystore in quotes since it ends up in the Documents and Settings folder). But the

[android-developers] Re: Low level audio really needed - too much latency in SoundPool, AudioTrack for more real time stuff

2009-10-26 Thread Ulrich Althöfer
Hi Niko, thank you for responsing. But I don't think, that the reason for the latency-problems is the linux-OS. There are audio-applications without such latency-problems, e.g. have a look at: LMMS - Linux Multimedia Studio, URL: http://lmms.sourceforge.net/ But I am wondering, that there is no

[android-developers] Re: Showing application version

2009-10-26 Thread Greivin Lopez
Or just use the following code snippet: /** * Gets the software version and version name for this application */ private void getSoftwareVersion() { try { PackageInfo pi = getPackageManager().getPackageInfo (getPackageName(), 0); // Store the software version

[android-developers] Re: 1.6 vs setPictureSize

2009-10-26 Thread Greivin Lopez
Hi! I was having a similar issue on my application. Later I found that setPictureSize actually works well but the problem was in the setPreviewSize. When I called setParameters it was failing because the setPreviewSize, so the other parameters wasn't really being set. If you are calling

[android-developers] Re: Getting key for maps....

2009-10-26 Thread jgostylo
I think the issue is that you need to replace the [password]s with 'android' (without the quotes). Unless I am mistaken, that is the password for the debug keystore. On Oct 26, 8:45 am, furby wookie...@gmail.com wrote: I am trying to puzzle out how to get an MD5 fingerprint for accessing

[android-developers] Re: Low level audio really needed - too much latency in SoundPool, AudioTrack for more real time stuff

2009-10-26 Thread Sundog
You are correct, the problems have nothing to do with Linux, as any Ardour user can testify. On Oct 26, 8:06 am, Ulrich Althöfer ulrich.althoe...@web.de wrote: Hi Niko, thank you for responsing. But I don't think, that the reason for the latency-problems is the linux-OS. There are

[android-developers] Re: Extremely long DNS lookup (and failure) on T-Mobile network

2009-10-26 Thread purvi
Hello, I am also facing the same problem. I am using a handler to fetch the data coming from the network request. I am thinking to throw an alert message to the user from my app indicating No Response from Network or Network down or somthing like that so that the user donot see any error and the

[android-developers] Re: ADC 2 rating

2009-10-26 Thread Peter Jeffe
On Oct 26, 5:32 am, Omer Saatcioglu osaatcio...@gmail.com wrote: Yes, in deed! But, still, IMHO it is not enough to score user experience. About 140 users for ours. I agree it's a pretty small sample, not sure why they couldn't have left the first round open for a while longer.

[android-developers] Re: Mediaplayer error PVMFErrCorrupt

2009-10-26 Thread Marco Nelissen
On Mon, Oct 26, 2009 at 3:15 AM, OnlineRadioSDK aor.leada...@gmail.com wrote: Hi, we have developed android mmsradio channel player. It works on android sdk1.5r2  ( Emulator / device ) well. but when we recompiled the same to Sdk1.6r1. It fails. Does it work if you use the 1.5 binary on a

[android-developers] Re: Low level audio really needed - too much latency in SoundPool, AudioTrack for more real time stuff

2009-10-26 Thread niko20
Thanks for the clarification. That is good news, now we just need to get some real code :) ;) On Oct 26, 10:01 am, Sundog sunns...@gmail.com wrote: You are correct, the problems have nothing to do with Linux, as any Ardour user can testify. On Oct 26, 8:06 am, Ulrich Althöfer

[android-developers] Re: No luck with italic text

2009-10-26 Thread Keith Wiley
No thoughts on my last post? --~--~-~--~~~---~--~~ 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

[android-developers] Re: ListView with Streaming Content

2009-10-26 Thread Moto
I recommend using the AsycTask abstract class declared inside your custom ListAdapter... That made my life so much easier when trying to load content progressively on request and updating the UI content at the same time... On Oct 25, 11:20 am, Miguel Paraz mpa...@gmail.com wrote: Hi, On Oct

[android-developers] Re: ADC 2 rating

2009-10-26 Thread nEx.Software
Well, because they decided the scrap the whole thing, of course. Whatever happened to Round Two? On Oct 26, 8:19 am, Peter Jeffe pje...@gmail.com wrote: On Oct 26, 5:32 am, Omer Saatcioglu osaatcio...@gmail.com wrote: Yes, in deed! But, still, IMHO it is not enough to score user

[android-developers] Google: please change your release process

2009-10-26 Thread Peter Jeffe
The recent experience with the 1.6 release underscores the need for Google to take a different approach to future releases. No matter how hard you try to make an OS backward-compatible, or an application forward-compatible, there will always be breaking changes in an OS release. That is why OS

[android-developers] Re: 1.6 vs setPictureSize

2009-10-26 Thread enervatron
Greivin -- you are exactly right. Sigh. So the real problem here is that they have error checking in setParameters which is a void and throws no exceptions. Either follow Postel's rule as in 1.5, or throw errors. But what 1.6 is doing is a mess. On 10/26/09, Greivin Lopez greivin.lo...@gmail.com

[android-developers] Re: Getting key for maps....

2009-10-26 Thread furby
That's what it was - thanks a gabillion! On Oct 26, 10:52 am, jgostylo jgost...@gmail.com wrote: I think the issue is that you need to replace the [password]s with 'android' (without the quotes).  Unless I am mistaken, that is the password for the debug keystore. On Oct 26, 8:45 am, furby

[android-developers] Re: Google: please change your release process

2009-10-26 Thread Disconnect
..or they could go the other way and saddle you with 2.0 (on cdma no less) before even OHA members get access to it. (At this point, reliable rumours have the release about 2 weeks out. Actual ads have it NLT end of November, probably much sooner - if you say Coming in November you don't make

[android-developers] Market Download Stats

2009-10-26 Thread Smelly Eddie
I know Google is quite diligent when it comes to Data Warehousing. Beyond the simple 'Active Installs' and 'Total installs' I am sure they have a whole treasure chest of useful information like active versions, Android Release version, hardware, and uninstall reasons (based on the prompt users

[android-developers] Native Shared Lib

2009-10-26 Thread Sanjay
Hi, I'm trying to create a shared lib written in c++. I followed all the steps which are recommended to create the shared lib and to access the native code in Android. But so far I couldn't succeeded in loading the shared lib on device or emulator. When I tried to load the lib by: static{

[android-developers] Re: Architecting a count down timer

2009-10-26 Thread ClarkBattle
Thanks a lot! Your suggestions greatly simplified my code. I changed it so that the TimerView binds to the TimerService and communicates to it directly through its ServiceConnection (just like in the sample code). There is so much to the API I didnt know about that sample or about the

[android-developers] Re: Market Download Stats

2009-10-26 Thread Moto
I agree, Basically as of now the Ads I put on my application gives me better statistics than Google... *Stared! On Oct 26, 12:40 pm, Smelly Eddie ollit...@gmail.com wrote: I know Google is quite diligent when it comes to Data Warehousing. Beyond the simple 'Active Installs' and 'Total

[android-developers] Android Market Server Error

2009-10-26 Thread polyclefsoftware
I just uploaded an update to my game Golf Solitaire Free. The upload procedure went fine, but when I try to access the app via the Android Market I get an error message regarding a Sever Error and am unable to access the market listing. My other market listings seem fine. Is there a direct

[android-developers] How to create/design downloadable skins packets for an application?

2009-10-26 Thread Moto
The idea is to allow users to download a skin packet from the android market and be able to change the skin via the main application. I assume this skin pack would contain only the layouts and res names that I would want to overwrite from the main application. How could I approach such project?

[android-developers] urgent requirement for Android Developers at Hyderabad

2009-10-26 Thread Dinnu0244
Hello all I would like to introduce myself as Dinesh Chandra , Executive - Talent Acquisition Team at Benvia Software (India) Pvt. Ltd. And take this opportunity to introduce Benvia Software (India) Pvt. Ltd. inform about an opportunity that might be of your interest. Overview of Benvia

[android-developers] ActivityInstrumentationTestCase2 error

2009-10-26 Thread Richard Zhao
Hi, I got a cmpile error when i use the ActivityInstrumentationTestCase2 to test my code. cannot find symbol symbol : class ActivityInstrumentationTestCase2 location: package android.test import android.test.ActivityInstrumentationTestCase2; ^ I did import the

[android-developers] Android getConnectionInfo() crash

2009-10-26 Thread Khetzal
Hello, I'm trying to get wifi signal strength in an android 1.6 dev phone with this code: WifiManager m = (WifiManager) getSystemService(Context.WIFI_SERVICE); WifiInfo w; w= m.getConnectionInfo(); But when their is the getConnectionInfo, the application crash. Is there something wrong with my

[android-developers] WindowManagerService Animation problem

2009-10-26 Thread kos
Hi guys, i tried to change the task_open_enter.xml. This file describe the animation used to open a new activity. the original: set xmlns:android=http://schemas.android.com/apk/res/android; android:interpolator=@anim/decelerate_interpolator translate android:fromXDelta=33%

[android-developers] Access Wifi and UMTS interface on Android

2009-10-26 Thread Ricardo Silva
Hi, I'm developing a framework for android and i need to access directly to the Wifi interface and UMTS interface (make switch to other access point, send/receive MAC segments and others things in low layers). Can i do this in Java? or have to be in C++? and in C++, using the NDK? Thanks

[android-developers] Camera App open source missing classes

2009-10-26 Thread Andy
I just downloaded the Camera app open source from the git repo. I’m compiling against SDK 1.6 some classes seem to be missing android.media.ExifInterface android.media.MediaMetadataRetriever is there a more recent SDK I should be compiling against?

[android-developers] Re: APKs won't install

2009-10-26 Thread Wojciech Topolski
Have you signed your app? If not, phone doesn't let you install unsigned soft. http://developer.android.com/guide/publishing/app-signing.html 2009/10/25 Androooid christophe...@gmail.com Hi Developers ! I juste joined this group cause I'm interested in developing some apps for Android. I

[android-developers] android media framework test cases

2009-10-26 Thread chandrakant.honak...@gmail.com
Can I call the android media framework test cases( at middleware) which are in C++ in java app with out much changes at the java application I’m developing ? Or I need to call the player test apps( unit test) in C++ which are part of mediatestframework in my java application ? Do I need to

[android-developers] Re: Can not access to developer.android.com

2009-10-26 Thread Edistein Zhang
I live in main land but I access developer.android.com by Tor, here is the SDK's path to download that I found: http://dl.google.com/android/android-sdk-windows-1.6_r1.zip http://dl.google.com/android/android-sdk-mac_x86-1.6_r1.zip http://dl.google.com/android/android-sdk-linux_x86-1.6_r1.tgz

[android-developers] modifying init.rc file

2009-10-26 Thread RohitAil
Hello All, I modified the init.rc file to import a new configuration file by adding the following lines in the init.rc file import /data/myconfig/conf/init.rc trigger system And the file at /data/myconfig/conf/init.rc contains on system export TRIAL_EXPORT /trial/export/to/be/replaced The

[android-developers] SMS PDU code

2009-10-26 Thread simon
Hi, all When i send a message, 1234, to my own phone, it can't get anything response! my log: D/GSM ( 78): sendRawPdu D/GSM ( 78): SMS send size=0time=946686609079 D/GSM ( 78): *SMSDispatcher.java sendSms D/RILJ( 78):

[android-developers] Re: How to get webview's content into a bitmap?

2009-10-26 Thread Jett
Great! Thanks a lot! On 9月10日, 下午11時12分, gjs garyjamessi...@gmail.com wrote: Hi again, I thought you pasted the correct code already ? Anyway for risk of being accused of writing the code for you, the following will write a jpg file, to the sdcard, which contains the entire content of the

[android-developers] Linking checkout orders to devices

2009-10-26 Thread knavewave
I am preparing to deploy a service based (account info / functionality provided via my server) app via the standard android market / google checkout approach, and am curious to see if anyone has had success or can propose suggestions on how to associate market purchases with individual devices.

[android-developers] Re: modifying init.rc file

2009-10-26 Thread Marco Nelissen
Questions about modifying the system are best asked in the android platform group. On Mon, Oct 26, 2009 at 2:51 AM, RohitAil rohit@gmail.com wrote: Hello All, I modified the init.rc file to import a new configuration file by adding the following lines in the init.rc file import

[android-developers] Activity/ListActivity trying to trigger setOnClickListener and not the onListItemClick

2009-10-26 Thread Jonas
Hi, Im stuck trying to get hold of the event for the outer TextView in a ListActivity. This is the code I have: In Manifest I start the ListActivity: ... activity android:name=AppList android:label=@string/app intent-filter action android:name=android.intent.action.MAIN /

[android-developers] How to style a Button to look like a Spinner?

2009-10-26 Thread Walles
Hi! I want to create a Button that looks like a Spinner. Programmatically, this works fine: Button button = new Button(this, null, android.R.attr.spinnerStyle); How can I do the same thing in my layout XML files? Regards //Johan --~--~-~--~~~---~--~~

[android-developers] Activity/ListActivity trying to trigger setOnClickListener and not the onListItemClick

2009-10-26 Thread Jonas
Hi, Im stuck trying to get hold of the event for the outer TextView in a ListActivity. This is the code I have: In Manifest I start the ListActivity: ... activity android:name=AppList android:label=@string/app intent-filter action android:name=android.intent.action.MAIN /

[android-developers] auto add contacts.

2009-10-26 Thread geoff
can someone tell me how to get contacts or the address book to stop syncing email address. it annoys me to send an email to a address not in phone book and only to later see it as a contact. how do i stop this? i dont want to add more contacts

[android-developers] adc 2 Second Round

2009-10-26 Thread Tumaru
i was wondering when the secound round would start, i've been waiting for what seems like weeks now for something that was said to be only a couple of days away. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] const string optimization

2009-10-26 Thread Andrei
Does Android optimize same const strings? If I have 2 foo strings in java file will it create one or two instances in class file, dex file? In my experiment it does not --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Market Download Stats

2009-10-26 Thread newbyca
starred ... couldn't agree more! On Oct 26, 12:40 pm, Smelly Eddie ollit...@gmail.com wrote: I know Google is quite diligent when it comes to Data Warehousing. Beyond the simple 'Active Installs' and 'Total installs' I am sure they have a whole treasure chest of useful information like

[android-developers] Running on emulator or device?

2009-10-26 Thread Mark Wyszomierski
Hi, Is there a way to check if our code is running in the emulator vs a real device? I'm using a MapView which requires a signing key. I'm using the signature of the eclipse debug key when running on the emulator, but this won't work when I build a release version. I think I need to have a

[android-developers] Re: Market Download Stats

2009-10-26 Thread Smelly Eddie
Wow - many stars already... Looks like this is a popular ticket. Spread the word to all yer developer cronies ! Share Market Statistics - http://code.google.com/p/android/issues/detail?id=4376 On Oct 26, 2:23 pm, newbyca newb...@gmail.com wrote: starred ... couldn't agree more! On Oct 26,

[android-developers] Re: Running on emulator or device?

2009-10-26 Thread Mark Murphy
Is there a way to check if our code is running in the emulator vs a real device? ANDROID_ID should be null on the emulator and non-null on a device: http://developer.android.com/reference/android/provider/Settings.Secure.html I'm using a MapView which requires a signing key. I'm using the

[android-developers] How to share preferences between apps ?

2009-10-26 Thread sandy8531
I have a need to share preferences between two apps, where one app writes the preferences and the other needs read only access. I notice that there is this API available in Context : public abstract SharedPreferences getSharedPreferences (String name, int mode). Where I can set the mode to :

[android-developers] Re: How to share preferences between apps ?

2009-10-26 Thread Jason Proctor
consider implementing cross-app preferences using a custom content provider perchance? (might be overkill, but nicer than hardwiring paths IMHO.) I have a need to share preferences between two apps, where one app writes the preferences and the other needs read only access. I notice that

[android-developers] Re: How to share preferences between apps ?

2009-10-26 Thread sandy8531
Yes thats definitely an overkill for us - and a option of last resort :) I assume since the API exists there has to be a way to use it. On Oct 26, 1:45 pm, Jason Proctor jason.android.li...@gmail.com wrote: consider implementing cross-app preferences using a custom content provider perchance?

[android-developers] Re: adc 2 Second Round

2009-10-26 Thread iPaul Pro
Google said that the first round would be entirely decided by user voting. Are we to believe that they are reviewing every rating by hand? This is a joke. The finalists will obviously be hand-chosen, disregarding the first round results. This may seem like an unfounded accusation, but how long

[android-developers] Re: Linking checkout orders to devices

2009-10-26 Thread RichardC
Hi, As I user as well as a developer I don't like the idea of linking apps a particualar device. My understanding is that applicatons I download are linked to my Google account so if I change my phone (upgrade or replacement) once I log back into the market I can re-download my free and paid

[android-developers] Re: Interrupting the app uninstaller

2009-10-26 Thread Doug
I completely agree that there should be no way for an application to prevent its uninstallation - but there are valid reasons why the application may want to pop up some important information to the user either before or after the uninstall. A good example of this is a service that adjusts some

[android-developers] Re: Running on emulator or device?

2009-10-26 Thread Mark Wyszomierski
Thanks Mark, I set this once in a global Config class: public static final boolean IS_EMULATOR = android.provider.Settings.Secure.ANDROID_ID == null; For the maps, yeah I'll have to just create the MapView instance through code, you can pass the key in through the constructor, I guess that

[android-developers] Re: Linking checkout orders to devices

2009-10-26 Thread Wayne Wenthin
Well then you won't like the market.I am almost positive (having went through 3 phones) that the market is tied in someway to the handset not the google account.As a developer I echo the idea of the original poster. Since my upcoming app requires a unique ID to be able to play I would love

  1   2   >