[android-developers] update notification ...

2012-07-17 Thread ala hammad
hello all, i want to ask how to send notification for user to update app .. is there any way from market or to add extra code ?? regards , -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] update notification ...

2012-07-17 Thread Vinothkumar Apparao
very gud question, even am also looking for the same.. On Tue, Jul 17, 2012 at 12:00 PM, ala hammad 3la2.7am...@gmail.com wrote: hello all, i want to ask how to send notification for user to update app .. is there any way from market or to add extra code ?? regards , -- You received this

[android-developers] Re: update notification ...

2012-07-17 Thread ala hammad
welcome ven :) for experience people help us .. please .. On Tuesday, 17 July 2012 09:00:11 UTC+3, ala hammad wrote: hello all, i want to ask how to send notification for user to update app .. is there any way from market or to add extra code ?? regards , -- You received this message

[android-developers] Show Spinner Initial Text

2012-07-17 Thread abhijeet tomar
Hello Members, I have a little problemI want to display Initial text when Spinner display. Generally it shows nothing...it not good to show Please Help... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: WebView / JavaScriptInterface / String []

2012-07-17 Thread Pent
Oddly enough, String [] is accepted as a parameter without problem, just not a return value. Feels a bit buggy or forgotten. Pent -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Jelly bean accessibility service needing android.permission.BIND_ACCESSIBILITY_SERVICE. Backwards compatibility

2012-07-17 Thread Pent
Now if I could only find out the reason why since ice cream sandwich accessibility has caused some phones to start talking to them as soon as the accessibility service of my app is enabled even though talkback is off and I don't use any TTS in the app. In case you didn't see it:

Re: [android-developers] Show Spinner Initial Text

2012-07-17 Thread TreKing
On Tue, Jul 17, 2012 at 1:31 AM, abhijeet tomar abhijeet...@gmail.comwrote: I want to display Initial text when Spinner display. Generally it shows nothing...it not good to show This is not very clear. http://www.catb.org/~esr/faqs/smart-questions.html

Re: [android-developers] File location of database file by using SQLiteDatabase

2012-07-17 Thread Francisco M. Marzoa Alonso
These are under /data/db/packagename or something similar. You cannot access to database files straightforward on a real device if it is not chrooted. On Jul 16, 2012 2:53 PM, Alok Yadav er.al...@gmail.com wrote: Hi All, In SQLiteDatabase, Table and its rows and columns are saved in a file.

Re: [android-developers] update notification ...

2012-07-17 Thread TreKing
On Tue, Jul 17, 2012 at 1:00 AM, ala hammad 3la2.7am...@gmail.com wrote: i want to ask how to send notification for user to update app .. Store a simple file on a server you periodically check to compare the app's version code with what is the latest. is there any way from market or to add

[android-developers] Re: Audio Stream buffers within 8 secs on Emulator but takes almost 50 secs to buffer on a Phone

2012-07-17 Thread Zoheb Rahman
On Monday, July 16, 2012 11:00:07 AM UTC+5:30, Zoheb Rahman wrote: I have tried the code on the emulator using Platform 2.2 API level 8 as well as an Emulator using Platform 4.0.3 using API level 15 .. it works perfectly and starts the stream in about 5 secs. But when i run the code on

Re: [android-developers] Auto change,

2012-07-17 Thread TreKing
On Mon, Jul 16, 2012 at 4:30 AM, ven iamvinot...@gmail.com wrote: Its my frd app, after 1 days the rules are changing automatically.. we have 15 sports rules, 1 goes to 2nd 2nd goes to 3rd etc. Pls suggest me what mistake they may did What in the hell are you talking about?

Re: [android-developers] Show Spinner Initial Text

2012-07-17 Thread Narendra Singh Rathore
On Tue, Jul 17, 2012 at 12:01 PM, abhijeet tomar abhijeet...@gmail.comwrote: Hello Members, I have a little problemI want to display Initial text when Spinner display. Generally it shows nothing...it not good to show Please Help... Hi Abhijeet, if you want to show the title of

Re: [android-developers] Exporting my Android Project

2012-07-17 Thread TreKing
On Mon, Jul 16, 2012 at 1:31 PM, papand13 papan...@gmail.com wrote: My .apk file came out nicely, but when i installed it on my Android Device, it was split up into the different tabs of the app. Show your manifest. If that's your launcher, you likely included the CATEGORY.LAUNCHER attribute

Re: [android-developers] DialogFragment - show soft keyboard upon creation

