[android-developers] Native code is being called successfully but not executed properly

2009-09-09 Thread pink 444
hai folks, In Android , Native code is written as follows. JNIEXPORT void JNICALL Java_com_android_Test_show(JNIEnv *env, jobject obj) { printf(THIS IS TEST); } JNIEXPORT jint JNI_OnLoad(JavaVM *vm, void *reserved) { JNIEnv *env; JNINativeMethod meth;

[android-developers] Security framework available on android??

2009-09-09 Thread Sudeep Jha
Which security framework is available or can be ported to android ? Warm Regards, Sudeep --~--~-~--~~~---~--~~ 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] Multiple data for an intent

2009-09-09 Thread Dexter#39;s Brain
Hi All, I was just wondering if it is possible to give the intent a set of data, instead of just one. A particular scenario where this could be applicable would be a music application. You select a list of songs, and pass all these data (file path) to the Music Player's application. Another

[android-developers] Re: Multiple data for an intent

2009-09-09 Thread AJ
You could put all data in Bundle and send this Bundle with the Intent. This will solve your problem. Thanks, AJ On Sep 10, 10:02 am, Dexter#39;s Brain coomar@gmail.com wrote: Hi All, I was just wondering if it is possible to give the intent a set of data, instead of just one. A

[android-developers] Is there any method to read sms and gmail?

2009-09-09 Thread 楊健
Hey everybody! Is there any method to read sms and gmail? It seems there is not any provider to read sms and gmail. But in Manifest.permission I found READ_SMS(Allows an application to read SMS messages.). The android.telephony.gsm.SmsManager class allow us to sent a sms but read. If possible

[android-developers] Re: Multiple data for an intent

2009-09-09 Thread Dexter's Brain
But, I don't have control over the target application. Suppose, I want to send 3 geo points info to the google maps application, will this solve my problem? Thanks, Dexter. On Sep 10, 10:20 am, AJ ajeet.invinci...@gmail.com wrote: You could put all data in Bundle and send this Bundle with the

[android-developers] Re: Security framework available on android??

2009-09-09 Thread Roman ( T-Mobile USA)
The Bouncy Castle framework is part of Android. You can find it in the dalvik/libcore. If you want to use bouncy castle on SDK level you can download a jar package from http://www.bouncycastle.org/ -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and

[android-developers] Re: Supported Media Formats Programmatically

2009-09-09 Thread kk
Hi Ajeet, Thanks for the reply. This is great information, but unfortunately does not address my question. I am not certain that querying the Webkit interface gurantees that the mimetype is support on across the platform, let alone via Webkit based applications. Documentation to sparse to

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-09 Thread broc.seib
For ADC2 I created BabelSnap! for the Travel category. You use the device's camera to snap a bit of text, whether from a public sign, a menu, or newspaper, etc. The image is fed through an OCR, and the resulting plain text can be translated to any language. http://babelsnap.com/ (Yes, the

[android-developers] Re: Ethernet / IP over USB connection?

2009-09-09 Thread Chris Stratton
Usb ethernet dongles will not work at all, the current android phones are usb devices themselves, and do not (yet) support connection to usb devices, only to usb hosts. The usb through to pc idea is workable to an extent, but it will likely only be custom applications on the phone that are able

[android-developers] Re: manually restart an activity

2009-09-09 Thread Dianne Hackborn
Sorry there isn't really a way to do that right now. On Tue, Sep 8, 2009 at 10:58 PM, jonathan topcod...@gmail.com wrote: Is there a way to restart an activity? The reason is that need to change the theme dynamically, and the activity needs to be restarted and redraw itself after the change.

[android-developers] Re: Android WVGA support

2009-09-09 Thread gasolin
Hello, I was thinking there are plenty of hardware constrains in upcoming android devices, not only the screen resolution. There will be some devices without compass, wifi, g-sensor... ,etc. It will be nice that developer could pre-claimed the app requirement and user could be notified before

[android-developers] Supported Media Formats Programmatically

2009-09-09 Thread kk
How do I determine programmatically which Media MimeTypes/Formats are supported on a specific device/platform? There doesn't appear to be any methods in Media Store or Media Managers to determine supported types on device. Is this by design or can we expect to see support in future releases?

