Re: [android-developers] Notifications and killed app

2013-04-24 Thread Piren
The "swipe" thing has a funny way of working when you have a foreground service... everything in the app gets closed (all activities are gone) except for that service... that means that if you re-launch the app you need to figure out the "state" the app was before. in you case, display which fi

[android-developers] Re: Session management in android application

2013-04-24 Thread Piren
Android isnt a web server, it doesn't have the concept of Session not its memory/cache management system. It does have other ways of having data persistency. But it does make me wonder, do people even read the instructions/tutorials, or do you guys just start Eclipse and assume it will feed you

[android-developers] Re: Launch Mode : singleTop FAILS on first time app start of signed build

2013-04-24 Thread Piren
Well, when i encountered issues i couldn't overcome because of android's picky way of deciding which activity to show i just made my own implementation... had only one entry point to the app using a single activity which then decided what should be shown next. On Tuesday, April 23, 2013 7:36:1

[android-developers] Re: layout_span

2013-04-24 Thread Piren
sounds like this question should be directed to the adt-dev group :) On Tuesday, April 23, 2013 10:47:51 PM UTC+3, bob wrote: > > Can someone help me understand why there is no auto-complete when I try to > add the *layout_span* attribute to a TableRow? > > I was working with this code: > >

Re: [android-developers] Task Killing apps kill my service. How can I avoid it?

2013-04-24 Thread Piren
Actually Push notifications will not work if he Force Closes the app, since they stop functioning at that point... Will probably work if killed by a Task Killer. I personally think that if a user is stupid enough to use task killers and kill your app, it shouldn't be running on his phone... but

[android-developers] Re: help needed for raw developer like me

2013-04-24 Thread Piren
> > . Is there any book or web site of collections of all classes and methods > well explained, > really?? http://developer.android.com/develop/index.html On Thursday, April 18, 2013 6:51:11 AM UTC+3, Arun Karkare wrote: > > Hello dear expert programmers! > I am extremely new and very raw to A

Re: [android-developers] whatsapp integration

2013-04-24 Thread Piren
Do you have a URL he can use for this "Google" you speak of? ;-) On Wednesday, April 24, 2013 12:51:58 AM UTC+3, TreKing wrote: > > > On Mon, Apr 8, 2013 at 1:50 AM, Vinod Devgan > > > wrote: > >> can anyone tell me is Whatsapp Integration . >> > > I can tell you what Google is. > > >

[android-developers] VPN connect/disconnect detection on Android 4+

2013-04-24 Thread Martin Heller
Hi, is there a way to detect VPN connection/disconnection on Android 4.0 and newer? I found http://stackoverflow.com/questions/6031821/no-connectivity-change-with-vpn and http://stackoverflow.com/questions/3461967/get-vpn-connection-status-on-android however this only works on Android older than

[android-developers] ListView selection remained after exit from action mode

