[android-developers] Issue with creating a custom VPN app

2012-05-25 Thread Mahendra Liya
I am almost done building a custom VPN app. The problem is that when I connect to the VPN server, the code seems to be starting a proxy daemon SProxy_mtpd and it fails giving the following error: 05-25 05:59:34.106: E/VpnService(712): onError() 05-25 05:59:34.106: E/VpnService(712):

Re: [android-developers] Re: noob developer, application keeps restarting

2012-05-25 Thread Kristopher Micinski
Because it's dirty, kills resources, goes against the application lifecycle, is a dangerous way of destroying things without finalizing things first, ... basically, for the same reasons you don't want to unplug your machine while it's running... kris On Fri, May 25, 2012 at 1:47 AM, Yan

[android-developers] Re: Tips or links for efficient low CPU threads?

2012-05-25 Thread slmusk
The priority makes your thread not use less CPU Time! In most threading model this will only cause your thread to be scheduled less likley making it effectifly use less CPU Time. But if this thread does computing intensive tasks it will take all the CPU power it will get and unless the thread

Re: [android-developers] Abridged summary of android-developers@googlegroups.com - 81 Messages in 41 Topics

2012-05-25 Thread siphamandla blou
-- 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+unsubscr...@googlegroups.com For more options, visit

[android-developers] Error in android 4.0 use Dom Parser

2012-05-25 Thread RAJESH RAJARAM
Hi My Problem is Dom Parser is not working in Android 4.0 but it's working on 2.2,2.3,3.0 if i run the project in my 4.0 emulator its not executing after the Document doc = db.parse(inStream); Help me Rajesh Rajaram -- You received this message because you are subscribed to the Google

Re: [android-developers] Android Market not showing my app in Tablet but showing in smartphones

2012-05-25 Thread RAJESH RAJARAM
Hi jim I tried the android:xlarge.. actually my project is in 2.2, so it not supported the xlarge but now i changed to 2.3 its support now. And now the problem is when i execute the project in 3.0 or 4.0 emulator its not calling the web service. But its working fine in 2.2 and 2.3 emulator.

[android-developers] getting problem while dealing with maps..........

2012-05-25 Thread thirupathi g
I have created basic map application but Iam getting grey boxes in the emulator... and Iam gettting *Couldnt get connection factory client* in log cat Is there any problem with my emulator i have created another versions emulator but got same thing One thing I want to

[android-developers] Android Network Polling Rate

2012-05-25 Thread Mike Fagan
Hello All! I am new to the mailing list, but come bearing a question :) First off, my device and OS version. I have a Samsung Nexus S running a self-compiled version of Android 4.0.4. I am running and tracing the system calls of wget (the wget binary is provided with the SSHDroid app). With

[android-developers] soft keyboard not showing

2012-05-25 Thread marcin kolonko
hi, in my layout xml i have a stubview. the layout that replaces the stubview has a EditText view inside. but when i inflate stubview, the soft keyboard doesn't show automagically. is this the default behaviour? i know i can show the keyboard myself, just want to know if i really have to mess

[android-developers] Menu from GLSurfaceView

2012-05-25 Thread michael
Hi, I'm working on a project where I'm displaying a room using GLSurfaceView and Renderer, and I want to display a menu when user click on that room (anywhere) by using onTouchEvent. So please help me with the code needed to put in the case of ACTION_DOWN. -- You received this message because

Re: [android-developers] Avoiding onItemSelected calls during initialization

2012-05-25 Thread IronBlossom
*Your event handler doesn't run during initialization. It runs on the** first layout* New to android. Facing the same problem on spinner, but what do you mean by first layout? Is there any relationship with XML layout or you mean the first spinner.setOnItemSelectedListener(null)? --

[android-developers] Surface - Method show()

2012-05-25 Thread Dekra
Hello, I am updating my app from Honeycomb sdk (ver 13) to ICS sdk (ver 15). In sdk v13 it was possible to use the public native method show() of Surface class; according to sdk v15 this method disappears. Is there any new method or workaround in order to have the same behavior ? Thanks,

[android-developers] Implementing Google Maps into Android 2.3.3 platform app