[android-developers] Re: Android WVGA support

2009-09-09 Thread Dianne Hackborn
Supporting a wider variety of hardware has been an ongoing processes, and was already started with 1.5 with the introduction of soft keyboards and corresponding mechanisms for applications to declare they require hard keyboards etc. This will continue after Donut as well. We are not going to

[android-developers] Re: manually restart an activity

2009-09-09 Thread Jonas Petersson
Dianne Hackborn wrote: Sorry there isn't really a way to do that right now. On Tue, Sep 8, 2009 at 10:58 PM, jonathan topcod...@gmail.com mailto:topcod...@gmail.com wrote: Is there a way to restart an activity? The reason is that need to change the theme dynamically, and the

[android-developers] Re: manually restart an activity

2009-09-09 Thread Dianne Hackborn
Another possible one -- call startActivity() to start a new instance of your activity and then call finish() in the current instance. Trying to propagate our current instance state would be very tricky though. On Tue, Sep 8, 2009 at 11:36 PM, Jonas Petersson jonas.peters...@xms.sewrote:

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

2009-09-09 Thread Ajeet Singh
Hi All, I am trying to get the webview's content on a bitmap so that i can save it as a image. But I am unable to so. I am getting the BLACK image save instead. All content is missing :( Anybody can help me regarding this. Here is my code

[android-developers] how to get events out of a service.

2009-09-09 Thread sdphil
i understand how to call methods on a service (aidl, etc...), but how does a service event information out. how does it generate events back to the application? tia. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] porting android

2009-09-09 Thread tica
If I want to porting Android to a new hardware platform, Is there any basic reqirments of the hardware? --~--~-~--~~~---~--~~ 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] Layout editor , framework library reference

2009-09-09 Thread GPU
Hi , Which jar file the Layout editor uses to process the views?. I am using eclipse . I added the new android.jar in library path .But the framework changes not reflected in in layout editor. So where i need to update the library for layout editor? Thanks Regards Gopu

[android-developers] How to display an arraylist

2009-09-09 Thread sweet
Hello i'm new to android developping and i've done a function which return an arraylist type ArrayListArrayList. I would like to display this array list for see if my function work. Can you help me ? Thanks Sweet --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: USIM and ISIM Support

2009-09-09 Thread Android Development
USIM or ISIM applications will reside on the UICC card. For the ISIM application, and the interface it exposes, please refer to the 3GPP standards. On Fri, Aug 28, 2009 at 10:13 AM, santosh kumar santosh.1...@gmail.comwrote: Hi Suziki, Thanks for quick reply. Can you please tell me where

[android-developers] Re: SQLlite issue

2009-09-09 Thread tstanly
thanks for reply, I foud sqlite that can use .import to import csv file. On 9月9日, 下午1時39分, Desu Vinod Kumar vinny.s...@gmail.com wrote: HI Here for exporting is there go through this and do that by using thias i think public class DatabaseAssistant { private static final String

[android-developers] Re: Android IMS support

2009-09-09 Thread Android Development
I have tried to contact the developers, as i wanted to contribute to this project. However, i have not heard from them yet. On Wed, Aug 26, 2009 at 12:38 AM, Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com wrote: The IMS code which you find on sourceforge is far from being completed.

[android-developers] simple notification crashing with IllegalArgumentException

2009-09-09 Thread sdphil
onCreate() -- nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); someOtherCall() -- Notification notification = new Notification(R.drawable.icon, some text, System.currentTimeMillis()); nm.notify(NOTIFY_ID, notification);

[android-developers] Re: DatePicker throw java.lang.StackOverflowError when embbeded with TableRow

2009-09-09 Thread drago
Have the same problem, with only one difference. In my case EditText is used as child of TableLayout (without TableRow). Exception: Uncaught handler: thread main exiting due to uncaught exception java.lang.StackOverflowError at android.text.method.ReplacementTransformationMethod

[android-developers] Re: DatePicker throw java.lang.StackOverflowError when embbeded with TableRow