2013-04-24 Thread yccheok
The following scenario is not uncommon under activity with list view. 1) Long pressed an item to enter multi-selection mode. 2) Select the desired item, then press an action button. For example, delete button. 3) Exit from multi-selection mode (CHOICE_MODE_MULTIPLE) to none-selection mode (CHOIC

[android-developers] ListView selection remained after exit from action mode

2013-04-24 Thread yccheok
The following scenario is not uncommon under activity with list view. 1) Long pressed an item to enter multi-selection mode. 2) Select the desired item, then press an action button. For example, delete button. 3) Exit from multi-selection mode (CHOICE_MODE_MULTIPLE) to none-selection mode (CHOIC

Re: [android-developers] Re: Session management in android application

2013-04-24 Thread Mukesh Srivastav
Did i say that "Android is a webserver" , i talked about the session managment can be implmented on Android and the server side(Webserver) On Wed, Apr 24, 2013 at 12:44 PM, Piren wrote: > Android isnt a web server, it doesn't have the concept of Session not its > memory/cache management system.

Re: [android-developers] Re: How do I open the SDK emulator?

2013-04-24 Thread Jadranko Bodiroga
do you have installed Java on mashine...i had a same problem and it has fixed when i changed and add on PATH on enviroment Variables on system propetties : ;C:\Program Files\Java\jdk1.6.0_27\bin; offcourse, you have to map folder that you installed yout JAVA. On Wed, Apr 24, 2013 at 4:05

[android-developers] How to connect HTC One V to eclipse Windows 7

2013-04-24 Thread askl
*Hi Friends, * *How to connect HTC One V to Windows 7 * * * *I try to many times to debug my android app using HTC device. But pc not detect my HTC mobile. How to Connect HTC deceive with eclipse on windows 7.* * * *Thank you,* * * * * * * -- -- You received this message because you are subscri

[android-developers] Re: How to connect HTC One V to eclipse Windows 7

2013-04-24 Thread askl
*This method is not working properly. * http://docs.xamarin.com/guides/android/deployment,_testing,_and_metrics/set_up_for_device_development On Wednesday, April 24, 2013 3:38:22 PM UTC+5:30, askl wrote: > > *Hi Friends, * > *How to connect HTC One V to Windows 7 > * > * > * > *I try to many times

Re: [android-developers] Notifications and killed app

2013-04-24 Thread Larry Meadors
On Wed, Apr 24, 2013 at 12:58 AM, Piren wrote: > Were you talking about the notification of the service? because that can > obviously cannot be removed while the service is running.. it's whole point > is to show you have a foreground service. I was trying to remove the notification from the serv

Re: [android-developers] Notifications and killed app

2013-04-24 Thread Larry Meadors
On Wed, Apr 24, 2013 at 1:01 AM, Piren wrote: > The "swipe" thing has a funny way of working when you have a foreground > service... everything in the app gets closed (all activities are gone) > except for that service... that means that if you re-launch the app you need > to figure out the "state

Re: [android-developers] Re: Vertical ViewPager and possible alternatives

2013-04-24 Thread Naseem Rafique
Hi All, I integrated JakeWharton / Android-DirectionalViewPager (https:// github.com/JakeWharton/Android-DirectionalViewPager) and I m facing java.lang.NoClassDefFoundError: com.directionalviewpager.DirectionalViewPager$DataSetObserver Have any one come up with any solution for this.. or this wi

Re: [android-developers] How to program the apps which is download from play store?

2013-04-24 Thread Perry168
Hi TreKing, I hope to check user is download my apps from google play store or from other place. But I don't know how to write the program. TreKing於 2013年4月24日星期三UTC+8上午9時14分54秒寫道: > > > On Tue, Apr 23, 2013 at 5:46 PM, Perry168 > > wrote: > >> I need to add a function to check the apps ins

Re: [android-developers] Re: Clock widget with second hand

2013-04-24 Thread Mady Zaid
Thanks for your advice, and I'm sorry for this behavior. 2013/4/24 Lew > Resurrcting the champ wrote: > >> https://custom-analog-clock.**googlecode.com/svn/trunk/ >> >> https://github.com/MadyZaid/**Android-widget-Custom-Analog-**Clock.git<

Re: [android-developers] Re: Session management in android application

2013-04-24 Thread Piren
I didnt reply to you, i replied to the guy with the question. Work on your thread navigational skills. On Wednesday, April 24, 2013 12:03:07 PM UTC+3, Mukesh Srivastav wrote: > > Did i say that "Android is a webserver" , i talked about the session > managment can be implmented on Android and the

[android-developers] Re: How to connect HTC One V to eclipse Windows 7

2013-04-24 Thread Piren
3 steps procedure: 1) Install HTC One V drivers 2) Enable USB Debugging on the device 3) Stop writing in bold letters with increased font size. On Wednesday, April 24, 2013 1:08:22 PM UTC+3, askl wrote: > > *Hi Friends, * > *How to connect HTC One V to Windows 7 > * > * > * > *I try to many times

Re: [android-developers] Notifications and killed app

