Re: [android-developers] Re: Where do you aim for design specs?

2012-04-24 Thread bhaskar bommala
Hi , How can we design layouts for all screen sizes like from 320 width to 1280 etc.. Thanks in Advance On Mon, Oct 31, 2011 at 10:27 AM, Belvedere Computer Services fa829...@gmail.com wrote: Any thoughts on this topic are welcome okay, this is your thread so shield me if i need it 1]

Re: [android-developers] Re: Where do you aim for design specs?

2012-04-24 Thread David Olsson
Hi, Don't hijack other peoples questions. Second, use google and you would find: http://developer.android.com/guide/practices/screens_support.html On Tue, Apr 24, 2012 at 8:53 AM, bhaskar bommala bhaskar...@gmail.comwrote: Hi , How can we design layouts for all screen sizes like from 320

Re: [android-developers] Totally transparent, always-on-top, clickable, dialog during incoming / outgoing calls

2012-04-24 Thread deb-account
On 18/04/12 19:41, José Pacheco wrote: Hello all, I am new to Android. Take time to read this: http://developer.android.com/guide/topics/ui/themes.html -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] AsyncTask in Android 4.0

2012-04-24 Thread RichardC
Will this change break CursorLoader in multi-fragment Activities? If I have an Activity with 2 Fragements, each fragment using a CursorLoader to load its own data. CursorLoader is derived from AsyncTaskLoader which uses AsyncTask to do the work which includes monitoring for data changes

[android-developers] how to install applet by OTA On Android phone?

2012-04-24 Thread 何斌斌
HI All: Now I'm operating the SE of PN65N chip, but I don't know how to install applet to SE by OTA, Can anyone help me? Thanks very much. -- binbin he Mobile: +86-18616626972 Msn: hbbs...@hotmail.com -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Registration ID

2012-04-24 Thread EhyehAsherEhyeh
Presumably there is some two-way communication between Google's servers and the device, so server-side will know whether a device is available to receive the message and fire off a registration intent. Bottom line: I would think Google would be capable enough to realize the issue and handle it, so

[android-developers] caurosel demo...?

2012-04-24 Thread Abhilash baddam
Hi, I have implemented caurosel demo which is working fine but when I am using with 11 images in that, I am not getting proper position of particular item in that view. Always I am getting position of item as Zero. Can anybody help me on this issue -- You received this message because you are

[android-developers] Re: Registration ID

2012-04-24 Thread ndiiie90
Hey thanks for your reply Appreciate it very much! Rendy On Apr 24, 4:16 pm, EhyehAsherEhyeh jacobsen.ar...@gmail.com wrote: Presumably there is some two-way communication between Google's servers and the device, so server-side will know whether a device is available to receive the message

[android-developers] styling a searchview widget

2012-04-24 Thread Lars
Is it possible to create a style extending the holo.light.darkactionbar Theme for my searchview widget? because the style for that theme doesn't exist. -- 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] How to check whether connected wifi network is secured or not

2012-04-24 Thread Bunty syed
Hi Guys, I have one query. Actually I want my app to make network call only if device is connected to secured wifi network which requires authentication I am using following code... WifiManager wifi =(WifiManager) getSystemService(Context.WIFI_SERVICE); if(wifi !=

Re: [android-developers] AsyncTask in Android 4.0

2012-04-24 Thread Mark Murphy
On Tue, Apr 24, 2012 at 4:18 AM, RichardC richard.crit...@googlemail.com wrote: Will this change break CursorLoader in multi-fragment Activities? CursorLoader uses the THREAD_POOL_EXECUTOR, last I checked. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] ListView addHeader(View) problem control image enhancement

2012-04-24 Thread Mark Murphy
On Mon, Apr 23, 2012 at 10:45 PM, Jim Graham spooky1...@gmail.com wrote: Why would setting the text of the TextView the second time cause a force close (caused by a null pointer exception, where the string being assigned was not null)? Either: -- The value t is null, or -- The exception did

Re: [android-developers] How to check whether connected wifi network is secured or not