2009-09-09 Thread Romain Guy
You have too many levels of views in your hierarchy. Remove some of them. On Wed, Sep 9, 2009 at 12:54 AM, dragosdrag...@gmail.com wrote: Have the same problem, with only one difference. In my case EditText is used as child of TableLayout (without TableRow). Exception: Uncaught handler:

[android-developers] finishFromChild does not called

2009-09-09 Thread Atif
My child activity X is called from Parent activity P through startActivity(intent). I want to close P when X called its finish() method. I override a method finishFromChild(Activity child) in P and called finish() in it. But this functions (finishFromChild(Activity child)) is not being called

[android-developers] Re: simple notification crashing with IllegalArgumentException

2009-09-09 Thread sdphil
rtfm - http://developer.android.com/guide/topics/ui/notifiers/notifications.html On Sep 9, 12:52 am, sdphil phil.pellouch...@gmail.com wrote: onCreate() --                 nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); someOtherCall() --                 Notification

[android-developers] Re: Deep sleep behaviour

2009-09-09 Thread Lee
You can detect screen off and set an alarm every 5 seconds to poke the service if you want to keep it doing something. While the service is busy, make sure you hold a partial wake lock. Have a look at the SMSPopup for an example of wakelock management. Lee

[android-developers] Re: DatePicker and TimePicker CAN NOT be skined/themed !!

2009-09-09 Thread Lee
Really annoying that Date/Time are final classes as well so you can't extend them. Lee On Sep 8, 8:46 pm, Armond Avanes armond...@yahoo.com wrote: Thanks for your answer... Yes, copying the source code will be the worse case but how about the future changes and improvements to these

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