2013-04-24 Thread Piren
Change the notification intent to point to the first activity and add a flag to indicate you want to open the other activities (propagate through the activities). On Wednesday, April 24, 2013 1:16:12 PM UTC+3, Larry Meadors wrote: > > On Wed, Apr 24, 2013 at 1:01 AM, Piren > > wrote: > > The

Re: [android-developers] Notifications and killed app

2013-04-24 Thread Larry Meadors
So if the flow is main -> title detail -> player, do you mean the MainActivity (by "the first activity")? Larry -- -- 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

Re: [android-developers] Notifications and killed app

2013-04-24 Thread Piren
Yes. It's actually weird to me that it wasn't already like that... If you wish the notification to bring the app forward, the intent should match the launcher intent. the additional bundle flag you add will also make sure to start activities if they weren't already there. On Wed, Apr 24, 2013 at

[android-developers] gradle build with custom views

2013-04-24 Thread Daniel Rindt
Hello, i just experienced a InflateException when i start the app which gradle builds before. The layouts use custom views: The code is working fine when build with eclipse. Someone can confirm this? The result of the layout.xml from gradle build is different to eclipse built ones. Maybe aapt

Re: [android-developers] Notifications and killed app

2013-04-24 Thread Larry Meadors
On Wed, Apr 24, 2013 at 6:03 AM, Piren wrote: > It's actually weird to me that it wasn't already like that... If you wish > the notification to bring the app forward, the intent should match the > launcher intent. the additional bundle flag you add will also make sure to > start activities if they

Re: [android-developers] Notifications and killed app

2013-04-24 Thread Piren
If you have the flow : main -> title detail -> player, you press Home, then the Launcher icon for you app, it will just go back to your app with "player" being the displayed activity. it basically just took you back to where you were. This is because the intent the Launcher used is the same intent

[android-developers] How to create JAR libs in Android

2013-04-24 Thread mbarbiero
I need to create a JAR lib (like KSOAP or Spongycastle) to distribute but I dont find documentation! Is it possible? Can anybody help me? Thanks mBarbiero -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

Re: [android-developers] Re: How to connect HTC One V to eclipse Windows 7

2013-04-24 Thread Manish Srivas
try this http://unrevoked.com/rootwiki/doku.php/public/windows_hboot_driver_install On Wed, Apr 24, 2013 at 5:11 PM, Piren wrote: > 3 steps procedure: > > 1) Install HTC One V drivers > 2) Enable USB Debugging on the device > 3) Stop writing in bold letters with increased font size. > > > On W

[android-developers]

2013-04-24 Thread asma rezgui
hii , does anyone know how to solve my problem, i have to convert an image from byte[] to base64 to read it in json file and convert it back from base64 to byte and from byte[] to bitmap to display it in imageview in converting it to bitmap , i have this error: --- SkImageDecoder::Factory returned

Re: [android-developers] How to create JAR libs in Android

2013-04-24 Thread Roland Mueller
Hello, Android SW is distributed in apk archives which are creatred from the source code, from possibly included jar files and from resource files (bitmaps, texts, layouts, ...). Thus, jar files as such are NOT distributed and do not work since Android devices use Dalvik VM instead of Java VM. -

Re: [android-developers] Task Killing apps kill my service. How can I avoid it?

2013-04-24 Thread TreKing
On Wed, Apr 24, 2013 at 2:41 AM, Piren wrote: > Actually Push notifications will not work if he Force Closes the app, > since they stop functioning at that point... I'm no expert on push notifications, but my understanding was that the device receives the push notification then sends out a broa

Re: [android-developers]

2013-04-24 Thread Manish Srivas
http://myjeeva.com/how-to-convert-image-to-string-and-string-to-image-in-java.html On Wed, Apr 24, 2013 at 7:35 PM, asma rezgui wrote: > hii , does anyone know how to solve my problem, i have to convert an image > from byte[] to base64 to read it in json file and convert it back from > base64 t

Re: [android-developers] How to program the apps which is download from play store?