2012-04-24 Thread Mark Murphy
On Tue, Apr 24, 2012 at 6:40 AM, Bunty syed itsmeatfo...@gmail.com wrote: But there are no APIS available in the WifiInfo  to check the security protocol like  security type ,encryption type or password authentication required or not for the currently active wifi network. WifiInfo does not,

Re: [android-developers] how to make real full screen app on android 4.0.3?

2012-04-24 Thread Baodong Chen
在 2012年4月22日星期日UTC+8下午4时23分48秒,Slay3r写道: Oops typo in my previous post should be; ActionBar actionbar = getActionBar(); actionbar.hide(); thats as close to fullscreen as you can get on a tablet i believe.. thanks , i will try ! Sent from my ASUS Eee Pad Baodong Chen

[android-developers] Re: Java API for libjpeg / libpng

2012-04-24 Thread Kike
Doesn't anybody know about this? -- 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

Re: [android-developers] Re: Java API for libjpeg / libpng

2012-04-24 Thread Mark Murphy
On Tue, Apr 24, 2012 at 7:50 AM, Kike lapuente.enri...@gmail.com wrote: Doesn't anybody know about this? Have you considered using a search engine? Your answers come in the first five Google hits on: java (libjpeg OR libpng) -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] ListView addHeader(View) problem control image enhancement

2012-04-24 Thread Jim Graham
On Tue, Apr 24, 2012 at 07:02:52AM -0400, Mark Murphy wrote: which is why we keep asking developers to post stack traces rather than just exception names Which would have been a lot easier to do, if I had it. Like I said, I'd tried it earlier, and when it didn't work, just deleted it

[android-developers] Scan Slider action be applied on a view.

2012-04-24 Thread tarun sablok
I have a Relative Layout view with layout_gravity = bottom... and it has 3 images one on the left , one middle and one on the right and it occupies approximately 1\6 th of the screen in the bottom . Now i want that when the user clicks on the RelativeLayout anywhere the layout should

[android-developers] How to read the PDF file through web services ?

2012-04-24 Thread kumar varma
Hi, I am new to Android,can any one suggest me how to solve the below issue. 1.Sending a pdf file to client from server through web services in Android I fallowed this link but I am unable to get the output on screen.

Re: [android-developers] Scan Slider action be applied on a view.

2012-04-24 Thread Justin Anderson
Use SlidingDrawer... http://developer.android.com/reference/android/widget/SlidingDrawer.html Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 24, 2012 at 6:54 AM, tarun sablok tarun.sab...@gmail.comwrote: I have a Relative Layout view with

Re: [android-developers] caurosel demo...?

2012-04-24 Thread Justin Anderson
I have implemented caurosel demo which is working fine but when I am using with 11 images in that, I am not getting proper position of particular item in that view Bummer... Always I am getting position of item as Zero. Can anybody help me on this issue Not without some relevant code to

[android-developers] [android developers] how to use a viewpager in a fragment?

2012-04-24 Thread Russell
Now i am stucked in a problems. I post it on stackoverflow, but not got an answer. could anbody help me, it's kind of emergency. the question is : http://stackoverflow.com/questions/10299837/how-to-use-a-viewpager-in-a-fragment Thx! -- You received this message because you are subscribed to

Re: [android-developers] ListView addHeader(View) problem control image enhancement

2012-04-24 Thread Kostya Vasilyev
24 апреля 2012 г. 16:33 пользователь Jim Graham spooky1...@gmail.comнаписал: Which would have been a lot easier to do, if I had it. Like I said, I'd tried it earlier, and when it didn't work, If the exception happens while you're debugging, Eclipse will stop at some seemingly random place

Re: [android-developers] Set Ringtone

2012-04-24 Thread jadranko bodiroga
Tried solutins and ideas in a link you sent...in the both solutios thay are placing song on card and read it from it.but i whant to set ringtone from song that i inport in my activity in R.drawable.song...that solution i whant...did you try make app to set ringtone? On Apr 23, 2012 9:34 PM,