2012-07-17 Thread Simon Giddings
Ok, all is working now. The problem came from wanting to only enable the ok button once a minimum number of characters had been entered. I was doing this through setOnKeyListener - this blocked the soft keyboard appearing automatically (if the user touched the edittext, the soft keyboard showed

[android-developers] Re: Jelly bean accessibility service needing android.permission.BIND_ACCESSIBILITY_SERVICE. Backwards compatibility

2012-07-17 Thread Andy dev
Thanks, I'm aware of that. Is was me who raised it :-) On Tuesday, July 17, 2012 7:42:15 AM UTC+1, Pent wrote: Now if I could only find out the reason why since ice cream sandwich accessibility has caused some phones to start talking to them as soon as the accessibility service of my app

[android-developers] Re: Adding functions dynamically from application to Jar

2012-07-17 Thread Ali Chousein
You cannot extend case statements in your code dynamically, but take a look at the strategy design pattern (http://en.wikipedia.org/wiki/Strategy_pattern). I think that's what you need. Design patterns are not Android specific by the way, they are just a set of best practices in designing

[android-developers] Multiple listviews with single sql database

2012-07-17 Thread horizon2012
I am new into android app development although i successfully created a singly list view with access to a single database but i am a bit lost on how will i make multiple list views accessing a single database -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Handling Bitmap Out of Memory Error

2012-07-17 Thread B.Arunkumar
Hi, We are using 640*480 resolution video frames with frame rate of 10 frames/sec. Another question related to bitmaps is do we really need to recycle bitmaps or can we assume that the Garbage Collector would take care of disposing bitmaps? Thank you, B.Arunkumar On Jul 17, 6:49 am,

Re: [android-developers] SAP web service consuming by android

2012-07-17 Thread arun kumar
try { HttpClient httpclient = new DefaultHttpClient(); UsernamePasswordCredentials creds = new UsernamePasswordCredentials(username, password); ((AbstractHttpClient) httpclient).getCredentialsProvider().setCredentials(new AuthScope(AuthScope.ANY_HOST,

Re: [android-developers] Re: Handling Bitmap Out of Memory Error

2012-07-17 Thread Francisco M. Marzoa Alonso
GC does NOT take care of recycling Bitmaps, so the answer is that YOU should do that. On Jul 17, 2012 9:16 AM, B.Arunkumar awsnetworkrecor...@gmail.com wrote: Hi, We are using 640*480 resolution video frames with frame rate of 10 frames/sec. Another question related to bitmaps is do we

[android-developers] Re: Alternative ad provider to Admob

2012-07-17 Thread Uwe Maurer
Here is a list of all Android ad networks, sorted by their market share: http://www.appbrain.com/stats/libraries/ad On Saturday, July 14, 2012 4:20:12 AM UTC+2, Zaid wrote: I am looking for an alternative ad provider for android, i am currently using admob banner ads for my android

Re: [android-developers] session mangement

2012-07-17 Thread Francisco M. Marzoa Alonso
Go to your bank, withdraw about $3000 and use them top pay someone that actually know how to do that work. On Jul 16, 2012 10:35 AM, laxman k laxman.k1...@gmail.com wrote: how to mange session..plz tell m. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Alternative ad provider to Admob

2012-07-17 Thread Rocky
you can use InMobi ads On Tue, Jul 17, 2012 at 12:57 PM, Uwe Maurer uwe.mau...@gmail.com wrote: Here is a list of all Android ad networks, sorted by their market share: http://www.appbrain.com/stats/libraries/ad On Saturday, July 14, 2012 4:20:12 AM UTC+2, Zaid wrote: I am looking for an

Re: [android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-07-17 Thread Jorge Fernández
Hi wambin, Then, you have found the same troubles that all of us. Regards. On Tue, Jul 17, 2012 at 7:59 AM, wambin ambitiouss...@gmail.com wrote: Hi, thanks to reply. The problem is that ApplicationConfiguration remain, in spite of calling unregisterAppConfiguration(). I confirmed the demo

[android-developers] Re: update notification ...

2012-07-17 Thread ala hammad
thanks for your answer but need to know a little thing .. which better service to check app version after 1 day or more or just alert dialog when user open app .. please suggest method to update app for user :) regards , On Tuesday, 17 July 2012 09:00:11 UTC+3, ala hammad wrote: hello all, i

Re: [android-developers] Re: Handling Bitmap Out of Memory Error

2012-07-17 Thread Ralph Bergmann | the4thFloor.eu
Am 17.07.12 09:22, schrieb Francisco M. Marzoa Alonso: GC does NOT take care of recycling Bitmaps, so the answer is that YOU should do that. public void recycle () ... This is an advanced call, and normally need not be called, since the normal GC process will free up this memory when there are

Re: [android-developers] Re: Audio Stream buffers within 8 secs on Emulator but takes almost 50 secs to buffer on a Phone

2012-07-17 Thread Francisco M. Marzoa Alonso
Look for related messages on Logcat. On Jul 17, 2012 8:51 AM, Zoheb Rahman zoh...@gmail.com wrote: On Monday, July 16, 2012 11:00:07 AM UTC+5:30, Zoheb Rahman wrote: I have tried the code on the emulator using Platform 2.2 API level 8 as well as an Emulator using Platform 4.0.3 using API

[android-developers] Re: Handling Bitmap Out of Memory Error

2012-07-17 Thread RichardC
The GC will take care of disposing bitmaps but it is easy to create bitmaps faster than the GC can recover the memory from old ones you no longer have a reference to. Using Bitmap.recycle() to can force memory to be recovered now. On Tuesday, July 17, 2012 8:15:10 AM UTC+1, B.Arunkumar wrote:

Re: [android-developers] Re: Handling Bitmap Out of Memory Error

2012-07-17 Thread Francisco M. Marzoa Alonso
:-X On Jul 17, 2012 10:29 AM, Ralph Bergmann | the4thFloor.eu ra...@the4thfloor.eu wrote: Am 17.07.12 09:22, schrieb Francisco M. Marzoa Alonso: GC does NOT take care of recycling Bitmaps, so the answer is that YOU should do that. public void recycle () ... This is an advanced call,

Re: [android-developers] Bricked (?) ASUS Transformer Infinity TF700T

2012-07-17 Thread t-liner
Hello Mark, thanks for feedback. But where should I post this then? Regards Am Dienstag, 17. Juli 2012 00:06:24 UTC+2 schrieb Mark Murphy (a Commons Guy): This list is for developing apps with the Android SDK, not for using modded ROMs. On Mon, Jul 16, 2012 at 3:59 AM, t-liner

[android-developers] Re: update notification ...

2012-07-17 Thread ala hammad
update : http://stackoverflow.com/questions/9849889/new-version-app On Tuesday, 17 July 2012 09:00:11 UTC+3, ala hammad wrote: hello all, i want to ask how to send notification for user to update app .. is there any way from market or to add extra code ?? regards , -- You received this

[android-developers] Re: Jelly bean accessibility service needing android.permission.BIND_ACCESSIBILITY_SERVICE. Backwards compatibility

2012-07-17 Thread Pent
Ah, you were subtly side-promoting, very good :-) Pent -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Clearing the RAM is not closing the whole application (i.e. all the activities)

2012-07-17 Thread xoom
Hello all, I have 50 + activities in my application. Application is built for android version 2.0 onwards android devices. Everything is working fine on 2.x and 3.x android running devices but there is a strange problem happening on 4.x running android devices. On 4.x device, after starting

[android-developers] Re: Android makefile to generae the static executable

2012-07-17 Thread Sam
Hi, if any of you have any clue. Please let me know. This has puzzled me a couple of days long. Thanks Sam於 2012年7月17日星期二UTC+8下午4時47分45秒寫道: I am trying to generate the executable something like adbd in /sbin. The executable I wish to have is iwlist with ARM format and the type is static.

[android-developers] Barcode scaner

2012-07-17 Thread vaibs malviya
Hy I m working with bar code reader. i have Samsung gelexy y android device. i read success fully bar code and qr code available on internet. but when i read read barcode on live product or real barcode it's not working. I use Zxing in my apps. Any one know about that.please replay me --

Re: [android-developers] Android makefile to generae the static executable

2012-07-17 Thread Marcin Orlowski
You ask in wrong place. Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... *Date In Tray* http://bit.ly/dateintraypro - current date at glance... WebnetMobile on *Facebook http://webnetmobile.com/fb/*, *Google+*http://bit.ly/webnetmobile-gpand

[android-developers] Re: WebView / JavaScriptInterface / String []

2012-07-17 Thread Martin
The WebView has it's own built-in JSON processing functions so no real need for an external javascript library. var jsonObject=JSON.parse(jsonString); Martin. On Tuesday, July 17, 2012 6:57:26 AM UTC+1, Doug wrote: If you need to return something more complex, you could always generate a

[android-developers] how to disable excludeFromRecents ?

2012-07-17 Thread btai...@gmail.com
I set android:excludeFromRecents=true to A Activity in AndroidManifest.xml in order to exclude app recent history. In Addtion, A Activity is enty point when App starts and can let B Activity start. As soon as B Activity start, I want to record my app in app recent history. Is there any way to

Re: [android-developers] Bricked (?) ASUS Transformer Infinity TF700T

2012-07-17 Thread Mark Murphy
On Tue, Jul 17, 2012 at 4:38 AM, t-liner markus.ped...@googlemail.com wrote: thanks for feedback. But where should I post this then? Some place that focuses on ROM mods, I imagine. xda-developers, perhaps. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] VideoView Error on BeagleBoard with android ICS

2012-07-17 Thread Raj Trivedi
I am trying to play multiple videos(.mp4 format) one after the other using VideoView.It works fine on Android Tablets with ICS but it gives the error Sorry this video cannot be played error when I run it on BeagleBoard hardware with Android ICS.The logcat errors are as follows:

[android-developers] Re: how to disable excludeFromRecents ?

2012-07-17 Thread btai...@gmail.com
2012년 7월 17일 화요일 오후 7시 4분 2초 UTC+9, bta...@gmail.com 님의 말: I set android:excludeFromRecents=true to A Activity in AndroidManifest.xml in order to exclude app recent history. (long-press home key) In Addtion, A Activity is enty point when App starts and can let B Activity start. As soon

[android-developers] Re: how to disable excludeFromRecents ?

2012-07-17 Thread btai...@gmail.com
app recent history means task manager when long-press home key -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Cannot insert breakpoint using gdbserver/arm-linux-androideabi-gdb

2012-07-17 Thread 郭维江
Hi, I need to debug the native code and insert breakpoint. The native code is based on PJSIP project and all the related libs are assembled in libpjsipjni.so When I running C/C++ debugger and try to insert breakpoint, this error message will displayed and always shows when input continue command

[android-developers] Re: Cannot insert breakpoint using gdbserver/arm-linux-androideabi-gdb

2012-07-17 Thread RichardC
The NDK group would be a better place for this question https://groups.google.com/forum/?fromgroups#!forum/android-ndk On Tuesday, July 17, 2012 11:19:18 AM UTC+1, 维江 郭 wrote: Hi, I need to debug the native code and insert breakpoint. The native code is based on PJSIP project and all the

Re: [android-developers] Re: Cannot insert breakpoint using gdbserver/arm-linux-androideabi-gdb

2012-07-17 Thread 郭维江
Thank you so much 2012/7/17 RichardC richard.crit...@googlemail.com The NDK group would be a better place for this question https://groups.google.com/forum/?fromgroups#!forum/android-ndk On Tuesday, July 17, 2012 11:19:18 AM UTC+1, 维江 郭 wrote: Hi, I need to debug the native code and

[android-developers] Re: Clearing the RAM is not closing the whole application (i.e. all the activities)

2012-07-17 Thread RichardC
You need to cope with just your top activity being kill anyway so why is this a problem? On Tuesday, July 17, 2012 10:18:00 AM UTC+1, xoom wrote: Hello all, I have 50 + activities in my application. Application is built for android version 2.0 onwards android devices. Everything is

[android-developers] Re: Clearing the RAM is not closing the whole application (i.e. all the activities)

2012-07-17 Thread xoom
Thanks Richard for the reply. Actually when I clear the RAM from task manager it clears all the memory of my application including some global variables shared between the activities. And when the activity restarts I am getting null pointer exceptions because this global variables are getting

Re: [android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-07-17 Thread wambin
For my 6 monthes reseach, I understand that below. No one can build Android HDP application with this HDP API. (Some people built HDP app to use Bluez with JNI. search in youtube.) I cann't find any Android HDP app in markets. (it has taken 6 monthes over since HDP API to be published!) So many

Re: [android-developers] Re: Clearing the RAM is not closing the whole application (i.e. all the activities)

2012-07-17 Thread Justin Anderson
Well, this would be one of many reasons that global variables should be avoided like the plague wherever possible... The correct thing to do would be to save you're application state in onSaveInstanceState() and restore it in onRestoreInstanceState() On Jul 17, 2012 4:50 AM, xoom

Re: [android-developers] Re: Android makefile to generae the static executable

2012-07-17 Thread Jim Graham
On Tue, Jul 17, 2012 at 02:27:52AM -0700, Sam wrote: Hi, if any of you have any clue. Please let me know. This has puzzled me a couple of days long. The reason you aren't getting an answer here is because this group is for developing via the SDK. NDK questions belong in the NDK group

Re: [android-developers] Re: Clearing the RAM is not closing the whole application (i.e. all the activities)

2012-07-17 Thread Mark Murphy
On Tue, Jul 17, 2012 at 6:48 AM, xoom ei.rtsp.x...@gmail.com wrote: Actually when I clear the RAM from task manager it clears all the memory of my application including some global variables shared between the activities. And when the activity restarts I am getting null pointer exceptions

Re: [android-developers] Re: Adding functions dynamically from application to Jar

2012-07-17 Thread Harsh Vardhan
Thanks Ali. I am aware of the what the design patterns are, what i needed to know is which one hits the spot in my case. Anyways I have gone ahead with something that I have figured after some head scratching and will let you all know if i succeed. On Tue, Jul 17, 2012 at 12:42 PM, Ali

Re: [android-developers] Exclude asset-folder at compiletime in Eclipse

2012-07-17 Thread Zohob
No, since I'm under Windows the link is displayed as file *.lnk by Eclipse and not as a folder. Thus the compiler should interprete as file as well. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Exclude asset-folder at compiletime in Eclipse

2012-07-17 Thread Kostya Vasilyev
http://en.wikipedia.org/wiki/NTFS_symbolic_link 2012/7/17 Zohob phil...@online.de No, since I'm under Windows the link is displayed as file *.lnk by Eclipse and not as a folder. Thus the compiler should interprete as file as well. -- You received this message because you are subscribed to

[android-developers] possible to read drag in status bar notication

2012-07-17 Thread Rocky
All, I wanted to read the status of drag i.e. expansion and collapse of Status bar/ system status bar. is it possible? -- Thanks Regards Rakesh Kumar Jha -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Dialog with dynamic ListView content

2012-07-17 Thread superpsycho
I would like to build an Alertdialog containing a ListView with dynamic changing content in the ListView. All I build is an AlertDialog and I don´t know what to implement next. ListView, ListAdapter, Activitys or w00t? Anyway the all mighty google gave me answers to questions i didn´t ask. I

Re: [android-developers] possible to read drag in status bar notication

2012-07-17 Thread Justin Anderson
AFAIK this is not possible... On Jul 17, 2012 5:56 AM, Rocky rkjhaw1...@gmail.com wrote: All, I wanted to read the status of drag i.e. expansion and collapse of Status bar/ system status bar. is it possible? -- Thanks Regards Rakesh Kumar Jha -- You received this message because

Re: [android-developers] Multiple listviews with single sql database

2012-07-17 Thread Justin Anderson
Do the same thing you did for the first list view... As many times as needed. On Jul 17, 2012 1:14 AM, horizon2012 sidharth.bola...@gmail.com wrote: I am new into android app development although i successfully created a singly list view with access to a single database but i am a bit lost on

[android-developers] Re: Android makefile to generae the static executable

2012-07-17 Thread Sam
Ok, thanks for letting me know. : ) On 7月17日, 下午7時22分, Jim Graham spooky1...@gmail.com wrote: On Tue, Jul 17, 2012 at 02:27:52AM -0700, Sam wrote: Hi, if any of you have any clue. Please let me know. This has puzzled me a couple of days long. The reason you aren't getting an answer here

Re: [android-developers] possible to read drag in status bar notication

2012-07-17 Thread Rocky
Test Case is - 1. I'm inside my application 2. I expand status bar. 3. once i expand it, i need to come out from my application, basically logout. 4. so I wanted to know, That whether I can capture drag/expand feature or not. On Tue, Jul 17, 2012 at 5:44 PM, Justin Anderson

Re: [android-developers] possible to read drag in status bar notication

2012-07-17 Thread Rocky
Thanks to reply... but My Test Case is - 1. I'm inside my application 2. I expand status bar. 3. once i expand it, i need to come out from my application, basically logout. 4. so I wanted to know, That whether I can capture drag/expand feature or not. On Tue, Jul 17, 2012 at 5:44 PM, Justin

Re: [android-developers] Show Spinner Initial Text

2012-07-17 Thread abhijeet tomar
Narendra Sir, i have applied that...but it shows when i clicked in spinner...i want when the first spinner appeared then it will show some text. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: File location of database file by using SQLiteDatabase

2012-07-17 Thread Andrew Cesario
Alok You can find the database file in eclipse using the following navigation: While your emulator is running, click DDMS in the upper right. Then expand data, data, yourpackagname, database as shown below. From here you can delete, download, upload the db file. On Monday, July 16, 2012

[android-developers] Re: File location of database file by using SQLiteDatabase

2012-07-17 Thread Andrew Cesario
oops, it doesnt let me past the file... here it is attached. On Tuesday, July 17, 2012 8:53:07 AM UTC-4, Andrew Cesario wrote: Alok You can find the database file in eclipse using the following navigation: While your emulator is running, click DDMS in the upper right. Then expand data,

[android-developers] Bound Bluetoothdevices in my app

2012-07-17 Thread superpsycho
Is that possibly in general cause i searched for it a several time without a result. -- 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,

Re: [android-developers] Run application with system / root permissions.

2012-07-17 Thread Francisco M. Marzoa Alonso
You simply cannot do that without a chrooted device. Each app runs within its own sandbox and one application cannot do nothing on other app. On Jul 14, 2012 8:32 PM, Jordi Sayeras jsayer...@gmail.com wrote: Hi, I've been searching about this topic but I haven't found a clear solution yet.

Re: [android-developers] Run application with system / root permissions.

2012-07-17 Thread Francisco M. Marzoa Alonso
s/chrooted/rooted/g On Jul 17, 2012 3:12 PM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: You simply cannot do that without a chrooted device. Each app runs within its own sandbox and one application cannot do nothing on other app. On Jul 14, 2012 8:32 PM, Jordi Sayeras

Re: [android-developers] possible to read drag in status bar notication

2012-07-17 Thread Justin Anderson
Regardless of your test case, the answer is no, you cannot do that. In all reality though, why in the world do you want to either exit your app or log out simply when the user pulls down the notification bar? Personally, that would frustrate the hell out of me if I were using an app that did

Re: [android-developers] android NFC - detect the send has been done

2012-07-17 Thread Anirudh Loya
Use a server and do it ! On Mon, Jul 16, 2012 at 7:57 PM, Károly Holczhauser holczhau...@gmail.comwrote: Hi there ! I'm writing an application where I have to send a content from A device to B. After the content has been successfully transferred I have to delete it from the 'A' device. I

Re: [android-developers] Show Spinner Initial Text

2012-07-17 Thread Justin Anderson
http://lmgtfy.com/?q=android+spinner+initial+text Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jul 17, 2012 at 6:41 AM, abhijeet tomar abhijeet...@gmail.comwrote: Narendra Sir, i have applied that...but it shows when i clicked in spinner...i

Re: [android-developers] Dialog with dynamic ListView content

2012-07-17 Thread Justin Anderson
Use one of the variations of setSingleChoiceOptions... Here is the link to one of them: http://developer.android.com/reference/android/app/AlertDialog.Builder.html#setSingleChoiceItems%28java.lang.CharSequence[],%20int,%20android.content.DialogInterface.OnClickListener%29 Thanks, Justin Anderson

[android-developers] WebView in android 4.1.1 crashes for URLs with a non-standard separation of query parameters

2012-07-17 Thread sven
Hi Guys, another problem with the new WebView in Jelly Bean (4.1.1): An app using the WebView crashes, when opening an URL that separates its query parameters not using the ampersand character ('') but e.g. a semi colon (';'). Reproduce: 1) Call the following URL in a WebView:

Re: [android-developers] Show Spinner Initial Text

2012-07-17 Thread arun kumar
Hai abhijeet tomar, just refer this site you got some idea http://www.androidpeople.com/android-spinner-default-value On Tue, Jul 17, 2012 at 6:49 PM, Justin Anderson magouyaw...@gmail.comwrote: http://lmgtfy.com/?q=android+spinner+initial+text Thanks, Justin Anderson MagouyaWare Developer

Re: [android-developers] WebView in android 4.1.1 crashes for URLs with a non-standard separation of query parameters

2012-07-17 Thread Mark Murphy
You are welcome to file this as a bug report/feature request on b.android.com. On Tue, Jul 17, 2012 at 9:22 AM, sven sven.span...@googlemail.com wrote: Hi Guys, another problem with the new WebView in Jelly Bean (4.1.1): An app using the WebView crashes, when opening an URL that separates its

[android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-17 Thread Dirk Vranckaert
I have an issue with one of my applications that is using a PendingIntent to launch an activity from a widget... This is the piece of code that does the trick: PendingIntent pendingIntent = PendingIntent.getActivity(ctx, widgetId, intent, PendingIntent.FLAG_UPDATE_CURRENT);

[android-developers] Clearing a system set notification, can it be done?

2012-07-17 Thread Matt Clark
At my school we have an internet security system, that every time your network connection goes inactive, it disconnects you, and you have to use the web browser to log back into the network. I created an app for my campus that detects the disconnect, and loggs the user back in with broadcast

[android-developers] Re: Forcing lower resolution drawables on phones with big screens and small RAM

2012-07-17 Thread Matt Schoen
Hey, thanks for the reply. I guess I should have explained more clearly. This is a lighter type animation, which responds to accelerometer input. The flame flickers (plays from a start frame on a short loop) and when you tilt the phone, the start frame is swept through an animation of the

Re: [android-developers] can we restart systemserver..............?

2012-07-17 Thread Abhilash baddam
HiDianne Hackborn , Thanks for the reply, still I am having some doubts, 1) I read that HeadsetObserver which is a systemservice, starts whenever headset is detected and stops working whenever we removed the headdset. Similarly I want to start or stop particular

Re: [android-developers] Exclude asset-folder at compiletime in Eclipse

2012-07-17 Thread Zohob
Thank you, it worked! It's not that comfortable (it's similar to move the asset-folder to the recycling bin and back) but it solves my problem! -- 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] New READ_EXTERNAL_STORAGE permission breaks file:// URIs