2013-04-24 Thread TreKing
On Wed, Apr 24, 2013 at 5:42 AM, Perry168 wrote: > I hope to check user is download my apps from google play store or from > other place. But I don't know how to write the program. > There is no way for you to detect this.

Re: [android-developers] gradle build with custom views

2013-04-24 Thread Tor Norbye
How are the two layout files different? On Wed, Apr 24, 2013 at 5:09 AM, Daniel Rindt wrote: > Hello, > > i just experienced a InflateException when i start the app which gradle > builds before. The layouts use custom views: > > android:id="@+id/tv1" > ... > /> > > The code is work

Re: [android-developers]

2013-04-24 Thread asma rezgui
thanks Manish Shrivas 2013/4/24 Manish Srivas > > http://myjeeva.com/how-to-convert-image-to-string-and-string-to-image-in-java.html > > > On Wed, Apr 24, 2013 at 7:35 PM, asma rezgui wrote: > >> hii , does anyone know how to solve my problem, i have to convert an >> image from byte[] to base64

Re: [android-developers] gradle build with custom views

2013-04-24 Thread Daniel Rindt
2013/4/24 Tor Norbye : > How are the two layout files different? I opened the apk and extracted the binary xml's and they are different. -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

Re: [android-developers] How to create JAR libs in Android

2013-04-24 Thread mbarbiero
Thanks for your response Roland, but I use KSOAP in my APP and it is a JAR file. Must be a secret to generate this kind of lib. -- -- 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: [android-developers] How to create JAR libs in Android

2013-04-24 Thread RichardC
You can use .JARs with Android you just can not create .JARs with Android as the files that an Android Library would need to put into the .JAR are non-standard (resources, layouts etc). On Wednesday, April 24, 2013 3:52:27 PM UTC+1, mbarbiero wrote: > > Thanks for your response Roland, but I use

Re: [android-developers] Task Killing apps kill my service. How can I avoid it?

2013-04-24 Thread RichardC
If an application has been killed by the end-user from the built-in task manager then it is put in to a state where it does not respond to any system event other than being launched from the Home Screen, see *Launch controls on stopped applications* in (almost at the end): http://developer.andro

[android-developers] insidious multi-threading bug

2013-04-24 Thread bob
I've been investigating an insidious error in an Android OpenGL game app. This error was brought to my attention by ACRA. I believe that the source of the error is that the code in an onTouchEvent executes in a different thread than the code in the OpenGL drawing thread. So, basically, the dr

[android-developers] Re: How to create App for social site with WebView?

2013-04-24 Thread JackN
Also, you don't need an app. Just distribute the URL and you will find that most people already have some method to view web based 'apps' On Friday, April 12, 2013 8:18:02 AM UTC-7, Amon Olimov wrote: > > I`m new on android programming and I want to create Android App for my > social site. In t

Re: [android-developers] Task Killing apps kill my service. How can I avoid it?

2013-04-24 Thread Piren
yeah, but doesn't apply if the app was force closed :) it something that started on android 3.1 it's actually in the release notes, but not really in a way any developer would actually infer it: http://developer.android.com/about/versions/android-3.1.html#launchcontrols On Wednesday, Apr

Re: [android-developers] Task Killing apps kill my service. How can I avoid it?

2013-04-24 Thread Piren
beat me to it :) Took me a while to locate the url hehe.. On Wednesday, April 24, 2013 6:25:31 PM UTC+3, RichardC wrote: > > If an application has been killed by the end-user from the built-in task > manager then it is put in to a state where it does not respond to any > system event other than

[android-developers] Re: insidious multi-threading bug