2012-05-25 Thread Andrew Liu
Hello, I'm trying to add a google map into my app.. Do I need to use the Google API? is there a way to keep my platform without switching? Can I switch? Is there a difference if I switch over to Google API? I've added uses-library android:name=com.google.android.maps / Is this the only

[android-developers] Native text entry with virtual keyboard while in openGL ES mode

2012-05-25 Thread madan
Hi, I am using the android NDK and rendering using openGL ES 2.0 I want to add a text entry field and wish to use the GUI widget that is usually available in the android. Is this possible at all ? Can the virtual keyboard with its entry field box be called by some call from NDK c++ layer ?

[android-developers] Using Android app to login into a website and register if a new member

2012-05-25 Thread George
I need to to develop an app for some XYZ(can't tell) application, The app must provide a field for username password initially and after entering these things it has to login if the entered data is authentic. I already have some users registered and using the XYZ application from a website.

[android-developers] Is there any rom which can support wifi direct for HTC Desire HD ?

2012-05-25 Thread om
Hello everyone I am developing an app which may use wifi direct to transmit video stream. All I have is a HTC One X and a HTC Desire HD. HTC One X can support wifi direct very well, but the original rom of Desire HD can't support it. Is there any rom which can support wifi direct for HTC Desire

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

2012-05-25 Thread anupam jain
Hi all, I'm executing the Bluetooth HDP Demo (offered from Android 4.0 Ice Cream Sandwich) in my Android Acer tablet. but my read thread not working. any body suggest me. thanks anupam jain -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] difference between @+id and @android:id - potential problems?

2012-05-25 Thread Mirko
So, is there possibility to create an id in a lower namespace? ...as id in file only Il giorno sabato 30 agosto 2008 10:45:27 UTC+2, Romain Guy ha scritto: Hi, @+id/foo means you are creating an id named foo in the namespace of your application. You can refer to it using @id/foo.

[android-developers] My Number MSISDN on Sim

2012-05-25 Thread MikeW
To get the MSISDN onto the Sim (many users report Unknown listed, therefore many applications do not function) This works on Galaxy S (tested by others on 2.1 2.2) and on Galaxy Y (mine on 2.3) Goto Contacts Settings Own Numbers Create a new entry called My Number reboot phone MikeW

[android-developers] Re: Support Of HID device role in the Android

2012-05-25 Thread manjunath narayanappa
Hi Shekhar, I have same question, could you proceed any thing further. Regards Manjunatha N On Friday, March 18, 2011 10:22:36 AM UTC+5:30, Shekhar wrote: Hi Folks, I am working on the requirements to support the Android Phone to communicate with the other Bluetooth device through the

Re: [android-developers] How to implement Google Drive in Android application?

2012-05-25 Thread Helmuth Breitenfellner
Hi, As Jason already said, you better use the Documents List API. If you *really* want to use the Drive SDK / API, your users will have to install an app from the Chrome(!!!) Web store to their account. This app needs to do nothing, it only has to refer to the API project ID which you are

[android-developers] Create custom SeekBar with dynamic text over the thumb

2012-05-25 Thread Vlade_lp_mk
Please help me with this!!! I'm trying and trying to make this custom SeekBar and everything I do seams to be wrong! Does anybody have some experiences with this. The thing I'm trying to do, is to display the value of the seekbar over the thumb image of the SeekBar... -- You received this

[android-developers] Help on Extracting a string from View in Android coding

2012-05-25 Thread Arithy
Hi, I've been working on android coding recently and I'm stuck up at this situation. Here is the code that sets up the View and prints the string that is present in the View. content.addView (record.getView (this,inflator,content,i), i+1) ; content.addView(inflater.inflate

[android-developers] code for getting imei without using telephonymanager

2012-05-25 Thread mouliiiiiiiiii frm kurnool
hello .. i need a code for getting IMEI without using telephony manager using JNI .plz provide me this code its urgent -- 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] Why the CTS Resutls are different with same devices, same android source code and different Wireless AP

2012-05-25 Thread pinglunliao
Dear All: I followed the CTS instruction steps to run CTS five times for the same device with same modified android source (provided by freescale). However, the target device was connected to different Wireless AP each time. The following table shows the results:

[android-developers] Activity fields being reallocated

2012-05-25 Thread Timothy McColgan
I have an Activity that has a field which is an ArrayList, that Activity starts an Activity which returns an object to be added to the list. The first Activity then adds buttons dynamically to itself based on the object that Activity B returns. My problem is that everytime Activity B is started

[android-developers] Enable NFC Polling when Device is Locked

2012-05-25 Thread Venkatesh Raghavan
I am developing NFC Application , every thing works fine if Screen is unlocked .While i tried to Tap on NFC Tag if screen is Locked i am getting below error in Logcat - : 05-23 22:00:37.113: D/NfcService(32443): EnableDisableDiscoveryTask: enable = false 05-23 22:00:37.113: D/NfcService(32443):

[android-developers] anti-debug tricks in Android

2012-05-25 Thread vejey karthick gandier
Hi, I have anti-debug checks like IsDebuggerConnected() and CRC checks. I am interested in using NDK with ptrace to hook it to the process so, other debuggers can't get hold of it. I'm actually looking for a way to self-debug the application by itself, so other debuggers an't attach to it. I

[android-developers] multithread sync problem

2012-05-25 Thread yikaikai
I have two thread, one for receive network video steam, another for handle the stream, but after some round, I cannot got anything, below is my code, what's the problems? THX class ReceiveThread extends Thread { int FLAG = 0; public void run() // ReceiveThread {

Re: [android-developers] difference between @+id and @android:id - potential problems?

2012-05-25 Thread Mirko
Hi all, is there possibility to create an id in a lower namespace? ...as id in file only Il giorno sabato 30 agosto 2008 10:45:27 UTC+2, Romain Guy ha scritto: Hi, @+id/foo means you are creating an id named foo in the namespace of your application. You can refer to it using @id/foo.

[android-developers] Websocket + Android

2012-05-25 Thread mkw
Всем привет. Появилась задача написать приложение под андройд. Для обмена сообщениями в реальном времени. У кого есть примеры реализации данного приложения. Сообщения так же должны распознавать адресата к которому они отправляются. Помогите с началом ... дальше сам додумаю )) -- You received