Re: [android-developers] ListView addHeader(View) problem control image enhancement

2012-04-24 Thread Jim Graham
On Tue, Apr 24, 2012 at 06:32:13PM +0400, Kostya Vasilyev wrote: If the exception happens while you're debugging, Eclipse will stop at some seemingly random place (the corresponding catch block) and at that point, there won't be a stack trace in the logcat yet. I use the logcat directly from

Re: [android-developers] How to check whether connected wifi network is secured or not

2012-04-24 Thread Chris Stratton
On Tuesday, April 24, 2012 7:08:06 AM UTC-4, Mark Murphy (a Commons Guy) wrote: On Tue, Apr 24, 2012 at 6:40 AM, Bunty syed wrote: But there are no APIS available in the WifiInfo to check the security -- WifiConfiguration tells you what was possible, not what was negotiated for this

Re: [android-developers] Set Ringtone

2012-04-24 Thread Kristopher Micinski
So take your file, put it somewhere in storage, and then set the URI appropriately. Kris On Tue, Apr 24, 2012 at 10:40 AM, jadranko bodiroga jadrankobodiroga1...@gmail.com wrote: Tried solutins and ideas in a link you sent...in the both solutios thay are placing song on card and read it from

[android-developers] Re: [android developers] how to use a viewpager in a fragment?

2012-04-24 Thread Nadeem Hasan
I use Fragments+ViewPager+ViewPageIndicator in my app. Hope you would find it helpful: https://github.com/nhasan/Airports/blob/master/src/com/nadmm/airports/wx/WxDetailActivity.java https://github.com/nhasan/Airports/blob/master/src/com/nadmm/airports/utils/TabsAdapter.java

Re: [android-developers] Set Ringtone

2012-04-24 Thread jadranko bodiroga
But if i whant to send my app to friend ,i have to copy him that song too on specific location,is it? Than i can not share my app to others,becouse app will not find song...that is a reason i whant to import song into my activity... On Apr 24, 2012 5:10 PM, Kristopher Micinski

Re: [android-developers] Set Ringtone

2012-04-24 Thread Kristopher Micinski
What are you even talking about...? You can take the file out of shared resources and store it in storage, distributing the app with the file in resources.. Kris On Tue, Apr 24, 2012 at 11:48 AM, jadranko bodiroga jadrankobodiroga1...@gmail.com wrote: But if i whant to send my app to friend ,i

Re: [android-developers] Persistent build error

2012-04-24 Thread Justin Anderson
*ANY* ideas are highly appreciated! :) Use Eclipse... :-) Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Apr 23, 2012 at 9:17 PM, Luiz Santos luiz.h@gmail.com wrote: *ANY* ideas are highly appreciated! :) -- You received this message

Re: [android-developers] As a first step a bitmap image to a field blod

2012-04-24 Thread Justin Anderson
Byte [] imagenB = bmp.toString ()). GetBytes () You want to convert the bitmap to a string? And then you want to get the bytes in the string? That doesn't make sense. What you need to do is create an OutputStream and then use Bitmap's compress method:

Re: [android-developers] How can i kill self process?

2012-04-24 Thread Justin Anderson
I got a service runing it's own process and when i stop the service from the app activity the service dies but the process holding the service stay's alive and dos not end. Your point would be? I wanna kill the process from the service's onDestroy() function. No, you don't... Can i do

Re: [android-developers] GridView---problem to get item on touch

2012-04-24 Thread Justin Anderson
when I touched (2,2),I should get (2,2) but I got item of (3,2) . If you take out everything you are doing with your gesture listener, do you have the same problem? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 17, 2012 at 8:19 PM,

Re: [android-developers] what's layout-sw680dp-w1000dp means?

2012-04-24 Thread Justin Anderson
It is just combining configuration qualifiers... You can do the same thing for other res directories as well... For example, I have a drawable-xlarge-mdpi folder... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 17, 2012 at 7:19 AM, Gink

[android-developers] Synchronization issue caused by drawing to Canvas in a non-ui thread?

