Re: [android-developers] Re: Alert Dialog Box

2012-08-10 Thread Meena Rengarajan
Thanku :) On Sat, Aug 11, 2012 at 3:38 AM, bob wrote: > final WifiManager wifiManager = (WifiManager) this > > .getSystemService(Context.WIFI_SERVICE); > > > AlertDialog.Builder builder = new AlertDialog.Builder(this); > > builder.setMessage("Enable Wifi?") > > .setCancelable(false) > >

Re: [android-developers] Re: List of Available Wifi Devices

2012-08-10 Thread Meena Rengarajan
Thankyou so much . Yeah i got it very clearly On Sat, Aug 11, 2012 at 3:08 AM, bob wrote: > startScan () returns immediately. The availability of the results is made > known later by means of an asynchronous event sent on completion of the > scan. > > > So, you either need to wait 10 seconds or

[android-developers] Send and Receive Video files to Application Server

2012-08-10 Thread Muhammad Rashid
Hi all, I would like to say that in my android project I want to send a video file from SD Card to our Application Server and also Receive that Video file from Server. I need a most efficient solution and best practices to achieve this task. -- You received this message because you are subsc

Re: [android-developers] Dynamic creation of table and showing it on dialog box

2012-08-10 Thread TreKing
On Wed, Aug 8, 2012 at 2:14 AM, Krishna Mahadik wrote: > Help and guidance needed. http://developer.android.com/guide/index.html http://www.google.com - TreKing

[android-developers] Creating multiselect ListView in android

2012-08-10 Thread kalandar
Hi guys this my code for creating multiselect list view in android , check out this , this may helpful for some situation. * http://kalandarandroid.blogspot.in/2012/08/creating-multiselect-listview-in-android.html *

[android-developers] Re: How to use apache thrift with android????

2012-08-10 Thread adroidanky
thanks riderj..the application is error free now but client is not communicating with server the client code is attached plz if u give a simple android client code which can communicate with thrift enabled serverpl help me to get overcome this problem.. -- You received this message b

[android-developers] Fixing the lack of the unit "%" and the lack of the unit "em" for a Layout for a View

2012-08-10 Thread goodG
I don't get the reason why but in Android this 2 units seems to be not available when creating a new layout http://developer.android.com/guide/topics/resources/more-resources.html#Dimension There is a workaround for this ? At least for the percentage that is really helpful when dealing with a b

Re: [android-developers] Error in App

2012-08-10 Thread Justin Anderson
> > 08-08 19:40:40.513: E/AndroidRuntime(692): Caused by: > java.lang.NullPointerException > 08-08 19:40:40.513: E/AndroidRuntime(692): at android.content. > ContextWrapper.unregisterReceiver(ContextWrapper.java:378) > 08-08 19:40:40.513: E/AndroidRuntime(692): at > ir.smspeik.sms.GetRespon

Re: [android-developers] Dynamic creation of table and showing it on dialog box

2012-08-10 Thread Justin Anderson
Great... then do it. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Aug 8, 2012 at 1:14 AM, Krishna Mahadik wrote: > Hi People, > > I am want to generate a table dynamically at runtime and show it in > a dialog box. > > Help and guidance needed. >

Re: [android-developers] Re: how best to move canvas dimensions to tablet proportions. Functions I could use...

2012-08-10 Thread Justin Anderson
Don't hardcode any values... With a little imagination and research you should be able to achieve what you want without detecting the screen size either... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Aug 10, 2012 at 3:43 PM, bob wrote: > Disp

Re: [android-developers] How to dynamically change row layout of list view on click event

2012-08-10 Thread Justin Anderson
To do something like that you are going to have to write a custom adapter... When the listview item is clicked you then set the clicked status on the adapter for the clicked item, call notifyDataSetChanged() and let the getView() method handle the change... Thanks, Justin Anderson MagouyaWare Dev

[android-developers] Re: bitmap font ok?

2012-08-10 Thread Nobu Games
It's not (just) the .ttf file which is protected and needs to be licensed. It is the actual typeface / appearance / design for which you have to pay. What you are trying to do wouldn't solve your problem either. As an example an excerpt from the license text

Re: [android-developers] Physical Keyboard can not be disabled on Android 4.1.1

2012-08-10 Thread Mark Murphy
On Fri, Aug 10, 2012 at 7:58 PM, fan zhang wrote: > This is not a device specific issue. > > All Android tablet devices should experience same problem. That's nice, but that still has absolutely nothing to do with this list. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.