[android-developers] Support Package for Property animation for Android version 2.2

2012-05-25 Thread Reji Joseph
Hi, I am developing and android application which needs some animations beyond tween and frame by frame. I have noticed the new Property animation is good for smooth transition of objects. Is there any support package is available for android 2.2 ? .Because my project needs to support version

[android-developers] About DataBase

2012-05-25 Thread Anil Kumar
Hi buddies this is Anil. I am new to android can anybody suggest me about the database . My problem is i created the database in my project and i successfully added the data in my database ... but after installing the apk in my mobile ... i dint get the values Once again i need to add alll my

[android-developers] what is the minimal memory needed to download android source code?

2012-05-25 Thread thinke365
since the network connection here is not so stable, so i got a vps to download android source code, but was surprised to find it fails every time near success, the problem is not related to internet connection on vps, since it is quite well, but the fault have something to do with memory. the

Re: [android-developers] Help on Extracting a string from View in Android coding

2012-05-25 Thread Arithy M.V
Here, Inflater : is an object of LayoutInflater content : is of LinearLayout records : is a Listdata tag_divider : is the layout file name in xml i : an integer for printing in offset (not important) On Fri, May 25, 2012 at 10:32 AM, Arithy mvari...@gmail.com wrote: Hi, I've been working on

[android-developers] Re: Tips or links for efficient low CPU threads?

2012-05-25 Thread RLScott
As long as your thread has something to do then it will do it, unless some other thread has something to do. The only way to save on battery power is to have all the threads waiting for external events, which is normally the case for user interface threads. Even background worker threads are

[android-developers] SocketTimeoutException

2012-05-25 Thread yikaikai
hi, all I have a receive thread run endless to get video stream from network, but after a while I got the error message: 05-25 08:50:16.421: W/System.err(1072): java.net.SocketTimeoutException 05-25 08:50:16.421: W/System.err(1072): at