2012-04-24 Thread Ab
My app has a layout that contains some ImageButtons. In addition, my app renders some Bitmapsfor later use. The Bitmaps are rendered by creating a Canvas with a Bitmap parameter, and then drawing into the canvas. This Bitmap rendering task occurs in a non-ui thread, so the gui can

[android-developers] Re: Synchronization issue caused by drawing to Canvas in a non-ui thread?

2012-04-24 Thread Ab
The LOCK in the ImageButton draw code was unintentional. I had added this for debugging (to see if the issue happened if I ensured that the RenderTask and ImageButton.draw() waited on each other); this did prevent the issue, but is definitely not a desirable solution. On Tuesday, 24 April

[android-developers] HttpClient and Thread Pool - stale connections?

2012-04-24 Thread Nathan
I've been using a threadpool to download a set of independent files. I use an ExecutorService and call execute() on a singleton HttpClient similar to AndroidHttpClient. All is going fairly well. However, I see one behavior that is fairly consistent on my Galaxy Tab 10.1 with Android 3.1.

[android-developers] Default Launcher Lifecycle

2012-04-24 Thread Josh
Does Android ever stop the default launcher in order to free up resources? -- 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] web service android

2012-04-24 Thread saida gzem
i'm calling web service and i'm getting my soapobject response like that: response{ errMesg=null; Id=54512; Article=article{id=898;Name=bej;DateArtic=2010/12/15;}; Article=article{id=800;Name=saij;DateArtic=2011/12/15;};

Re: [android-developers] Set Ringtone

2012-04-24 Thread jadranko bodiroga
How to do that...give me some example... On Apr 24, 2012 6:18 PM, Kristopher Micinski krismicin...@gmail.com wrote: What are you even talking about...? You can take the file out of shared resources and store it in storage, distributing the app with the file in resources.. Kris On Tue,

[android-developers] Re: Synchronization issue caused by drawing to Canvas in a non-ui thread?

2012-04-24 Thread Nathan
Yes, indeed there are potential synchronization issues. I've done some of this myself. You may want to use something like: java.util.concurrent.locks.ReentrantLock; Lock, draw to, and then release. Lock, draw from, and then release. This can work if you are sure you are locking it only

Re: [android-developers] Set Ringtone

2012-04-24 Thread Kristopher Micinski
Did you try googling access file from resources android? This comes up: http://stackoverflow.com/questions/4081763/access-resource-files-in-android kris On Tue, Apr 24, 2012 at 1:34 PM, jadranko bodiroga jadrankobodiroga1...@gmail.com wrote: How to do that...give me some example... On Apr

Re: [android-developers] Set Ringtone

2012-04-24 Thread jadranko bodiroga
THANKS MAN..I WILL TRY THAT TO IMPORT TO MY APP..if i manage i will share code... On Apr 24, 2012 7:53 PM, Kristopher Micinski krismicin...@gmail.com wrote: Did you try googling access file from resources android? This comes up:

[android-developers] Re: Synchronization issue caused by drawing to Canvas in a non-ui thread?

2012-04-24 Thread Ab
Unfortunately my RenderTask varies from about .5seconds - 5 seconds. So, it is very undesirable to either perform it on the UI thread, or to force the UI thread to wait on it. Any idea what causes the ImageButton.draw() to hang, its possible the hanging is preventable/fixable? On Tuesday,

Re: [android-developers] Set Ringtone

2012-04-24 Thread Justin Anderson
You may also want to use the assets folder: https://www.google.com/search?btnG=1pws=0q=android+move+file+from+assets+to+phone Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 24, 2012 at 11:56 AM, jadranko bodiroga

Re: [android-developers] RadioGroup OnClickListener

2012-04-24 Thread Narendra Singh Rathore
On Sun, Apr 15, 2012 at 10:42 PM, Mohamed Sobhy m.sobhy.9...@gmail.comwrote: So how come that RadioGroup class has a setOnClickListener but not a getOnClickListener? What can I use to go around this problem? What do you want to do with RadioGroup? If you want to get any particular

[android-developers] Re: Synchronization issue caused by drawing to Canvas in a non-ui thread?

2012-04-24 Thread Nathan
On Tuesday, April 24, 2012 10:58:43 AM UTC-7, Ab wrote: Unfortunately my RenderTask varies from about .5seconds - 5 seconds. So, it is very undesirable to either perform it on the UI thread, or to force the UI thread to wait on it. In that case, decide what you want to have happen. If

Re: [android-developers] Cannot change the visiblity of an imageview

2012-04-24 Thread Justin Anderson
View view = getListView().getAdapter().getView(0, null, null); That won't work... getView() is called by the system when it wants to add a view to be displayed in your listview. What you are doing here is essentially creating a new View and then not doing anything with it. What you should be

[android-developers] Re: HttpClient and Thread Pool - stale connections?

2012-04-24 Thread b0b
Aer you sure it isn't due to the network not fully connected yet after device resume from sleep ? -- 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

[android-developers] Re: HttpClient and Thread Pool - stale connections?

2012-04-24 Thread Nathan
On Tuesday, April 24, 2012 11:50:02 AM UTC-7, b0b wrote: Aer you sure it isn't due to the network not fully connected yet after device resume from sleep ? No I am not sure, but what do I do about it if so? The device does not seem asleep, and the screen hasn't dimmed, but that doesn't

Re: [android-developers] Scan Slider action be applied on a view.

2012-04-24 Thread tarun sablok
Sliding drawer will be hidden which i will have to drag out to the srceen but as I explained that I want a view to be displayed at the bottom of the screen which will be any layout ... and when i click that view it should come out as a drawer. On Tue, Apr 24, 2012 at 7:07 PM, Justin

[android-developers] Re: HttpClient and Thread Pool - stale connections?

2012-04-24 Thread b0b
No I am not sure, but what do I do about it if so? The device does not seem asleep, and the screen hasn't dimmed, but that doesn't mean the device won't get lazy about network connections. The wifi disconnect policy is set to never, but I know Android can ignore that. Ok it is very

Re: [android-developers] Scan Slider action be applied on a view.

2012-04-24 Thread Justin Anderson
Sliding drawer will be hidden which i will have to drag out to the srceen but as I explained that I want a view to be displayed at the bottom of the screen which will be any layout ... and when i click that view it should come out as a drawer. Unless I'm not understanding your

[android-developers] Re: Problem stripping Log calls with ProGuard

2012-04-24 Thread jtoolsdev
BTW, this method no longer works with the new scheme of using Proguard. Anyone know why? On Wednesday, March 9, 2011 5:29:50 AM UTC-8, Marcin Orlowski wrote: Hi, I try to strip all log calls from release app using proguard (-assumenosideeffects) i noticed not all is removed. Some cases

Re: [android-developers] Update ListView items using a timer

2012-04-24 Thread Justin Anderson
You need to change the data in the adapter, and then call notifyDataSetChanged() on the adapter. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sun, Apr 22, 2012 at 9:51 AM, Jbassking jbonav...@thebonavitas.comwrote: I have a ListView with a custom

[android-developers] Issues to add native service to ICS

2012-04-24 Thread fan zhang
Hi: I need to add a new native server and a native service moduel to Android ICS. I got the following issues to compile modules build/core/base_rules.mk:80: * build/core/base_rules.mk:81: * Each module must use a LOCAL_MODULE_TAGS in its build/core/base_rules.mk:82: * Android.mk.

Re: [android-developers] ndk, shared library's global variables persist

2012-04-24 Thread Justin Anderson
There is a google group for NDK development... you might have better luck on that forum. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 17, 2012 at 9:59 AM, Anatoliy Lysenko a.o.lyse...@gmail.comwrote: Hi, In my NDK project I have two

Re: [android-developers] Issues to add native service to ICS

2012-04-24 Thread Mark Murphy
This has nothing to do with this list, which is for developing applications with the Android SDK. Please visit http://source.android.com, click on the Community tab, and find a relevant list. On Tue, Apr 24, 2012 at 3:37 PM, fan zhang fzhang...@gmail.com wrote: Hi: I need to add a new

Re: [android-developers] Why my phone must connet the power that the APP can work well?

2012-04-24 Thread Justin Anderson
http://catb.org/esr/faqs/smart-questions.html Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 17, 2012 at 5:56 AM, kaixinyang 402707...@qq.com wrote: Why my phone must connet the power that the APP can work well? -- You received this

Re: [android-developers] Enable User Friendly keyboard based on input

2012-04-24 Thread Justin Anderson
User Friendly Keyboard based on input type, Is this a feature provide by os, or it is based on the browser or is it based on device? I don't really know what you are asking here... I'm going to go out on a limb and assume that this might help:

[android-developers] Re: HttpClient and Thread Pool - stale connections?

2012-04-24 Thread Nathan
Hmm. I'm not sure I can pin this on connection reuse. There is no keepalive header in the response. Based on that, DefaultConnectionReuseStrategy will return false and DefaultKeepAliveStrategy will return -1. Nathan -- You received this message because you are subscribed to the Google

Re: [android-developers] Persistent build error

2012-04-24 Thread Luiz Santos
Em terça-feira, 24 de abril de 2012 13h55min37s UTC-3, MagouyaWare escreveu: *ANY* ideas are highly appreciated! :) Use Eclipse... :-) Wish I could! haha Switching to Ubuntu, most likely... Thanks for answering, anyway :) -- You received this message because you are subscribed to the