2012-07-17 Thread String
Throwing this out for discussion here... Now that I have a JB device in-hand, I've found a sneaky little problem with the new READ_EXTERNAL_STORAGE permission. Specifically, if you pass another app a URI - say via a ContentProvider - that uses the file:// protocol, then the receiving app NEEDS

[android-developers] Re: Forcing lower resolution drawables on phones with big screens and small RAM

2012-07-17 Thread Nobu Games
You still could go with the streaming idea. At any given time you would have a fixed size amount of frames in memory (let's say 15 bitmaps, just as an example). As the animation progresses you need to load the next batch and discard older ones. In order to prevent loading hickups you could

Re: [android-developers] New READ_EXTERNAL_STORAGE permission breaks file:// URIs

2012-07-17 Thread Dianne Hackborn
You can put your data in your own content provider. Actually, you should stop and think about doing this approach at all. You say this is for an app widget... why not provide the bitmaps as bitmaps instead of having it load the data elsewhere? Note that if you don't provide the bitmaps

Re: [android-developers] can we restart systemserver..............?

2012-07-17 Thread Kristopher Micinski
This isn't anywhere nearly possible with the SDK Are you doing platform modifications? If so then android-platform is the list you want, Furthermore, I'm not sure this really makes sense, there's not support to just reload all the apps. kris On Tue, Jul 17, 2012 at 10:52 AM, Abhilash baddam

Re: [android-developers] can we restart systemserver..............?

2012-07-17 Thread Dianne Hackborn
You can't. Asking the same question again doesn't change the answer. :/ And good ghod, no of course you can't restart the freaking activity manager without restarting all the apps. I mean... come on! You haven't actually said what you are trying to do, but the path you are going down here is

Re: [android-developers] Re: update notification ...

2012-07-17 Thread TreKing
On Tue, Jul 17, 2012 at 3:17 AM, ala hammad 3la2.7am...@gmail.com wrote: which better service to check app version after 1 day or more or just alert dialog when user open app .. please suggest method to update app for user :) That's really up to you and your use case. Generally hey, there's