Re: [android-developers] Support Package for Property animation for Android version 2.2

2012-05-25 Thread Nikolay Elenkov
On Fri, May 25, 2012 at 4:21 PM, Reji Joseph r...@ileafsolutions.com wrote: Hi, I am developing and android application which needs some animations beyond tween and frame by frame. I have noticed the new Property animation is  good for smooth transition of objects. Is there any support

[android-developers] Re: Tips or links for efficient low CPU threads?

2012-05-25 Thread RLScott
Matt, are you sure the perceived slowdown in UI responsiveness is due to this low-priority thread? The slowdown might be due to action taken by higher priority threads (like the main UI thread) in response to your worker thread. One other thing you could try is to put lots of Thread.yield()

Re: [android-developers] Help on Extracting a string from View in Android coding

2012-05-25 Thread Arithy M.V
First of all, how to print this View onto the screen without using the LinearLayout object. Can anyone help me on that first? i.e, View v= (View) record.getView(this, inflater, content, i) ; // stores the View of the data that i need to print How to print it..? On Fri, May 25, 2012 at 2:23

Re: [android-developers] Why the CTS Resutls are different with same devices, same android source code and different Wireless AP

2012-05-25 Thread Mark Murphy
This list is for developing with the Android SDK. Questions on working with the CTS and firmware can be answered on http://source.android.com and the Google Groups listed there. On Wed, May 23, 2012 at 4:00 AM, pinglunliao pinglunl...@gmail.com wrote: Dear All: I followed the CTS instruction

Re: [android-developers] Help on Extracting a string from View in Android coding