Re: [android-developers] Physical Keyboard can not be disabled on Android 4.1.1

2012-08-10 Thread fan zhang
This is not a device specific issue. All Android tablet devices should experience same problem. Thanks, Fan On Fri, Aug 10, 2012 at 4:29 PM, Mark Murphy wrote: > This list is for developing applications with the Android SDK. Please > consult your device manufacturer for technical support with

Re: [android-developers] Physical Keyboard can not be disabled on Android 4.1.1

2012-08-10 Thread Mark Murphy
This list is for developing applications with the Android SDK. Please consult your device manufacturer for technical support with your device. On Fri, Aug 10, 2012 at 7:22 PM, fan zhang wrote: > Hi: > > I upgraded my XOOM (Wingray) to Android 4.1.1 recently. However, I could not > disable externa

[android-developers] Physical Keyboard can not be disabled on Android 4.1.1

2012-08-10 Thread fan zhang
Hi: I upgraded my XOOM (Wingray) to Android 4.1.1 recently. However, I could not disable external BT keyboard with Jelly Bean. This is 100% reproduced. 1. Add a BT keyboard to XOOM 2. start browser app 3. Touch search text box 4. Touch input method icon in status bar 5. Disable Physical key 6.

[android-developers] Re: All Android in app subscriptions were mysteriously automatically canceled

2012-08-10 Thread fibercode
Update to my last post. It seems that the online play.google.com store is now showing the correct "Active" status for the subscriptions. The Google Store app on the devices is still showing "Canceled". As you suggested all this could be due to some caching or data replication issues. However,

[android-developers] Re: ADB and Mountain Lion Issues

2012-08-10 Thread Dave Smith
Macbook Pro, and it definitely does. Symptoms are the same regardless of device. On Friday, August 10, 2012 4:02:33 PM UTC-6, bob wrote: > > I have the Galaxy Tab 10.1, and it doesn't give me any trouble. Are you > sure it gives you trouble? > > Also, are you on Macbook Air or Pro? I'm on Pro

[android-developers] Re: Alert Dialog Box