Re: [android-developers] Re: update notification ...

2012-07-17 Thread Raghav Sood
I have an open source library that does this. https://github.com/RaghavSood/AppaholicsUpdateChecker You can download and install, download and install at separate times, or check for updates and launch your app's Google Play page using it. Thanks On Tue, Jul 17, 2012 at 10:38 PM, TreKing

[android-developers] Re: Someone stole my sound effects

2012-07-17 Thread samarkand
Hi! to avoid that i can help you to protect your sounds.They will be available to playing back but not for copiing outside the upgraded apk to be uploaded instead of old one.Have done such trick previously. olesya.na...@mail.ru -- You received this message because you are subscribed to the

Re: [android-developers] New READ_EXTERNAL_STORAGE permission breaks file:// URIs

2012-07-17 Thread Mark Murphy
On Tue, Jul 17, 2012 at 12:21 PM, String sterling.ud...@googlemail.com wrote: Now that I have a JB device in-hand, I've found a sneaky little problem with the new READ_EXTERNAL_STORAGE permission. Specifically, if you pass another app a URI - say via a ContentProvider - that uses the file://

Re: [android-developers] Clearing a system set notification, can it be done?

2012-07-17 Thread Mark Murphy
On Tue, Jul 17, 2012 at 10:13 AM, Matt Clark mrclark32...@gmail.com wrote: At my school we have an internet security system, that every time your network connection goes inactive, it disconnects you, and you have to use the web browser to log back into the network. I created an app for my