2012-05-25 Thread Mark Murphy
On Fri, May 25, 2012 at 1:02 AM, Arithy mvari...@gmail.com wrote: I've been working on android coding recently and I'm stuck up at this situation. Here is the code that sets up the View and prints the string that is present in the View. content.addView (record.getView

Re: [android-developers] getting problem while dealing with maps..........

2012-05-25 Thread Mark Murphy
On Thu, May 24, 2012 at 10:29 AM, thirupathi g gthirupat...@gmail.com wrote: I have created basic map application but Iam getting grey boxes in the emulator... and Iam gettting Couldnt get connection factory client in log cat That is not an error, IIRC. Moreover, everybody gets that, with

Re: [android-developers] About DataBase

2012-05-25 Thread Narendra Singh Rathore
On Thu, May 24, 2012 at 5:35 PM, Anil Kumar vishnupriyaa...@gmail.comwrote: My problem is i created the database in my project and i successfully added the data in my database ... but after installing the apk in my mobile ... i dint get the values Once again i need to add alll my

Re: [android-developers] Support Package for Property animation for Android version 2.2

2012-05-25 Thread Reji Joseph
Thanks for this.I think it wil be helpfull. On Friday, May 25, 2012 2:35:35 PM UTC+5:30, Nikolay Elenkov wrote: On Fri, May 25, 2012 at 4:21 PM, Reji Joseph r...@ileafsolutions.com wrote: Hi, I am developing and android application which needs some animations beyond tween and

Re: [android-developers] Re: CheckBoxPreference.setChecked() doesn't take effect in Activity Test

2012-05-25 Thread raju
hi ira han, in order to provide the action to the check box u need to provide the action listners oncheckedchange *listener* i tink u need to provide action to the check box r8 it will work we have different approaches as well On Thu, May 24, 2012 at 3:01 PM, imran ali imran...@gmail.com

Re: [android-developers] Enable NFC Polling when Device is Locked

2012-05-25 Thread Marcin Orlowski
IIRC it's by design: http://developer.android.com/guide/topics/nfc/nfc.html: Android-powered devices are usually looking for NFC tags when the screen is unlocked Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... *Date In Tray*

Re: [android-developers] Which is better, one trigger receiver and multiple services -- or -- one trigger receiver per service.

2012-05-25 Thread James Black
Are these running in the same process as the main activity or remotely? But, it seems that you are asking if you should have five separate services and simpler logic or slightly more complex in one. Unless sufficiently complex I would go with one service and see later if more are needed. On May

Re: [android-developers] About DataBase

2012-05-25 Thread James Black
Or store the initial data in a resource file, then read it in and create/populate the database. On May 25, 2012 7:23 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: On Thu, May 24, 2012 at 5:35 PM, Anil Kumar vishnupriyaa...@gmail.comwrote: My problem is i created the database in my

Re: [android-developers] Menu from GLSurfaceView

2012-05-25 Thread Marcin Orlowski
if you need own menu (drawn on surface) then your event listener have to tell the rendered to draw one when all criterias are met (and you have to make own menu of course) Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... *Date In Tray*

Re: [android-developers] getting problem while dealing with maps..........

2012-05-25 Thread thirupathi g
thanks for ur reply On Fri, May 25, 2012 at 4:46 PM, Mark Murphy mmur...@commonsware.comwrote: On Thu, May 24, 2012 at 10:29 AM, thirupathi g gthirupat...@gmail.com wrote: I have created basic map application but Iam getting grey boxes in the emulator... and Iam gettting

[android-developers] Re: Can I launch an Android Application from Linux service?

2012-05-25 Thread JP
Interesting question. I would think no, at least to directly, because as a Linux service (process), your process is running outside of Android's Activity management, so sending/receiving Intents to trigger activities such as launching an Android app wouldn't work. One approach would be to try to

Re:: [android-developers] Re: Can I launch an Android Application from Linux service?

2012-05-25 Thread Kostya Vasilyev
What about using am? 25.05.2012 17:47 пользователь JP joachim.pfeif...@gmail.com написал: Interesting question. I would think no, at least to directly, because as a Linux service (process), your process is running outside of Android's Activity management, so sending/receiving Intents to

[android-developers] Re: multithread sync problem

2012-05-25 Thread blake
I haven't looked carefully but I suspect that you want notifyAll() instead of notify() G. Blake Meike Marakana The second edition of Programming Android is now on-line: http://shop.oreilly.com/product/0636920023005.do On May 24, 8:05 pm, yikaikai yikai...@gmail.com wrote: I have two thread,

[android-developers] Adding paths in make files

2012-05-25 Thread marie
Hi, During my PhD project, I added two files (.c and .h) into taindroid vm folder : /tdroid/tdroid-2.3.4_r1/ dalvik/vm My question is should I add them into make files /tdroid/ tdroid-2.3.4_r1/dalvik/vm/Android.mk and /tdroid/tdroid-2.3.4_r1/ dalvik/vm/Dvm.mk? If not, where exactly should I add

[android-developers] permission to access another apk's assets/ directory

2012-05-25 Thread Latimerius
Hi all, I'm slightly confused about when applications are allowed to access other applications' data. I believe I've read all relevant parts of the Dev Guide like the Security and Permissions article or android:sharedUserId and signature-level permissions documentation but after running some

[android-developers] Re: multithread sync problem

2012-05-25 Thread blake
After looking more carefully, I note that the code you supplied did not produce the log you supplied. I think you should consider rewriting this code using the tools in java.util.concurrent. You probably want a Semaphore and an Exchanger. G. Blake Meike Marakana The second edition of

[android-developers] Re: Access intent filter action directly from AndroidManifest

2012-05-25 Thread blake
Are you trying to start arbitrary applications? I'm not sure how you might do that. What information do you have about the app you are trying to start? TreKing is just right. If you are trying to make it so that *your* app can be launched, you just need to publish the intent that will launch

[android-developers] Re: noob developer, application keeps restarting

2012-05-25 Thread blake
You are going to have to preserve your state either in that Bundle that you get in onCreate or somewhere on the file system. As several other people on this thread have pointed out, you can't control the lifecycle of your process and, by extension, your static finals. Nor, btw, should you try.

[android-developers] turning mobile data off and on again

2012-05-25 Thread dashman
is there a way to turn mobile data OFF and ON again. -- 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] Re: Tips or links for efficient low CPU threads?

2012-05-25 Thread blake
This is a really great question. Reducing the priority on a thread may not do, at all, what you expect. I don't know exactly what it does, myself, but my interest has been peaked, recently, to the point where I'm about to dig in and find out. The answer is going to be in the Linux scheduler. I