2012-08-10 Thread bob
final WifiManager wifiManager = (WifiManager) this .getSystemService(Context.WIFI_SERVICE); AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setMessage("Enable Wifi?") .setCancelable(false) .setPositiveButton("Yes", new DialogInterface.OnClickListener() {

[android-developers] Re: ADB and Mountain Lion Issues

2012-08-10 Thread bob
I have the Galaxy Tab 10.1, and it doesn't give me any trouble. Are you sure it gives you trouble? Also, are you on Macbook Air or Pro? I'm on Pro. On Thursday, August 9, 2012 9:32:47 PM UTC-5, Dave Smith wrote: > > Galaxy Tab 10.1, Nexus 7, Droid 2, Droid Intercept; I'm fairly confident >

[android-developers] Re: All Android in app subscriptions were mysteriously automatically canceled

2012-08-10 Thread fibercode
Trevor, I did do a few queries to the Developer API servers and all of the subscriptions I checked seem to be back to normal and are correctly flagged with "autoRenewing": true. There seems to be still one outstanding issue. If a customer that had purchased a subscription finds our application

[android-developers] Re: [ASK] drawbitmap not draw entire bitmap

2012-08-10 Thread bob
Remove this line: super.onDraw(canvas); On Thursday, August 9, 2012 10:48:39 PM UTC-5, hendra uswandy wrote: > > Hi, > > i create customImageView Class that using for gridview > > in ondraw(Canvas canvas) method > drawbitmap not draw entire bitmap ( just 5pixel from top image ) > > this is my c

[android-developers] Re: Wifi State

2012-08-10 Thread bob
// To use this WifiManager method, AndroidManifest.xml must have the following permission: // WifiManager wifiManager = (WifiManager) getSystemService(Context. WIFI_SERVICE); if (!wifiManager.isWifiEnabled()) wifiManager.setWifiEnabled(true); On Thursday, August 9, 2012 11:31:57 PM UTC-5,

[android-developers] Re: how best to move canvas dimensions to tablet proportions. Functions I could use...

2012-08-10 Thread bob
Display display = ((WindowManager) getSystemService(WINDOW_SERVICE)).getDefaultDisplay(); int width = display.getWidth(); int height = display.getHeight(); On Friday, August 10, 2012 4:34:12 PM UTC-5, cellurl wrote: > > I have an app that looks fine on an HTC-G1, but is all misaligned on a >

[android-developers] Re: List of Available Wifi Devices

2012-08-10 Thread bob
startScan () returns immediately. The availability of the results is made known later by means of an asynchronous event sent on completion of the scan. So, you either need to wait 10 seconds or so after startScan or wait till you get the event that the scan has completed. IOW, you are calling

[android-developers] how best to move canvas dimensions to tablet proportions. Functions I could use...

2012-08-10 Thread james pruett
I have an app that looks fine on an HTC-G1, but is all misaligned on a tablet. Q: What functions should I use to find screen size, so I can get rid of the hard numbers you see below. For example, 347 is 50% in the X direction... Thanks for any leads! -cellurl public class View extends SurfaceView

[android-developers] bitmap font ok?

2012-08-10 Thread bob
Okay. So, it is illegal to put Arial.ttf in my Android App without paying a lot of licensing fees to the Arial people. Is it ok to use a Bitmap Font generator with Arial and put the resulting PNG bitmap file in my Android App? -- You received this message because you are subscribed to the

Re: [android-developers] Non sticky service gets recreated (indefinetly?)

2012-08-10 Thread Johan Appelgren
You're right that I'm not understanding something here, most likely it is something really obvious too. :( As I wrote, my understanding of what you describe is not the behavior I'm seeing with my test app on my Galaxy Nexus with Android 4.1.1 nor the 4.1.1 emulator image. After I've unbound fro

[android-developers] Re: hosting web services (php+mysql)

2012-08-10 Thread bob
Maybe Verve Hosting? I used to use them. On Friday, August 10, 2012 9:31:48 AM UTC-5, giles ian wrote: > > Hi All, > > I will be creating a (php + mysql) server, which will expose few web > services for android app, > > Where can i host this for free or may be paid as well. > > Is app engine as

[android-developers] Re: Listview in Wifi

2012-08-10 Thread bob
adapter.add("Sample WAP"); On Friday, August 10, 2012 6:39:48 AM UTC-5, Meena Rengarajan wrote: > > Here, this is my code, How do i wanna put all the strings which is > scanned and how do i wanna use Array adapter then how do i wanna get all > the values from list ? > Can anyone help me h

Re: [android-developers] hosting web services (php+mysql)

2012-08-10 Thread TreKing
On Fri, Aug 10, 2012 at 9:31 AM, giles ian wrote: > Where can i host this for free or may be paid as well. > That has nothing to do with this list. Use Google. > Is app engine as option. > If that is a question, then sure, App Engine is "as" option. --

Re: [android-developers] Handling Redirects in Android WebView

2012-08-10 Thread Mark Murphy
On Fri, Aug 10, 2012 at 2:31 PM, farble1670 wrote: > yeah, but how do tell if it's a redirect? Unless you can tell by examining the URL, probably you can't tell if it is a redirect. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog

[android-developers] Re: UnsatisfiedLinkError, but only on Nexus 7

2012-08-10 Thread rmtew
On Tuesday, August 7, 2012 3:27:21 PM UTC+12, rmtew wrote: > > I have an application which has worked for a user up till now. But with > the last release, they're getting "crashes". Looking at their submitted > stack trace, it is a simple UnsatisfiedLinkError where the loadLibrary call > fails

Re: [android-developers] Listview in Wifi

2012-08-10 Thread TreKing
On Fri, Aug 10, 2012 at 6:39 AM, Meena Rengarajan wrote: > How do i wanna put all the strings which is scanned and how do i wanna use > Array adapter then how do i wanna get all the values from list ? How you "wanna" do anything is really up to you. -

[android-developers] Re: All Android in app subscriptions were mysteriously automatically canceled

2012-08-10 Thread Trevor Johns
fibercode, Can you let me know if you're still seeing this? I just confirmed with our engineering team that everything should be back to normal. If anything still looks off, let me know and I'll have them take a closer look. (It's possible there was some caching delays with the Developer API, wh

Re: [android-developers] Non sticky service gets recreated (indefinetly?)

2012-08-10 Thread Kostya Vasilyev
2012/8/10 Dianne Hackborn > > As long as the service is in the started state, the system will try to > keep it created/started, and if the process is killed then it will be > restarted if it is not sticky. > Is that a typo? Was that supposed to be "Restarted if it *is* sticky"? -- K -- You r

Re: [android-developers] How can I check the value of wtf_is_fatal?

2012-08-10 Thread Shri Borde
I want to use wtf_is_fatal==1 as the gate for my expensive asserts since the people who will set wtf_is_fatal (the dev team) will also be ok with the slight slowdown caused by expensive asserts. Strictly speaking, these should be two independent settings, but I was hoping to piggyback off of wtf_is

Re: [android-developers] Non sticky service gets recreated (indefinetly?)

2012-08-10 Thread Dianne Hackborn
On Fri, Aug 10, 2012 at 12:17 AM, Johan Appelgren wrote: > Still occupies some amount of memory though, and the service's onCreate > might not be cheap. I'm not sure what this means...? If you are concerned about the service having too much overhead because you have bound to it and it doesn't

Re: [android-developers] MAX Repeat count of windowEnterAnimation

2012-08-10 Thread Dianne Hackborn
No the window will only execute an animation when it goes through the corresponding transition -- enter animations exit when the window is shown, exit when it is hidden, etc. On Fri, Aug 10, 2012 at 4:17 AM, danaimset wrote: > Thanks a lot, Dianne! > > I believe it can be done by using the follo

Re: [android-developers] How can I check the value of wtf_is_fatal?

2012-08-10 Thread Dianne Hackborn
Why do you want to do this? If you want to log an error that doesn't cause your app to crash, use Log.w(). I generally recommend if you have a fatal error, using Log.e() (though it is your responsibility to crash or whatever the fatal error behavior is after that). If you don't want the behavior

[android-developers] Re: Update Activity after GCM message

2012-08-10 Thread Wolfgang
Thanks. The LocalBroadcastManager worked perfectly! -W -- 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-develope

Re: [android-developers] Handling Redirects in Android WebView

2012-08-10 Thread farble1670
yeah, but how do tell if it's a redirect? On Monday, March 12, 2012 4:14:29 AM UTC-7, Mark Murphy (a Commons Guy) wrote: > > Redirects are handled via a WebViewClient and > shouldOverrideUrlLoading(), as are clicks on ordinary links. > > On Sun, Mar 11, 2012 at 3:54 AM, Rao > > wrote: > > Hi, >

[android-developers] How can I check the value of wtf_is_fatal?

2012-08-10 Thread Shri
I want to check if Log.wtf will result in program termination. I want to use that property to enable expensive asserts in my program. How can I check for this? I used the following code but it throws SettingNotFoundException. int wtfIsFatal = android.provider.Settings.Secure.getInt(getConten

[android-developers] RenderScript 'bugs'

2012-08-10 Thread Harri Smått
Hi All, I'm facing problems with RenderScript on ADT20 and ADT21 preview 1 (I was hoping ADT21 fixed many of the RenderScript bugs). E.g following code does not work with color4.rgb, which changes color values to zeros only; void root(uchar4* v_color) { float4 color4 = rsUnpackColor888

Re: [android-developers] Can a folder be created using instrumentation context instead of target context?

2012-08-10 Thread dnkoutso
Thanks Dianne, this helps. On Thursday, August 9, 2012 11:34:25 PM UTC-7, Dianne Hackborn wrote: > > Not generally, when the instrumentation is running in the target process, > it is running under that uid. You could do something like put a service or > content provider (or receiver) in your in

[android-developers] Re: Update Activity after GCM message

2012-08-10 Thread dnkoutso
You could use the http://developer.android.com/reference/android/support/v4/content/LocalBroadcastManager.html to fire a local broadcast (only to your process, unlike the normal Broadcast). If you are using the message as a send-to-sync type then just pass in an boolean extra. You could also

[android-developers] Re: Nexus 7 not visible to adb over usb (WIndows 7 x64, up to date Jelly Bean sdk)

2012-08-10 Thread goodG
http://support.asus.com/download/ModelList.aspx?SLanguage=en&keyword=nexus%207&type=1 my personal advice is just to avoid programming on Windows, it's a nightmare. Il giorno venerdì 10 agosto 2012 17:39:08 UTC+2, mkh ha scritto: > > Trying to force feed myself Windows to build character, and the

[android-developers] Nexus 7 not visible to adb over usb (WIndows 7 x64, up to date Jelly Bean sdk)

2012-08-10 Thread mkh
Trying to force feed myself Windows to build character, and the seemly trivial thing of plugging in a Nexus 7 to a Dell xps 15z Tand debugging a "hello world" app on it from Eclipse Juno with the latest ADT plugin has me stumped. Developer options were turned on, and USB debugging enabled. The

[android-developers] Re: Samsung Galaxy SII (ICS 4.0.4) freezes when using OpengGL ES 2.0

2012-08-10 Thread goodG
With *log* you mean *adb logcat* ? If the system says nothing special through the log, you probably have a big problem with your source code. Il giorno venerdì 10 agosto 2012 15:43:44 UTC+2, BorisB ha scritto: > > Hi all, > > Samsung Galaxy SII (ICS 4.0.4) freezes when I run my application that

[android-developers] Update Activity after GCM message

2012-08-10 Thread Wolfgang
Hey guys, I have a activity called GetList. This class contains a listview whose data comes from my server. My server sends a message through GCM and the phone receives it and displays the message. I am trying to get the app to refresh the listview when a message is received. However the onMes

Re: [android-developers] ListView sorting

2012-08-10 Thread Wolfgang
Thanks for the reply. I figured it out. I sorted in the ArrayAdapter. -- 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 and

[android-developers] hosting web services (php+mysql)

2012-08-10 Thread giles ian
Hi All, I will be creating a (php + mysql) server, which will expose few web services for android app, Where can i host this for free or may be paid as well. Is app engine as option. Thanks, -- You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] Re: How to detect alarm clock ringing or other apps using speaker?

2012-08-10 Thread Necati TUFAN
I solved my problem for default alarm application: public static final String ALARM_ALERT_ACTION = "com.android.deskclock.ALARM_ALERT"; public static final String ALARM_SNOOZE_ACTION = "com.android.deskclock.ALARM_SNOOZE"; public static final String ALARM_DISMISS_ACTION = "com.android.deskclo

[android-developers] Samsung Galaxy SII (ICS 4.0.4) freezes when using OpengGL ES 2.0

2012-08-10 Thread BorisB
Hi all, Samsung Galaxy SII (ICS 4.0.4) freezes when I run my application that use OpengGL ES 2.0. Only thing that I can do is to reset the phone, Application is mostly written in NDK and there's also software rendering mode (no OpenGL) witch runs without problems. Also, the app worked with al

[android-developers] Re: Android efficiency for huge amount of SQLlite DB records?

2012-08-10 Thread lbendlin
10 lines should be manageable. Make sure you optimize the indexes for your most frequent queries, don't forget to vacuum, and use transactions whenever possible. Nothing of this is really related to Android, though. On Friday, August 10, 2012 3:53:09 AM UTC-4, chainz roid wrote: > > Thanks

Re: [android-developers] How to connect to MySQL db

2012-08-10 Thread Walaa Mahmoud
I think you have to connect MySQL via PHP as backend with HTTP requests and JSON parameters to send and receive data from/to database. On Fri, Aug 10, 2012 at 10:41 AM, Fabien R wrote: > On 03/08/2012 17:05, Andrey Shloma wrote: > > Now i user mysql-connector-java-5.1.21-bin.jar library > > An

Re: [android-developers] Database getting blank in android

2012-08-10 Thread Abhi
Thanks Pedro for your reply. I had already put all the checks to open or close the database . The thing is that this issue is occuring not so often and also it is occuring in Samsung gi5800 phone. If i intentionally left the app opened for few hours then it won't come. I just want to confirm th

Re: [android-developers] My developer account has been canceled., Anybody knows the reason???

2012-08-10 Thread Fabien R
On 10/08/2012 11:58, julious raj wrote: > Hi Developers, > I am an Android application developer and i have created a developer > account before several months., > i have planned and developed an application to publish in my account., > But Google team blocked my account before a week., and I

[android-developers] Re: Is there any way to know a view's height and width before it is really shown on screen?

2012-08-10 Thread Doug
I've always wanted to be able to attach an onSizeChanged listener to an arbitrary view to make this easy, but that doesn't seem to be in the cards for Android. You have to wrap your arbitrary view inside another custom container and have that container pay attention to onSizeChange to be able

[android-developers] Listview in Wifi

2012-08-10 Thread Meena Rengarajan
Here, this is my code, How do i wanna put all the strings which is scanned and how do i wanna use Array adapter then how do i wanna get all the values from list ? Can anyone help me here please ? wifi.startScan(); int length = 10; String[] str1 =new String[length]; List resul

Re: [android-developers] MAX Repeat count of windowEnterAnimation

2012-08-10 Thread danaimset
Thanks a lot, Dianne! I believe it can be done by using the following method if you need to provide some animation to PopupWindow: http://developer.android.com/intl/ru/reference/android/widget/PopupWindow.html#update(android.view.View, int, int, int, int) But in that case a programmer should

[android-developers] My developer account has been canceled., Anybody knows the reason???

2012-08-10 Thread julious raj
Hi Developers, I am an Android application developer and i have created a developer account before several months., i have planned and developed an application to publish in my account., But Google team blocked my account before a week., and I have asked the reason., But i am not getting a e

[android-developers] List of Available Wifi Devices

2012-08-10 Thread Meena Rengarajan
Here , i wanna display list of Available Wifi devices .. This is my code please anyone help me , i do not understand what mistake is here ? Please anybody help me here , i wanna display list of Available Wifi devices, i am very new to this Technology .. wifi = (WifiManager) getSystemService(Con

Re: [android-developers] How to connect to MySQL db

2012-08-10 Thread Fabien R
On 03/08/2012 17:05, Andrey Shloma wrote: > Now i user mysql-connector-java-5.1.21-bin.jar library > And try next code: > This is not the way to connect to database on android. You have to send http requests to a web service. - Fabien -- You received this message because you are subscribed to

[android-developers] Re: Service for external server communication

2012-08-10 Thread RichardC
Wrong group, try one of: http://source.android.com/community/index.html On Friday, August 10, 2012 9:34:31 AM UTC+1, chainz roid wrote: > > Hello > > I'm working with android ICS AOSP. i want to create a simple service for > check the server whether its alive or not. I need help for following pr

[android-developers] Service for external server communication

2012-08-10 Thread chainz roid
Hello I'm working with android ICS AOSP. i want to create a simple service for check the server whether its alive or not. I need help for following process 1. Create simple service for check the server whether its alive or not. 2. I've to add in AOSP ( Frameworks/base/services/java/com/a

[android-developers] Re: Android efficiency for huge amount of SQLlite DB records?

2012-08-10 Thread chainz roid
Thanks Mr.zsolt Vasvari. your answer help me to think new way to develop my app.. -- 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, sen

Re: [android-developers] How to set last visible item fully visible in listview

2012-08-10 Thread 王志鹏
Thanks for the reply! The height of each item in the listview can change, i.e., after one button is clicked. And when this happens, we need the last item on screen fully visible. Thanks for the reply again! On Fri, Aug 10, 2012 at 1:53 PM, Justin Anderson wrote: > What? > > Thanks, > Justin An

[android-developers] Re: install font with apk

2012-08-10 Thread andu
Oh, After a long time, I have seen Ethiopic font which come with Android 4.0 OS. I am very much happy to see this. Andu On Monday, February 7, 2011 5:08:22 PM UTC+3, Brill Pappin wrote: > > I just last night came across a good article on the subject. > http://mobile.tutsplus.com/tutorials/and

Re: [android-developers] Alert Dialog Box

2012-08-10 Thread dEEPESH PPM
Hi, Try this code; In yes button click WifiManager wifiManager = (WifiManager)this.context.getSystemService(Context.WIFI_SERVICE); wifiManager.setWifiEnabled(status); status =true or false Regards On Fri, Aug 10, 2012 at 11:18 AM, Meena Rengarajan wrote: > > How to Enable Wifi

Re: [android-developers] Re: How to use apache commons in my android application

2012-08-10 Thread Zsolt Vasvari
> If you want some JAR out of the vast set of Apache Commons projects, you > are welcome to try it: put it in libs/, tell Eclipse about it, and hope > it works. > It does --- I use a few Apache Commons libraries in my app. -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://twi

[android-developers] Re: Android efficiency for huge amount of SQLlite DB records?

2012-08-10 Thread Zsolt Vasvari
Please use Roman numbers. The limit appears to be related to the dataset returned by query. Once it reaches a certain size (don't remember what it is), moving the cursor becomes prohibitively slow. On Friday, August 10, 2012 2:09:29 PM UTC+8, chainz roid wrote: > > Hello > > I'm working wi

Re: [android-developers] Alert Dialog Box

2012-08-10 Thread dEEPESH PPM
Hi, On Fri, Aug 10, 2012 at 11:18 AM, Meena Rengarajan wrote: > How to Enable Wifi automatically in Android 2.2 in an alert box ? If i > click Yes button then it should be enable and if i click no then > application must be closed. Can anyone tell me this how should i do ? > > -- > You received

Re: [android-developers] Non sticky service gets recreated (indefinetly?)

2012-08-10 Thread Johan Appelgren
Still occupies some amount of memory though, and the service's onCreate might not be cheap. Anyways, I guess this is one of those little undocumented things you just have to learn. Do not rely on START_NOT_STICKY if you both start and bind to a service if you don't want the service to stay aro