Re: [android-developers] Preferences button to return to main activity

2012-07-17 Thread billb
The findPreference method is deprecated. I'm not sure if this is part of the whole move to preference fragments or not. I'll keep searching, and if anyone else has other ideas that would be much appreciated. B. On Monday, July 16, 2012 5:58:21 PM UTC-7, billb wrote: Thanks for all the

Re: [android-developers] Preferences button to return to main activity

2012-07-17 Thread Kostya Vasilyev
2012/7/17 billb b...@briskynet.com The findPreference method is deprecated. Yes, but the old Preference mechamism still works, at least in 4.1. You actually don't need to use findPreference -- Rather, create a Preference subclass, override onClick, and launch the main activity with an intent

Re: [android-developers] WebView in android 4.1.1 crashes for URLs with a non-standard separation of query parameters

2012-07-17 Thread sven
Hi Mark, sorry for posting at the wrong place. I've created issue 35100 (http://code.google.com/p/android/issues/detail?id=35100) Best regards Sven -- 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] Table Row Selection when using SimpleCursorAdapter

2012-07-17 Thread Phil Gibbs
The subject says it all. How can I allow a user to select a row from a table generated using the CursorAdapter by clicking (or touching) it? I'd done this previously by dynamically building each table row from a List object, but then decided to use a Cursor thinking it would be more efficient.