Re: [android-developers] Re: Can I launch an Android Application from Linux service?

2012-05-25 Thread Kristopher Micinski
I believe this problem arises quite a bit in firmware modifications: how to interface with the Android package manager from a service (linux). You might try asking on [android-porting] or [android-platform], etc... kris On Fri, May 25, 2012 at 9:46 AM, JP joachim.pfeif...@gmail.com wrote:

Re: [android-developers] Re: Tips or links for efficient low CPU threads?

2012-05-25 Thread Kristopher Micinski
The Android scheduler also does some things on top of the plain old Linux scheduler, FYI. kris On Fri, May 25, 2012 at 11:28 AM, blake blake.me...@gmail.com wrote: This is a really great question. Reducing the priority on a thread may not do, at all, what you expect.  I don't know exactly

Re: [android-developers] Adding paths in make files

2012-05-25 Thread Kristopher Micinski
android-kernel, or android-platform for this question. kris On Fri, May 25, 2012 at 10:19 AM, marie marmoh...@gmail.com wrote: Hi, During my PhD project, I added two files (.c and .h) into taindroid vm folder : /tdroid/tdroid-2.3.4_r1/ dalvik/vm  My question is should I add them into make

Re: [android-developers] what is the minimal memory needed to download android source code?

2012-05-25 Thread Justin Anderson
http://source.android.com/source/downloading.html Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, May 23, 2012 at 9:39 PM, thinke365 thinke...@gmail.com wrote: since the network connection here is not so stable, so i got a vps to download

Re: [android-developers] Activity fields being reallocated

2012-05-25 Thread Justin Anderson
Implement OnSaveInstanceState() and OnResumeInstanceState() in your activity... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, May 23, 2012 at 12:13 PM, Timothy McColgan tmccolga...@gmail.comwrote: I have an Activity that has a field which is an

Re: [android-developers] Android Network Polling Rate

2012-05-25 Thread Robert Greenwalt
I don't think this poll is what you think it is. It's not busy waiting for data and it doesn't have a rate. In fact it's the reverse (badly named?). See http://linux.die.net/man/2/poll R On Thu, May 24, 2012 at 10:05 AM, Mike Fagan michael.j.t.fa...@gmail.comwrote: Hello All! I am new to

Re: [android-developers] Using Android app to login into a website and register if a new member

2012-05-25 Thread Justin Anderson
1. Create your login layout for your Android app 2. Create web services that can be accessed by your Android application... This will allow you to pass the username/password to the web service and it can give a result telling you whether it was successful or not 3. Create web

Re: [android-developers] soft keyboard not showing

2012-05-25 Thread Justin Anderson
in my layout xml i have a stubview. the layout that replaces the stubview has a EditText view inside. but when i inflate stubview, the soft keyboard doesn't show automagically. Does the keyboard show when you tap inside the EditText? That is the default keyboard behavior... Thanks, Justin

Re: [android-developers] Create custom SeekBar with dynamic text over the thumb

2012-05-25 Thread Justin Anderson
What have you tried so far? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, May 23, 2012 at 9:02 AM, Vlade_lp_mk gorgievski.vladimi...@gmail.com wrote: Please help me with this!!! I'm trying and trying to make this custom SeekBar and everything

[android-developers] How to handle dismiss of DialogFragment (support lib) while app is in background

2012-05-25 Thread Chuck Krutsinger
I have an AsyncTask that may need to dismiss a FragmentDialog upon successful completion. In a regular Activity, the dismissDialog() method correctly handled removing a dialog even if the app was in the background. However, using a FragmentActivity and a FragmentDialog, there is no

[android-developers] Voice Actions: can commands be overridden?

2012-05-25 Thread bsquared
Hello, Is it possible to override the voice actions to either change the activity run for a command or introduce a new command? Long click on Search button. Voice Search dialog opens and ... Example. Open an app other than Navigation when the key phrase navigate to are recognized. OR Example.

[android-developers] Re: permission to access another apk's assets/ directory