[android-developers] android 3.x kernel

2012-04-24 Thread Jerrick Davis
Me and qnhoang81 have been talking and have come to the conclusion that it is essential to cm9 that it uses a Linux 3.x based Linux kernel and it would also be nice to have a Linux 3.0 overclocking kernel for the sph-m920 anyone interested in helping with this can email me at

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-24 Thread StarTraX
Thanks for your input to this, it's spurred me to further study. Re the GpsStatus object, that's a great suggestion but for the life of me, I can't get my SGS 11 to trigger the onStatusChanged event or to get anything from the GpsStatus object, so that's a bit annoying. But I'll press on.

[android-developers] Unpackaging APKs for ROM builds at initial startup

2012-04-24 Thread ivan
The application I am working on is being preinstalled with the OEM ROM builds. Consequently, the APK is packaged with a .so file that is traditionally placed in /system/lib. Unfortunately, the latest Ice Cream Sandwich builds of the ROMs contain the same exact .so file that is interacted with in

Re: [android-developers] Unpackaging APKs for ROM builds at initial startup

2012-04-24 Thread Mark Murphy
You might have better luck asking this on the android-ndk Google Group. On Tue, Apr 24, 2012 at 5:07 PM, ivan istas...@gmail.com wrote: The application I am working on is being preinstalled with the OEM ROM builds.  Consequently, the APK is packaged with a .so file that is traditionally placed