2009-09-09 Thread Ajeet Singh
Hi gjs, Thanks for pointing that error. But that was a type error. Now I am pasting the correct code here. WebView w = new WebView(this); w.loadUrl(http://www.yahoo.com;);

[android-developers] Custom java view and custom attributes or parameters from the XML

2009-09-09 Thread Efor18
Hi, I'm trying to make a libray which has a custom view, as a library is not an android project else a java project. I can't especify the attributes or parameters in a xml file like in a usual android project. Are there any way to create custom parametres or attributes for a custom view using

[android-developers] A question about mediaplayer could not play rtsp?

2009-09-09 Thread yjshi
I create a mplayer to play the rtsp on the emulator . when the mplayer play the http ,it is ok. -- MediaPlayer mplayer = new MediaPlayer(); mplayer.setDataSource(rtsp://test.intra.3g.sina.com.cn/streaming/

[android-developers] Re: Supported Media Formats Programmatically

2009-09-09 Thread Ajeet Singh
See the class MimeTypeMap.java (frameworks\base\core\java\android \webkit) Hope this helps you. AJ kk wrote: How do I determine programmatically which Media MimeTypes/Formats are supported on a specific device/platform? There doesn't appear to be any methods in Media Store or Media

[android-developers] Running Application as Service

2009-09-09 Thread javame_android
Hi, I want the application to run in background. This application should run continuously and should never get killed. Will running application as Service solve this issue? The application should get started automatically on start up. I don't need any GUI for this application. The main issue is

[android-developers] Re: Deep sleep behaviour

2009-09-09 Thread Android Development
I also have a query regarding this. I have two questions: 1) Suppose, i want my service to go into deep sleep initially. If my phone receives an incoming VoIP call (over the underlying IP connectivity, which may be WiFi), then i wish to start an activity, and alert one of my services to handle

[android-developers] Re: DatePicker and TimePicker CAN NOT be skined/themed !!

2009-09-09 Thread Armond Avanes
Lee, Take a look at android.widget.DatePicker and android.widget.TimePicker source codes, and you'll notice that they're using date_picker.xml and time_picker.xml as they layouts. So far so good! Now take a look at date_picker.xml source code and see those

[android-developers] Re: Deep sleep behaviour

2009-09-09 Thread Android Development
I got the answer to question number 2 here: http://developer.android.com/reference/android/telephony/PhoneStateListener.html http://developer.android.com/reference/android/telephony/PhoneStateListener.htmlOnly question 1 remains now. On Wed, Sep 9, 2009 at 2:15 PM, Android Development

[android-developers] Re: Android WVGA support

2009-09-09 Thread Al Sutton
Dianne, In the blog post can you cover how to produce one app which will run on cupcake and donut and support multiple resolutions. As I understand things at the moment developers will need at least two versions of the same app listed in Market to cover both bases; One with minSDK=4 and the

[android-developers] Decent AdMob revenue... Anyone?

2009-09-09 Thread Armond Avanes
Hi Guys, Currently the country where I am is not supported by Google for selling apps, so my second option is to use AdMob. But first I would like to hear about your experiences with AdMob revenue generation... Does it generate any decent revenue for your app(s)? Is it worth? As well, if you

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

2009-09-09 Thread Android Development
Hello, From the conversation above, i understand that having a static reference to the activity can be used by background threads (that we may spawn), to send callbacks to the activity (which can then render stuff on the UI). However, It would be helpful, if someone can also provide an example of

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

2009-09-09 Thread Android Development
oops. forgot to override handleMessage ( ) in the pseudo code above. Let us assume, that in the handleMessage ( ), we decide which processxyz to call, depending on the message received ! sorry.. On Wed, Sep 9, 2009 at 3:01 PM, Android Development indodr...@gmail.comwrote: Hello, From the

[android-developers] Re: A question about mediaplayer could not play rtsp?

2009-09-09 Thread tstanly
this issue was still un-solute for a long time. the only possiable answer I know, is the stream must be a progressive stream. so you can try a stream server that can support progressive. On 9月9日, 下午4時29分, yjshi shiyaju...@gmail.com wrote: I create a mplayer to play the rtsp on the emulator

[android-developers] Re: I want to create the layout sample like settings in Andriod

2009-09-09 Thread Lance Nanek
On Sep 8, 11:58 pm, andymoris andymori...@gmail.com wrote: How can i create layout style similar to settings in Andriod emulator? PreferenceActivity looks like that, I think. There are some examples in the API demos. Using all code:

[android-developers] Re: N00b: Do I really need the official developer hardware kit?

2009-09-09 Thread Lance Nanek
On Sep 8, 9:42 pm, Mawg some.m...@gmail.com wrote: There are Chinese Android 'phones on eBay Be careful. Some of the Chinese phones have a UI that looks like Android, but not the actual OS: http://www.engadget.com/2009/04/25/keepin-it-real-fake-part-ccii-meticulous-g1-clone-forgets-the/

[android-developers] Re: A question about mediaplayer could not play rtsp?

2009-09-09 Thread 石亚军
progressive stream is a address begin with http://;. And now MediaPlayer could play the progressive streaming. My question is how to play the real-time streaming. I found some people have said that it could play the rtsp://.But I have never done it successfully so far. So I want to know the

[android-developers] Re: TabHost and startActivityForResult

2009-09-09 Thread Gavin
No one can give an answer?? --~--~-~--~~~---~--~~ 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: onReceive not triggering for SEND / image

2009-09-09 Thread EnnaN
I know i'm bumping this, but i really think it's something simple i've missed. Trying to avoid definitions i might be using incorrectly: This is what i have: An app that turns up in the share menu of the gallery. Selecting my app starts it as if you would start it normally This is what i don't

[android-developers] Re: Map Overlays

2009-09-09 Thread Neilz
Ok well I've programmed question 2 myself, even though I'm sure the API must provide a means to do it. I still am puzzled about the Strings in the constructor. Maybe Android maps don't work like they do on the web. For example, when you click on a marker on GoogleMaps, an info panel pops up. I

[android-developers] Problem with launcher icon on update

2009-09-09 Thread MIMRAN D
Hi, I have a problem with the launcher icon when I update my application from 1.0 to 1.1. I have the right launcher icon in 1.0 but not in 1.1 just after an update. But, if I reboot my devices, it's ok. In the manifest, I just increase the android:versionCode and android:versionName but didn't

[android-developers] Re: Linking Directly To An App In The Market?

2009-09-09 Thread Jason Van Anden
Was this ever resolved. I am looking to link to the Market from my webpage - ie: someone visits my webpage, I tell them to download from the market ... how exactly? Do I tell them to just do a search when they get there? Jason Van Anden http://www.bubblebeats.com On Tue, Feb 24, 2009 at 3:17

[android-developers] Re: N00b: Do I really need the official developer hardware kit?

2009-09-09 Thread Mark Murphy
Mawg wrote: The answer is probably yes, so I guess that what I am asking is if the official HDK makes life (significantly) easier for me. Only if you are modifying the firmware. For ordinary application (SDK-level) development, I would use any phone *other* than the ADP1. -- Mark Murphy (a

[android-developers] Using Broadcast Receivers

2009-09-09 Thread Android Development
Hello everyone, I had one question: Is it feasible to use a BroadcastReceiver as a glue layer between the user interface and the underlying business logic ? Example use case: Suppose i am maintaining the state of a call, and providing callbacks to the UI by invoking sendBroadcast with the

[android-developers] Hero SDK

2009-09-09 Thread AndroidKing
I am getting the value 3 from android.os.Build.VERSION.SDK on Hero phone but I noticed that the contacts.db has changed schema how do we identify the hero sdk from the cupcake 1.5?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: DatePicker and TimePicker CAN NOT be skined/themed !!

2009-09-09 Thread Lee
So by extending these two classes, I can't see a way to do what I want. I have to somehow deal with those internal API, unless I copy the whole code and deal with my own version of DatePicker/TimePicker/NumberPicker from scratch. Correct me if I'm wrong... No, sure, I agree. I was just

[android-developers] Re: how to get events out of a service.

2009-09-09 Thread Mark Murphy
sdphil wrote: i understand how to call methods on a service (aidl, etc...), but how does a service event information out. how does it generate events back to the application? Option #1: Broadcast an Intent using sendBroadcast() Option #2: Implement a callback mechanism, where the client

[android-developers] Re: porting android

2009-09-09 Thread Mark Murphy
tica wrote: If I want to porting Android to a new hardware platform, Is there any basic reqirments of the hardware? The [android-porting] Google Group is probably a better place for questions about porting: http://source.android.com/discuss -- Mark Murphy (a Commons Guy)

[android-developers] Re: Running Application as Service

2009-09-09 Thread Mark Murphy
javame_android wrote: I want the application to run in background. This application should run continuously and should never get killed. Strictly speaking, that is not possible. Will running application as Service solve this issue? Not really. Services can be killed by Android (e.g., low

[android-developers] Re: Using Broadcast Receivers

2009-09-09 Thread Mark Murphy
Android Development wrote: Is it feasible to use a BroadcastReceiver as a glue layer between the user interface and the underlying business logic ? Yes, but bear in mind that broadcast Intents are not private. Anyone who figures out an appropriate Intent filter can listen in. Depending on the

[android-developers] Re: Issues with installing subclipse and android plugin

2009-09-09 Thread akitto
I have the same issue but have ubuntu 9.04. I have installed subclipse 1.6 and it work fine by without android installed. Install the Andriod plug-in and then neither work. Same but the other way round is also true Install the android plugin then subclipse and neither work again. I have also

[android-developers] Re: Hero SDK

2009-09-09 Thread Mark Murphy
AndroidKing wrote: I am getting the value 3 from android.os.Build.VERSION.SDK on Hero phone but I noticed that the contacts.db has changed schema Did they change the API for the Contacts content provider? If not, why does it matter what the schema is, since you cannot access the underlying

[android-developers] third party permission

2009-09-09 Thread Honest
Hello, I need to get recently visited web pages so i am using following permission. I got its reference from http://github.com/android/platform_packages_apps_browser/blob/0cb2af7646d0a41c0543a086021df3042bfc814a/AndroidManifest.xml. But it is giving me error. can some one tell me what is wrong

[android-developers] Re: CompareEverywhere

2009-09-09 Thread paultwa
hi Jeff, Over the last month I 've been read your blog [http://jsharkey.org/ blog/ ], and found some tips on how writing Android apps from your opensource, such as 'Forecast' and 'GroupHome'. Thanks On Sep 8, 4:05 pm, Jeff Sharkey jshar...@android.com wrote: I've been meaning to open-source

[android-developers] Re: Decent AdMob revenue... Anyone?

2009-09-09 Thread Donn Felker
Advertising revenue directly corresponds to traffic and CTR (clicks). Any advertising venue will generate revenue if you get enough traffic. So, if your app is popular, yes. You will make some money. This is probably a better question for the Admob Group:

[android-developers] Re: How to display an arraylist

2009-09-09 Thread sweet
Nobody can help me ? On 9 sep, 09:30, sweet brou...@gmail.com wrote: Hello i'm new to android developping and i've done a function which return an arraylist type ArrayListArrayList. I would like to display this array list for see if my function work. Can you help me ? Thanks Sweet

[android-developers] Re: A question about mediaplayer could not play rtsp?

2009-09-09 Thread Moto
I believe rstp supports only 3gp file format? I might be wrong... On Sep 9, 5:55 am, 石亚军 shiyaju...@gmail.com wrote: progressive stream is a address begin with http://;. And now MediaPlayer could play the progressive streaming. My question is how to play the real-time streaming. I found

[android-developers] Re: N00b: Do I really need the official developer hardware kit?

2009-09-09 Thread Phred
I went to ebay and got my self an unlocked T-Mobile G1 for about $319 CDN. Went into settings and enabled the developer settings and boom ready to roll. Install Eclipse, the Android SDK and your set! Avoid the Chinese crap... more than likely knockoffs! If it looks to good to be true... it's

[android-developers] Re: Probing for an already set Alarm?

2009-09-09 Thread Walles
I'll use a Service instead of an Alarm and keep it running in the background. That way I can keep track of it myself. Thanks for the input! Cheers /J On 8 Sep, 07:34, Walles johan.wal...@gmail.com wrote: Hi! How can I probe for whether a specific alarm has been set?  I set the alarm as

[android-developers] Re: How to display an arraylist

2009-09-09 Thread Casper Bang
You can always log the content and use LogCat to view the ouput. Or you could create a test Intent for the purpose: public class DumpArray extends ListActivity{ public void onCreate(Bundle savedInstance){ super.onCreate(savedInstance); setListAdapter( new

[android-developers] Re: How to display an arraylist

2009-09-09 Thread Casper Bang
Oops, that should say Activity rather than Intent: Or you could create a test Intent for the purpose: Double oops, I did not see you wanted to display ArrayListArrayList? . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Popup list (similar to Spinner)

2009-09-09 Thread Jonas
Hi, How can I pop up a list of items much like a Spinner but I don't wan't the Spinner widgets itself (the drop down item). I only like to pop up a list of items and select one item, what type of widget can I use? Also see my post Popup a spinner when clicking on a TextView . I tried to change

[android-developers] Re: Popup list (similar to Spinner)

2009-09-09 Thread Mark Murphy
Jonas wrote: How can I pop up a list of items much like a Spinner but I don't wan't the Spinner widgets itself (the drop down item). I only like to pop up a list of items and select one item, what type of widget can I use? A Button and an AlertDialog. Or, a Button and a ListView, the latter

[android-developers] Re: A question about mediaplayer could not play rtsp?

2009-09-09 Thread yj shi
Also I have tried the 3gp,also something wrong happened. Have you done it before ? If you konw it could play ,please give me an example ,or piont my mistake ,or give me some suggestions. Thanks . 2009/9/9 Moto medicalsou...@gmail.com I believe rstp supports only 3gp file format? I might be

[android-developers] Re: Probing for an already set Alarm?

2009-09-09 Thread Mark Murphy
Walles wrote: I'll use a Service instead of an Alarm and keep it running in the background. That way I can keep track of it myself. Please don't. For starters, it won't work, since the service may get killed off by the user or the system. Also, while the service is in memory, you are taking

[android-developers] Re: key lisener

2009-09-09 Thread dilli rao
By implementingonKeyDown you can control key events may be this will help you @Override public boolean onKeyDown(int keyCode, KeyEvent event) { // TODO Auto-generated method stub //return super.onKeyDown(keyCode, event); Log.i(getClass().getSimpleName(), onKeyDown(int keyCode, KeyEvent

[android-developers] Re: custom list view

2009-09-09 Thread dilli rao
see API demos package : com.example.android.apis.view file : list14.java example in that you can modify the text view properties as you need.. Thank you, Dilli Rao On Tue, Sep 8, 2009 at 11:21 AM, Sasi Kumar sasikumar.it1...@gmail.comwrote: I need a custom list view. For reducing the

[android-developers] Re: A question about mediaplayer could not play rtsp?

2009-09-09 Thread dindin
On Sep 9, 4:55 am, 石亚军 shiyaju...@gmail.com wrote: progressive stream is a address begin with http://;. And now MediaPlayer could play the progressive streaming. My question is how to play the real-time streaming. To my knowledege the current Android platform does not support Real- time

[android-developers] Re: Text View issue....

2009-09-09 Thread Sudeep Sharma
Hi Mark Murphy, Please let me know the resolution for this.. Thanks in advance for your help. ~Sudeep... On 9/9/09, Sudeep sudeep.andr...@gmail.com wrote: Hi, I have a list view with diffrent widgets(Text View , check box, togglebutton etc). I know in

[android-developers] Re: How to display an arraylist

2009-09-09 Thread sweet
Thank a lot for your help Casper yes i want to display this ArrayList: public ArrayListArrayList renvoi_liste_recette_xml() throws Exception{ ArrayListArrayList aTableRetour = new ArrayListArrayList(); URL myURL = new URL(http://benji.roullet.free.fr/testXml.xml;);

[android-developers] Problem in horizontal scroll in android

2009-09-09 Thread mudit
hello... i am using a table layout in a screen. i need to have both horizontal and vertical scrolls. By default i am able to get vertical scroll in the view but horizontal scroll is not working. i am using android SDK 1.5 r3 i hv already tried android:scrollbars = horizontal. i hv read on some

[android-developers] Re: A question about mediaplayer could not play rtsp?

2009-09-09 Thread dillirao malipeddi
please start the player on onPreparedListener() On Wed, Sep 9, 2009 at 1:59 PM, yjshi shiyaju...@gmail.com wrote: I create a mplayer to play the rtsp on the emulator . when the mplayer play the http ,it is ok.

[android-developers] Re: A question about mediaplayer could not play rtsp?

2009-09-09 Thread yj shi
I found that the source code of Opencore(PacketVideo) has a file that named Streaming . The file is said to support the RTSP.I don't know whether it could work well on the phone. Could you tell me whether Opencore supports RTSP? Thanks. 2009/9/9 dindin dinesh.nadara...@gmail.com On Sep 9,

[android-developers] INCORRECT Download Count Vs. Active Install Count

2009-09-09 Thread sss
What is the deal with this market not registering when people uninstall, then promptly reinstall? I am 100% confident this is occurring as my users seem to need to uninstall the app before upgrading due to a widget service that continues to run using the old code AFTER a user upgrades to a newer

[android-developers] Re: MyTouch Lag Problems

2009-09-09 Thread Mike
Hey there. I wanted to follow up and say that I haven't heard back from any of my users that have the myTouch and toggling/turning off the location services to see if it made a difference. However, I came across something in my code which may be at least part of the problem. In WordUp! the

[android-developers] Re: manually restart an activity

2009-09-09 Thread Guillaume Perrot
Try simulating a configuration change you don't handle in manifest, your activity will be restarted with the standard save/restore state mechanism. On Sep 9, 9:02 am, Dianne Hackborn hack...@android.com wrote: Another possible one -- call startActivity() to start a new instance of your

[android-developers] Re: A question about mediaplayer could not play rtsp?

2009-09-09 Thread yj shi
Are you meaning that set a PreparedListener to see what wrong is ?I will try this method later.And I also have a question. My question is whether the mediaplayer could play RTSP. Because I ask so many people ,and I also get so many answer. Too many people tell me that it could not play on the

[android-developers] Re: Problem in horizontal scroll in android

2009-09-09 Thread Mark Murphy
mudit wrote: hello... i am using a table layout in a screen. i need to have both horizontal and vertical scrolls. By default i am able to get vertical scroll in the view but horizontal scroll is not working. i am using android SDK 1.5 r3 i hv already tried android:scrollbars =

[android-developers] Re: XML-RPC

2009-09-09 Thread Wouter
Nobody knows a solution for this? Wouter --~--~-~--~~~---~--~~ 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

[android-developers] Re: MyTouch Lag Problems

2009-09-09 Thread Dianne Hackborn
Another thing you should probably consider -- the MotionEvent may contain more than one movement, as part of the historical data. So, especially if you have a little overhead in handling events, if someone moves their finger quickly you may get a single motion event with some historical points

[android-developers] Re: Is the limit of memory heap only 6M?

2009-09-09 Thread Peter Jeffe
On Aug 28, 3:17 pm, fadden fad...@android.com wrote: The bitmap memory isn't actually stored on the VM heap -- it's an external allocation -- so improvements to the GC will not help this much. I assumed that the problem is that the native code tries to allocate memory but the native allocator

[android-developers] Re: XML-RPC

2009-09-09 Thread skink
On Sep 9, 6:08 pm, Wouter wouterg...@gmail.com wrote: Nobody knows a solution for this? Wouter is you svn of xmlrpc up to date? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: A question about mediaplayer could not play rtsp?

2009-09-09 Thread tstanly
I try for many before, the emulator always fail, and plz try this rtsp stream, I was success for this stream before, and now I still success to play this stream,but only for this address. that's why someone mention it's a stream server issue. rtsp://video2.americafree.tv/AFTVHorrorH26496.sdp

[android-developers] Re: XML-RPC

2009-09-09 Thread Wouter
yes i have the latest version from the svn but it is still a known issue: http://code.google.com/p/android-xmlrpc/issues/detail?id=8 really need to get this fixed, cant do anything without this.. On 9 sep, 18:19, skink psk...@gmail.com wrote: On Sep 9, 6:08 pm, Wouter wouterg...@gmail.com

[android-developers] Re: Is the limit of memory heap only 6M?

2009-09-09 Thread Dianne Hackborn
On Wed, Sep 9, 2009 at 9:19 AM, Peter Jeffe pje...@gmail.com wrote: I assumed that the problem is that the native code tries to allocate memory but the native allocator for some reason can't move the heap boundary--basically it seems like Android's malloc() doesn't just call brk() or its

[android-developers] Re: N00b: Do I really need the official developer hardware kit?

2009-09-09 Thread Dianne Hackborn
On Wed, Sep 9, 2009 at 2:41 AM, Lance Nanek lna...@gmail.com wrote: Be careful. Some of the Chinese phones have a UI that looks like Android, but not the actual OS: http://www.engadget.com/2009/04/25/keepin-it-real-fake-part-ccii-meticulous-g1-clone-forgets-the/ You should be fine as long

[android-developers] Re: Using Broadcast Receivers

2009-09-09 Thread Dianne Hackborn
They are also WAY more overhead than just doing things in the local process (you need to do an IPC to the system, it needs to schedule the broadcast, then do an IPC back to each application that is receiving it, copying all of the data in it each time). For stuff happening in the local process,

[android-developers] Re: how to get events out of a service.

2009-09-09 Thread Dianne Hackborn
Best: you probably don't need to have the service running in a separate process from your code, so use the LocalService api demo model, and just do direct calls to Java objects both ways without dealing with aidl at all. On Wed, Sep 9, 2009 at 5:39 AM, Mark Murphy mmur...@commonsware.com wrote:

[android-developers] Re: Android WVGA support

2009-09-09 Thread Dianne Hackborn
You'd do supports-sdk android:minSdkVersion=3 android:targetSdkVersion=4 / and then configure the rest of the manifest as desired. On Wed, Sep 9, 2009 at 2:12 AM, Al Sutton a...@funkyandroid.com wrote: Dianne, In the blog post can you cover how to produce one app which will run on cupcake

[android-developers] Re: Deep sleep behaviour

2009-09-09 Thread Dianne Hackborn
On Wed, Sep 9, 2009 at 1:17 AM, Lee lee.wil...@googlemail.com wrote: You can detect screen off and set an alarm every 5 seconds to poke the service if you want to keep it doing something. While the service is busy, make sure you hold a partial wake lock. Have a look at the SMSPopup for an

  1   2   3   >