2012-05-25 Thread RichardC
I think apk(s) are world readable. Try accessing the other applications private data location. On Friday, May 25, 2012 3:31:39 PM UTC+1, Latimerius wrote: Hi all, I'm slightly confused about when applications are allowed to access other applications' data. I believe I've read all

[android-developers] Thumbnails and picking picasa images from gallery on ICS

2012-05-25 Thread Thomas Fjellstrom
I'm having a hard time getting Thumbnails.getThumbnail to work with picasa photos on a Nexus S running ICS. Everything else seems to work including getting the original image from picasa and displaying it, but the getThumbnail doesn't seem to work. I'm getting the following errors when attempting

Re: [android-developers] Implementing Google Maps into Android 2.3.3 platform app

2012-05-25 Thread TreKing
On Wed, May 23, 2012 at 11:10 PM, Andrew Liu ahl...@gmail.com wrote: I'm trying to add a google map into my app.. Do I need to use the Google API? is there a way to keep my platform without switching? Can I switch? Is there a difference if I switch over to Google API? I've added

[android-developers] Avoid handling of intent twice

2012-05-25 Thread pbuda
Hello, I have a small issue. I have one activity which handles the ACTION_SEND intent. Everything works as expected, however when orientation changes, the intent is handled again. What should I do to handle it only once? I'm android noob so I might have missed some important thing in docs but I'd

Re: [android-developers] Voice Actions: can commands be overridden?

2012-05-25 Thread TreKing
On Fri, May 25, 2012 at 1:11 PM, bsquared bwcod...@gmail.com wrote: Is it possible to override the voice actions to either change the activity run for a command or introduce a new command? No, I don't think so. It's a dedicated app, not a part of the OS, and does not appear to be extensible.

Re: [android-developers] Avoid handling of intent twice

2012-05-25 Thread TreKing
On Fri, May 25, 2012 at 4:04 PM, pbuda pib...@gmail.com wrote: Everything works as expected, however when orientation changes, the intent is handled again. Can you be more specific? Like the sequence of events that occur and what you see in your code when the intent is handled again?

[android-developers] Re: Avoid handling of intent twice

2012-05-25 Thread pbuda
That's more or less what I have. The doSomething() method is called for the second time when orientation changes because activity is recreated. public class MyActivity extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-developers] Menu button deprecated in 3.0

2012-05-25 Thread RLScott
I just found out that the menu button is deprecated starting with Android 3.0, and that some Android devices do not even have a menu button. My app targets Android 2.2 and uses the menu function quite a bit. Is it really possible that someone with a 3.0 or later device might not be able to

Re: [android-developers] Re: Avoid handling of intent twice

2012-05-25 Thread TreKing
On Fri, May 25, 2012 at 4:38 PM, pbuda pib...@gmail.com wrote: My question then is whether there's any common practice to prevent handling of that intent again. If your activity is re-created, the Bundle passed to it will be non-null. Check for that.

Re: [android-developers] Menu button deprecated in 3.0

2012-05-25 Thread Justin Anderson
Users will still be able to access the menus on devices running Honeycome and ICS... There is a compatibility icon that shows up on the ActionBar to access the menus. However, it is recommended that you update your app to actually use the ActionBar.

Re: [android-developers] Menu button deprecated in 3.0

2012-05-25 Thread TreKing
On Fri, May 25, 2012 at 5:45 PM, RLScott fixthatpi...@yahoo.com wrote: Is it really possible that someone with a 3.0 or later device might not be able to access my menus? It's unlikely the Android framework developers would break all apps in such a fashion. I believe there is a compatibility

[android-developers] Re: turning mobile data off and on again

2012-05-25 Thread JP
Programmatically, what ever ConnectivityManager offers. This requires proper permission (define in manifest) http://developer.android.com/reference/android/net/ConnectivityManager.html Then there's the option to send a user to Android's connectivity settings; like so:

[android-developers] Re: java.lang.UnsupportedOperationException: getBlob is not supported

2012-05-25 Thread Deepwinter
Here's a pastbin that describes the problem http://pastebin.com/hbxCdmLy On May 24, 7:34 pm, Deepwinter foundationservi...@gmail.com wrote: I want to return a BLOB as a row in a MatrixCursor, however I get the following error 05-24 19:20:42.850: E/AndroidRuntime(22661):