[android-developers] Re: Default Launcher Lifecycle

2012-04-24 Thread Josh
let me rephrase this... I have built a default launcher app that is specifically for the Samsung Galaxy Tab 10.1. I have launched many apps in order to have android call onDestroy() on my launcher app but I have not been successful in doing this. Does anyone know if Android ever calls

Re: [android-developers] web service android

2012-04-24 Thread James Black
This is not the correct forum as this deals with the android sdk, but you may want to look up soap or go to stackoverflow.com On Apr 24, 2012 1:31 PM, saida gzem gzemsa...@gmail.com wrote: i'm calling web service and i'm getting my soapobject response like that: response{

[android-developers] How we can get Panasonic Toughpad A1 SDK.

2012-04-24 Thread Srinivas Nainala
Could you help me to get Panasonic Toughpad A1 SDK, we would like to install and use it for emulator debugging/testing. We are targeting our application on Panasonic toughpad.We have already ICS latest version SDK and emulator. But instead of that we would like to use Panasonic SDK. BR

Re: [android-developers] How we can get Panasonic Toughpad A1 SDK.

2012-04-24 Thread Mark Murphy
On Tue, Apr 24, 2012 at 6:55 PM, Srinivas Nainala srito...@gmail.com wrote: Could you help me to get Panasonic Toughpad A1 SDK, we would like to install and use it for emulator debugging/testing. We are targeting our application on Panasonic toughpad.We have already ICS latest version SDK and

Re: [android-developers] AsyncTask in Android 4.0

2012-04-24 Thread Dianne Hackborn
On Tue, Apr 24, 2012 at 1:18 AM, RichardC richard.crit...@googlemail.comwrote: Will this change break CursorLoader in multi-fragment Activities? No. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to

[android-developers] Invisible tabs in android - is it possible?

2012-04-24 Thread Farhan Tariq
Is there a way to create an invisible tab in android, that would show up only when you press the menu button or something like that. I do not want it to show a separate tab in the tab bar, but when the menu button is pressed, I want it to show while the tab bar is also visible. Please guide me.

Re: [android-developers] Re: Default Launcher Lifecycle

2012-04-24 Thread Dianne Hackborn
onDestroy() generally doesn't get called to free up resourced; most usually processes are killed to accomplish this. The platform tries to keep the process hosting the home app running, so that pressing home won't take a long time to return to the launcher. Of course under enough memory stress

[android-developers] Re: Invisible tabs in android - is it possible?

2012-04-24 Thread Farhan Tariq
Oh, I figured that out. All I had to do was set the visibility to GONE. On Wed, Apr 25, 2012 at 5:48 AM, Farhan Tariq farhan@gmail.com wrote: Is there a way to create an invisible tab in android, that would show up only when you press the menu button or something like that. I do not want

Re: [android-developers] Radio buttons in list - need only one selectable button

2012-04-24 Thread Farhan Tariq
Sadly, there isnt much customization that I can do with it. I googled that up, and all seem to use android.R.layout.simple_list_item_single_choice layout for the purpose. I also came across checkedTextView, but I couldn't understand the theory behind. Can anyone please explain a little. Thanks in

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-24 Thread Andrew Gregory
1300ms ahead sounds odd. If it was behind I'd say it was just a reporting delay as part of the usual message processing, but ahead is weird. It's not GPS, but if you have an Internet connection, what about querying an NTP server? -- You received this message because you are subscribed to the

[android-developers] getInstalledPackages(PackageManager.GET_ACTIVITIES) - PackageManager has died!?

2012-04-24 Thread 3c
Here is a crash report I received today while my app runs: pm.getInstalledPackages(PackageManager.GET_ACTIVITIES); Can someone tell me how to resolve this? This call used to have the flag set to 0 without issues, but now one (maybe more) of my users is receiving this error preventing the use of

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-24 Thread Simon Platten
You need to enable RMC messages and then wait for a GPS lock, then enable ZDA messages these give a 1PPS message with a timestamp accurate to 1ms. On Apr 25, 2012 6:02 AM, Andrew Gregory andrew.greg...@gmail.com wrote: 1300ms ahead sounds odd. If it was behind I'd say it was just a reporting

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-24 Thread StarTraX
Hi Sy, Thanks for your input. If I understand you correctly, you are suggesting I look for a $GPZDA NMEA sentence. I have just checked the SiRF NMEA Manual and tried it. I'm getting RMC and GGA but no ZDA sentences on either my SGS 11 or HTC , both running 2.3.3. Am I missing something here?

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-24 Thread StarTraX
Yes I do and will give it a go. Ta. On Wednesday, April 25, 2012 3:01:33 PM UTC+10, andrewg_oz wrote: 1300ms ahead sounds odd. If it was behind I'd say it was just a reporting delay as part of the usual message processing, but ahead is weird. It's not GPS, but if you have an Internet

[android-developers] setPreviewCallback - onPreviewFrame returning byte array

2012-04-24 Thread Taylor Niver
I have a code that opens the camera and displays it to a SurfaceHolder. I then call onPreviewFrame which grabs the displayed image and stores the data as a byte array. I then TCPIP the info over to my computer which is where I hope to decode the array back into an image so I can do some