2013-04-24 Thread Piren
Either synchronize things to prevent this (either synchronizing the list or the clearing with drawing), or use a list that is concurrent (http://developer.android.com/reference/java/util/concurrent/package-summary.html) or add an event to run the clearing of the list on the same thread that h

Re: [android-developers] Task Killing apps kill my service. How can I avoid it?

2013-04-24 Thread TreKing
On Wed, Apr 24, 2013 at 10:25 AM, RichardC wrote: > If an application has been killed by the end-user from the built-in task > manager then it is put in to a state where it does not respond to any > system event other than being launched from the Home Screen Oh, of course. I'm way behind on the

Re: [android-developers] insidious multi-threading bug

2013-04-24 Thread TreKing
On Wed, Apr 24, 2013 at 10:26 AM, bob wrote: > So, basically, the drawing thread was looping thru some enemy ships trying > to draw them. > > Meanwhile, someone pressed the reset button on the game (an onTouchEvent), > and the enemy ship LinkedList got cleared. This clearing occurred while > the

[android-developers] Re: insidious multi-threading bug

2013-04-24 Thread RichardC
Put the input events into your own internal queue. Process the your event queue in your update-AI/update-user-event phase of your game logic. The queue should be locked when adding/removing events. On Wednesday, April 24, 2013 4:26:02 PM UTC+1, bob wrote: > > I've been investigating an insidious

[android-developers] Re: insidious multi-threading bug

2013-04-24 Thread bob
I think I'm going to use this method in GLSurfaceView: */*** * * Queue a runnable to be run on the GL rendering thread. This can be used* * * to communicate with the Renderer on the rendering thread.* * * Must not be called before a renderer has been set.* * * @param r the run

Re: [android-developers]

2013-04-24 Thread asma rezgui
hello, i have followed the steps in this tutorial and the encoding is done successfully in the server side. the problem now in the decoding in the client side this is my code: byte[] decodedString = Base64.decode(image, Base64.DEFAULT); System.out.println("ss"+decodedString); d

[android-developers] Re: How to create App for social site with WebView?

2013-04-24 Thread bob
It sounds like you will want to look at the file WebView1.java in the apidemos sample. Thanks. On Friday, April 12, 2013 10:18:02 AM UTC-5, Amon Olimov wrote: > > > I`m new on android progr

Re: [android-developers]

2013-04-24 Thread bob
It sounds like this returned *null*: findViewById(R.id.imageview); Maybe you forgot to do a *setContentView*? Thanks. On Wednesday, April 24, 2013 12:50:04 PM UTC-5, ASMA wrote: > > hello, i have followed the steps in this tutorial and the encoding is > done successfully in the server side.

[android-developers] Server code for In App Billing with Google App Engine.

2013-04-24 Thread Nathan
I seem to recall - at least for version 1 - that there was some sample code in Google App Engine to accomplish the server side of inapp billing. We have been working on Billing V3 - there is no link to it now, although they still mention having a server side as a good idea. I haven't found it

Re: [android-developers]

2013-04-24 Thread asma rezgui
unfortunately i didn't forget it . Thanks 2013/4/24 bob > It sounds like this returned *null*: > > findViewById(R.id.imageview); > > Maybe you forgot to do a *setContentView*? > > Thanks. > > > On Wednesday, April 24, 2013 12:50:04 PM UTC-5, ASMA wrote: > >> hello, i have followed the steps in

[android-developers] Re: Clock widget with second hand

2013-04-24 Thread bob
I would take a look at this code: http://grepcode.com/file_/repository.grepcode.com/java/ext/com.google.android/android/4.2.2_r1/android/widget/AnalogClock.java/?v=source Then I would rename AnalogClock to something like MyAnalogClock and add the code for the seconds hand. Thanks. On Monday,

Re: [android-developers]

2013-04-24 Thread asma rezgui
in the logcat i have also seen this message , i didn't understand where is the cause 04-24 17:48:54.370: I/dalvikvm-heap(1121): Grow heap (frag case) to 8.921MB for 448446-byte allocation 2013/4/24 asma rezgui > unfortunately i didn't forget it . Thanks > > > 2013/4/24 bob > >> It sounds like

[android-developers] Re: Task Killing apps kill my service. How can I avoid it?

2013-04-24 Thread AndreiP
When you are getting killed do you get to go through onDestroy()? If so you can check if it's a graceful exit through your menu choices or killed by a system. If killed by a system schedule then schedule a restart via AlarmManager after whatever time period you choose. I didn't check that, just

[android-developers] Re: Task Killing apps kill my service. How can I avoid it?

2013-04-24 Thread AndreiP
When you are getting killed do you get to go through onDestroy()? If so you can check if it's a graceful exit through your menu choices or killed by a system. If killed by a system then schedule a restart via AlarmManager after whatever time period you choose. I didn't check that, just my line o

[android-developers] Re: Launch Mode : singleTop FAILS on first time app start of signed build

2013-04-24 Thread Dritan
Yes I was afraid it'd have to come to that, it's similar to re-inventing the wheel that Android provides for me already.. with a slight tweak.. and for that slight tweak I now have to manage the stack on my own. On Wednesday, 24 April 2013 03:29:06 UTC-4, Piren wrote: > > Well, when i encountere

Re: [android-developers] Re: Task Killing apps kill my service. How can I avoid it?

2013-04-24 Thread Kristopher Micinski
Task killers just do a process kill, so you *don't* get an `onDestroy()`, your app just disappears... Kris On Wed, Apr 24, 2013 at 3:06 PM, AndreiP wrote: > When you are getting killed do you get to go through onDestroy()? If so you > can check if it's a graceful exit through your menu choices o

[android-developers] Re: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

2013-04-24 Thread bob
I'm also seeing an error like this: *java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState* * at android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1265)* * at android.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.java:451) * * a

Re: [android-developers] How to program the apps which is download from play store?

2013-04-24 Thread Latimerius
On Wed, Apr 24, 2013 at 4:22 PM, TreKing wrote: > On Wed, Apr 24, 2013 at 5:42 AM, Perry168 wrote: > >> I hope to check user is download my apps from google play store or from >> other place. But I don't know how to write the program. >> > > There is no way for you to detect this. > > Well, ther

[android-developers] AcousticEchoCanceler

2013-04-24 Thread WB
I'm try to determine if this class works, or is hardware dependent, etc. I have not been able to observe a difference between when it is turned on and turned off. Testing on a GS3 and a Nexus S, I find that the GS3 really doesn't echo at all, regardless of whether the AEC is on or off, and th

[android-developers] Re: How make to a VideoView as Youtube ?

2013-04-24 Thread bob
I would take a look at the VideoViewDemo in the ApiDemos sample: Thanks. On Monday, April 22, 2013 8:11:37 AM UTC-5, Nine wrote: > > Dear all, > > I want to make a VideoView to play a

[android-developers] Re: Filtering a MergeCursor

2013-04-24 Thread deepwinter2
ideas ? On Friday, April 19, 2013 6:47:03 PM UTC-7, deepw...@winterroot.net wrote: > > I would like to be able to call filter() on a merge cursor I'm using. The > filter functionality needs to pass through to one of the cursors, a > database cursor, and update it's sql query (or just manually

Re: [android-developers] How to program the apps which is download from play store?

2013-04-24 Thread bob
Yes, there is a way to do this You basically create a class called Config. Then you put a static boolean in there like so: public static boolean ON_GOOGLE_PLAY_STORE = true; Then you make two APKs - one for the Play Store and one for everywhere else. You set the boolean accordingly. To

Re: [android-developers] Re: Clock widget with second hand

2013-04-24 Thread Mady Zaid
i already develop a custom analog clock widget with themes, skins and some other options, but the big problem clock stop working after some period that differ from mobile to another, I don't know if it's stopping depend on the android version or just mobile specification, so I put my code as an ope

Re: [android-developers] Re: Task Killing apps kill my service. How can I avoid it?

2013-04-24 Thread AndreiP
Thanks Kris. I suspected that would be the case. Well then, he would have to implement a WatchDog if he doesn't use Push Notifications. On Wednesday, April 24, 2013 1:13:47 PM UTC-7, Kristopher Micinski wrote: > > Task killers just do a process kill, so you *don't* get an > `onDestroy()`, your a

[android-developers] Activity start+restarts when launched with screen off

2013-04-24 Thread Shri
If an activity (with WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | FLAG_SHOW_WHEN_LOCKED | FLAG_TURN_SCREEN_ON) is launched while the screen is off, the order of activity lifecycle callbacks is: onCreate, onStart, onResume, onPause, onStop, onRestart, onStart, onResume Why does Android s

[android-developers] Re: Server code for In App Billing with Google App Engine.

2013-04-24 Thread Nathan
It might have been this presentation I was thinking of: http://www.google.com/events/io/2011/sessions/evading-pirates-and-stopping-vampires-using-license-verification-library-in-app-billing-and-app-engine.html -- -- You received this message because you are subscribed to the Google Groups "Andr

Re: [android-developers] Maps api key v1?

2013-04-24 Thread Indicator Veritatis
There is a world of a difference, Ian, between "updating our software" and completely breaking an entire set of APIs. Google did the latter. Many other companies instead keep the old APIs working for years, encouraging developers to develop only for the new API set. Now Google may have had a go

Re: [android-developers] Re: Deep sleep after 1 hour?

2013-04-24 Thread paladin
That looks like it fixed the issue. Thanks a lot! On Tuesday, April 23, 2013 10:16:15 AM UTC-4, Kristopher Micinski wrote: > > this... > > http://developer.android.com/guide/components/services.html#Foreground > > Kris > > On Tue, Apr 23, 2013 at 10:05 AM, paladin > > wrote: > > Yes, if what

Re: [android-developers] How to program the apps which is download from play store?

2013-04-24 Thread TreKing
On Wed, Apr 24, 2013 at 4:44 PM, bob wrote: > Then you make two APKs - one for the Play Store and one for everywhere > else. You set the boolean accordingly. > > To check, you simply look at the boolean. > This tells you which store *you* built the app for. It says nothing about where the *user

[android-developers] Re: ListView selection remained after exit from action mode

2013-04-24 Thread yccheok
Side Note Using MultiChoiceModeListener couple with CHOICE_MODE_MULTIPLE_MODAL will make this bug gone. However, for device below API level 11 will not able to use this solution. -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] [Q][Dev]****Facebook Home****How to implement a screen locker just like fb home

2013-04-24 Thread Tim Cho
Halo How does the Facebook Home work? I wanna achieve a screen locker app with some futures(showing picture etc.) That locker must appare before the system [pattern or password]locker. How can i do that? Any tips~ Thanks -- -- You received this message because you are subscribed to the Go

Re: [android-developers] Maps api key v1?

2013-04-24 Thread Ian Ni-Lewis
On Wed, Apr 24, 2013 at 4:01 PM, Indicator Veritatis wrote: > There is a world of a difference, Ian, between "updating our software" and > completely breaking an entire set of APIs. Google did the latter. Many > other companies instead keep the old APIs working for years, encouraging > developers

[android-developers] Re: Filtering a MergeCursor

2013-04-24 Thread Piren
if you're going to replace one of the cursors (do a new query) just create a whole new MergeCursor and don't use filtering. if you wanna filter manually, see the following link or just do a search on how to filter... http://stackoverflow.com/questions/2519317/how-to-write-a-custom-filter-for-lis

[android-developers] Re: Launch Mode : singleTop FAILS on first time app start of signed build

2013-04-24 Thread Piren
sometimes it's easier than to use a crooked wheel with tons of weird behaviors :) On Wednesday, April 24, 2013 10:22:24 PM UTC+3, Dritan wrote: > > Yes I was afraid it'd have to come to that, it's similar to re-inventing > the wheel that Android provides for me already.. with a slight tweak.. a

Re: [android-developers] How to create JAR libs in Android

2013-04-24 Thread Piren
god.. that's just plainly wrong. He wasn't talking about distributing an app, but code. he even gave two examples of such instances... On Wednesday, April 24, 2013 5:08:34 PM UTC+3, Roland Mueller wrote: > > Hello, > > Android SW is distributed in apk archives which are creatred from the > sour