Re: [android-developers] Re: noob developer, application keeps restarting

2012-05-25 Thread Yan
I agree it may be dirty and icky, but its presumptuous to state that You should absolutely *should not* be doing this. There are many real-world situations where a program must be exited imediately or this call would not have been made available in the Android API. Perhaps you all don't

Re: [android-developers] Re: noob developer, application keeps restarting

2012-05-25 Thread Kristopher Micinski
On Fri, May 25, 2012 at 8:30 PM, Yan yinor...@gmail.com wrote: I agree it may be dirty and icky, but its presumptuous to state that You should absolutely *should not* be doing this. There are many real-world situations where a program must be exited imediately or this call would not have been

Re: [android-developers] Re: noob developer, application keeps restarting

2012-05-25 Thread Kristopher Micinski
Along with this, this topic takes the one of the top in the Android tag on StackOverflow, http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon/2034238#2034238 kris On Fri, May 25, 2012 at 8:37 PM, Kristopher Micinski krismicin...@gmail.com wrote: On Fri, May

Re: [android-developers] Re: noob developer, application keeps restarting

2012-05-25 Thread Mark Murphy
On Fri, May 25, 2012 at 8:30 PM, Yan yinor...@gmail.com wrote: I agree it may be dirty and icky, but its presumptuous to state that You should absolutely *should not* be doing this. Not particularly. There are many real-world situations where a program must be exited imediately or this call

Re: [android-developers] permission to access another apk's assets/ directory

2012-05-25 Thread Mark Murphy
On Fri, May 25, 2012 at 10:31 AM, Latimerius l4t1m3r...@googlemail.com wrote: Am I messing up somewhere, or is this the expected outcome? You believe that all data is created equal. :-) While egalitarian, it is inaccurate. You appear to be conflating: -- resources assets -- internal storage --

[android-developers] Re: Voice Actions: can commands be overridden?

2012-05-25 Thread bsquared
On May 25, 2:05 pm, TreKing treking...@gmail.com wrote: On Fri, May 25, 2012 at 1:11 PM, bsquared bwcod...@gmail.com wrote: Is it possible to override the voice actions to either change the activity run for a command or introduce a new command? No, I don't think so. It's a dedicated app,

Re: [android-developers] Re: Voice Actions: can commands be overridden?

2012-05-25 Thread TreKing
On Fri, May 25, 2012 at 8:45 PM, bsquared bwcod...@gmail.com wrote: What source do you have that indicates it's deprecated? None. But then again, I didn't say anything about deprecated. I said it was a dedicated app. Also, I have seen references to a receiver for 'listen to' that can be

[android-developers] starting avd fails, saying it can't find emulator, but it exists

2012-05-25 Thread David Karr
0 down vote favorite share [g+] share [fb] share [tw] I've installed the SDK on Ubuntu 12.0.4. I started up the SDK manager and updated several packages. I ran the avd manager and tried to create an avd, but it just failed with no information. I then tried to create the avd from the command

[android-developers] Application temporarily free

2012-05-25 Thread Hilario Perez Corona
I'm gonna explain what i have: 1. A free Lite version of my application 2. A full paid version of my application (.99 USD) Both applications have different package names. Now, what i want to do, is publish my full paid application for free for a limited time only. I've been reading a lot for

Re: [android-developers] Application temporarily free

2012-05-25 Thread Justin Anderson
Use in-app purchasing... On May 25, 2012 9:48 PM, Hilario Perez Corona hpcor...@gmail.com wrote: I'm gonna explain what i have: 1. A free Lite version of my application 2. A full paid version of my application (.99 USD) Both applications have different package names. Now, what i want to

Re: [android-developers] Application temporarily free

2012-05-25 Thread Hilario Perez Corona
I don't understand how in-app purchasing will solve the problem...? I want the user to be able to get the full-complete-unlimited version during a time period, so the user that downloads the app during that time frame can keep the full-complete-unlimited version forever... Can that be achieved