[android-developers] Google I/O Android sessions on YouTube

2012-07-17 Thread JP
If you're like me and aren't crazy about I/O but like the tech sessions, the Android sessions are posted here: http://www.youtube.com/playlist?list=PL4C6BCDE45E05F49E -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] New READ_EXTERNAL_STORAGE permission breaks file:// URIs

2012-07-17 Thread String
On Tuesday, July 17, 2012 6:59:08 PM UTC+2, Dianne Hackborn wrote: You can put your data in your own content provider. I was doing that some time ago, but then I stopped because this imagery is already cached on SD, so I figured it was more direct to just pass through a file:// URI. I'll

Re: [android-developers] Preferences button to return to main activity

2012-07-17 Thread billb
Thanks for the ideas! A quick question about subclassing Preference. The only place I use Preference directly is in XML to define the button. If I create a subclass of Preference can I then use that new class name in the XML directly in place of the Preference tag (e.g. MyButtonPreference)?

Re: [android-developers] Preferences button to return to main activity

2012-07-17 Thread Kostya Vasilyev
2012/7/17 billb b...@briskynet.com Thanks for the ideas! A quick question about subclassing Preference. The only place I use Preference directly is in XML to define the button. If I create a subclass of Preference can I then use that new class name in the XML directly in place of the

Re: [android-developers] Preferences button to return to main activity

2012-07-17 Thread TreKing
On Tue, Jul 17, 2012 at 12:36 PM, billb b...@briskynet.com wrote: The findPreference method is deprecated. Correct, but still works. I'm not sure if this is part of the whole move to preference fragments or not. It is, so that's the more correct method, using PreferenceFragments. But if

Re: [android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-17 Thread TreKing
On Tue, Jul 17, 2012 at 8:35 AM, Dirk Vranckaert dirkvrancka...@gmail.comwrote: However if I start it with the PendingIntent with the flag set to PendingIntent.FLAG_UPDATE_CURRENT part of my flow is not executed anymore Why are you using UpdateCurrent? Do you have extras in the intent that

Re: [android-developers] New READ_EXTERNAL_STORAGE permission breaks file:// URIs

2012-07-17 Thread Dianne Hackborn
On Tue, Jul 17, 2012 at 11:46 AM, String sterling.ud...@googlemail.comwrote: The summary is, passing middling-large imagery to a widget doesn't work; IPC fails silently. The content provider was the recommended workaround, and it's done well until now. I would really suggest reducing the

  1   2   >