[android-developers] Implementing SDCARD multipled in android

2012-12-18 Thread kevin.park
Hi folks I has been tried to understand how mounting process is working in FROYO2.2 Nevertheless I has been confused to understand well Is there a book called How work in VOLD and Friends from bottom to top Because the engineer who are working other side of the company implemented multiple

[android-developers] How to fetch size of history of default browser,Google Maps, Android Market

2012-12-18 Thread Bajrang Asthana
I want to show the history size of all below item in KB- Default browser, Google Maps, Android Market However I have seen that BrowserActivity is showing cache size info. But How can I access it. Thanks in advance -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] shoeboxed? wtf?

2012-12-18 Thread Piren
I'm thinking this was because of some specific email thread that a user had that email.. so every time the list emailed him, we all got the error .. heh To make it worse, now i keep getting an email from msg.l...@gmail.com with the text A B .. what the hell is wrong with this list? hehe On

Re: [android-developers] How to sync development projects?

2012-12-18 Thread Piren
Only now i've understood what you're trying to accomplish... i've missed the part where you actually commit to the local repo. i understood it as if you're just working on your local files and then let the Shared folder sync them... not that you actually perform a Commit locally and then sync

Re: [android-developers] Re: How to launch my own GUI to handle incoming/outgoing call (instead of Default PHONE app)

2012-12-18 Thread Gaurav Wable
Why doesn't any developer give me solution..? On Friday, 7 December 2012 18:02:20 UTC+5:30, Gaurav Wable wrote: Thank you very much for your response. I am giving a brief idea about my problem: In my android application I used *TelephonyManager* to listen * PhoneState(Idle/Ringing/Offhook)

[android-developers] internal app can not import com.android.internal.xx?

2012-12-18 Thread futurexiong
I added an app in packages/apps in android build system and my app use some internal api.But when I use mm or mmm to make the app,android build system shows error:package com.android.internal.policy.impl does not exist etc.But I saw Phone app also uses internal api like com.android.internal.xx

[android-developers] How will combine download and then upload in a loop?

2012-12-18 Thread Antonis Kanaris
I make an Android application for download a variable from my webserver (use AsyncTask) and then send it to bluetooth.I make it with loop (handler,postdelayed).I make a receive function from bluetooth and display the insert new data temperature.I know how i upload i make a class and work in

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-18 Thread Goncalo Oliveira
Robert, The DNS server isn't disconnected, and resolves correctly mobile-gtalk.l.google.com TTL=222 A 173.194.78.188 However, the APN does not allow the connection. We might consider opening up the address (or addresses), but in that case I'll need more information on what comes through there

[android-developers] Re: std::map linker error ndk r8c with APP_STL := gnustl_static

2012-12-18 Thread rb
Does anybody have an idea of what I'm doing wrong? Il giorno martedì 11 dicembre 2012 11:00:31 UTC+1, rb ha scritto: Hi, I have some problem linking the STL in my Native application. Linking fails with both map::operator[] and map::insert while succeeds with other map functions. My

[android-developers] opengl - way to import model with predefined transitions

2012-12-18 Thread Dmitriy F
My client says that there's an animation constructed with some 3D design tool like Blender or 3D Max . What is the best scenario for importing that kind of animation. So far I've used [this tool][1] but it's only suitable for model importing. Thanks. [1]:

Re: [android-developers] Re: How to launch my own GUI to handle incoming/outgoing call (instead of Default PHONE app)

2012-12-18 Thread Douglas Drumond
Use the Source, Luke https://android.googlesource.com/platform/packages/apps/Phone/+/refs/heads/master/ Although it use a lot of private APIs, it will give you some ideas. -- Douglas Drumond http://drumond19.com On Tue, Dec 18, 2012 at 7:20 AM, Gaurav Wable gswa...@gmail.com wrote: Why

[android-developers] Speaker Problem

2012-12-18 Thread André Lima
- I have the permission MODIFY_AUDIO_SETTINGS declared - I use the following code to make a call with speaker ON AudioManager am = null; am = (AudioManager)getSystemService(Context.AUDIO_SERVICE); am.setMode(AudioManager.MODE_IN_CALL); am.setSpeakerphoneOn(true); The problem is: This works

Re: [android-developers] Dynamically selecting Map API version

2012-12-18 Thread lbendlin
Am I right to assume that using multiple APKs is not an option either as there is no OpenGL enabled filter for that? On Monday, December 17, 2012 5:11:46 PM UTC-5, Mark Murphy (a Commons Guy) wrote: On Mon, Dec 17, 2012 at 5:05 PM, lbendlin lu...@bendlin.us javascript: wrote: Thanks

Re: [android-developers] Dynamically selecting Map API version

2012-12-18 Thread Mark Murphy
On Tue, Dec 18, 2012 at 7:37 AM, lbendlin l...@bendlin.us wrote: Am I right to assume that using multiple APKs is not an option either as there is no OpenGL enabled filter for that? I am not an OpenGL expert nor a multiple-APK expert, but... The docs say that OpenGL ES 2.0 was made available

[android-developers] Re: Access cache size of browser activity

2012-12-18 Thread RichardC
http://developer.android.com/reference/android/content/pm/PackageStats.html On Tuesday, December 18, 2012 12:47:39 PM UTC, Bajrang Asthana wrote: I want to fetch cache size of browser activity. As we open info of any app from manage application there is one section which gives information

[android-developers] android ics icons

2012-12-18 Thread dashman
what's the link to the android ics icons. i'd like to add 1 or 2 to my app. i searched... -- 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

Re: [android-developers] android ics icons

2012-12-18 Thread Mark Murphy
They are in your Android SDK, in the platforms/ directory, as are icons for all other versions of Android for which you have downloaded the SDKs. On Tue, Dec 18, 2012 at 8:10 AM, dashman erjdri...@gmail.com wrote: what's the link to the android ics icons. i'd like to add 1 or 2 to my app. i

[android-developers] Re: Access cache size of browser activity

2012-12-18 Thread Bajrang Asthana
Thanks! The link provided by you describes the way to fetch the cache size. Can you please tell me how can I delete it from my app? As I can see Android provide this functionality from manage applications. On Tuesday, December 18, 2012 6:20:21 PM UTC+5:30, RichardC wrote:

[android-developers] Re: Further Mediacodec API issues in Jellybean

2012-12-18 Thread spartygw
I have yet to see a working example from anyone using MediaCodec. I hope I am wrong, but I think there's a reason why there are no working samples. All I've seen from Google is a powerpoint slide presentation by the head developer. No actual working code. On Thursday, December 13, 2012

[android-developers] Non blocking response from HTTP server

2012-12-18 Thread Archana
** I have implemented HTTP server(handling GET. POST and DELETE requests) in Android using sockets. In order to make the server non-blocking, I saw there is java.nio package http://developer.android.com/reference/java/nio/package-summary.html. The selector keys are accept, read or

Re: [android-developers] Re: Identifying HTTP Get requests in Android

2012-12-18 Thread Archana
I read using threads causes overhead, performance and scalability issues. It is efficient if there are a limited number of clients. So I think using java.nio would be the best option. Any example that shows handling the HTTP methods without blocking. On Monday, December 17, 2012 7:06:00 PM

[android-developers] Re: Is it possible to reduce the variability of camera shutter lag time?

2012-12-18 Thread spartygw
Rewrite the app to capture camera preview frames and you can process the frames yourself without having to take a picture. On Monday, July 30, 2012 2:55:52 PM UTC-4, greg wrote: Given a known periodic motion (e.g., walking), I'd like to take a full resolution snapshot at the same point in

[android-developers] Intercept an app

2012-12-18 Thread Lucas Diego
Hi everyone! Is it possible to intercept an app to launcher, in order to ask a password before? Like ZDBox ( https://play.google.com/store/apps/details?id=com.zdworks.android.toolboxhl=en) does? I created my onw launcher and there are some apps that I don't want to be opened, only if the user

[android-developers] Android Issue

2012-12-18 Thread Shubham Aggarwal
recently, I developed an android application which is working very fine on my phone Samsung Galaxy Ace. I gave the demo of my application on youtube which is working fine. The link is here: https://www.youtube.com/watch?v=TfTeUP8Cdkc Some effects are created just using android library But a

[android-developers] How i getting a value out of the function?

2012-12-18 Thread Antonis Kanaris
Hello.I make an apk for listen bluetooth and i want to get value data from function ListenBt() to pass to another function upload().I make public final string data but no work!Any help? public class Activity2 extends Activity { public String strValue; public String strValue2;

[android-developers] Re: How i getting a value out of the function?

2012-12-18 Thread bob
Change this: final String data = new String(encodedBytes, US-ASCII); to this: *data = new String(encodedBytes, US-ASCII);* On Tuesday, December 18, 2012 8:41:34 AM UTC-6, Antonis Kanaris wrote: Hello.I make an apk for listen bluetooth and i want to get value data from function

Re: [android-developers] android emulator

2012-12-18 Thread Mark Murphy
On Tue, Dec 18, 2012 at 10:18 AM, bharani kumar bharanikumariyer...@gmail.com wrote: For android application testing is there any free open source emulators . http://developer.android.com/tools/index.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] Re: How i getting a value out of the function?

2012-12-18 Thread Antonis Kanaris
I try it but no work... -- 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] android emulator

2012-12-18 Thread Larry Meadors
Really? http://lmgtfy.com/?q=android+emulatorl=1 Larry On Tue, Dec 18, 2012 at 8:18 AM, bharani kumar bharanikumariyer...@gmail.com wrote: Hi, For android application testing is there any free open source emulators . -- Regards B.S.Bharanikumar http://php-mysql-jquery.blogspot.com/

Re: [android-developers] Re: IBM Worklight

2012-12-18 Thread bob
I don't know, but there is a google group for phonegap: https://groups.google.com/forum/?fromgroups#!forum/phonegap Maybe ask them? On Tuesday, December 18, 2012 1:45:20 AM UTC-6, Resurrcting the champ wrote: what's the difference between it and phonegap ? 2012/12/17 bob

[android-developers] Re: How i getting a value out of the function?

2012-12-18 Thread bob
How are you initializing *mmInputStream*? On Tuesday, December 18, 2012 9:26:47 AM UTC-6, Antonis Kanaris wrote: I try it but no work... -- 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] hcidump

2012-12-18 Thread bob
Does anyone know how to install hcidump on Android? I need some help debugging Android bluetooth. -- 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

Re: [android-developers] Re: Identifying HTTP Get requests in Android

2012-12-18 Thread Kristopher Micinski
Maybe you should try to use threads first and see what happens... :-) It's funny you mention that you don't want to use this approach because it has overhead, performance and scalability issues: running a server on Android has those issues! If you are really concerned about performance and

[android-developers] How i convert upload code to AsyncTask?

2012-12-18 Thread Antonis Kanaris
How i convert this class code with AsyncTask method? public class SimpleHttpPut { public static void main(String urlt,int t) { HttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost(urlt); try { ListNameValuePair

Re: [android-developers] Re: Identifying HTTP Get requests in Android

2012-12-18 Thread skink
Archana wrote: I read using threads causes overhead, performance and scalability issues. It is efficient if there are a limited number of clients. So I think using java.nio would be the best option. Any example that shows handling the HTTP methods without blocking. how many concurrent

[android-developers] SyncAdapter exception that I can't seem to trace.

2012-12-18 Thread Brill Pappin
THis is not the first time I've written a sync adapter, but thi is the first time I've seen this problem. I can't find were it might be happening and I'm wondering if anyone else has seen this. The problem is that it seems to be internal to the SyncAdapter. I already know that the likely reason

[android-developers] Re: SyncAdapter exception that I can't seem to trace.

2012-12-18 Thread Brill Pappin
Since posting this, I've narrowed it down to the Provider causing the exception, although as yet I can't find any reference to the UI thread. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Intercept an app

2012-12-18 Thread Kristopher Micinski
It is impossible: your app should not be able to gain system level privileges. Apps exploiting this type of behavior typically read logs and then shut down other apps by killing them with a pid, relaunching after the user inputs a password. Fortunately, this behavior has been removed (no read

[android-developers] Re: SyncAdapter exception that I can't seem to trace.

2012-12-18 Thread Brill Pappin
Well it appears that the the provider param android:multiprocess=true was causing the problem. changing it to false made the exception and crash go away. I don't know yet if this is a fix because I need to run it through some tests, but it does make sense in terms of what the exception was

[android-developers] Re: How i convert upload code to AsyncTask?

2012-12-18 Thread bob
Simply call the main method from the *doInBackground* method. On Tuesday, December 18, 2012 10:49:19 AM UTC-6, Antonis Kanaris wrote: How i convert this class code with AsyncTask method? public class SimpleHttpPut { public static void main(String urlt,int t) {

Re: [android-developers] Re: How i convert upload code to AsyncTask?

2012-12-18 Thread Kristopher Micinski
If you do that then the asynctask will run on the main thread... probably not what you want... OP: did you read an AsyncTask tutorial? kris On Tue, Dec 18, 2012 at 1:06 PM, bob b...@coolfone.comze.com wrote: Simply call the main method from the doInBackground method. On Tuesday, December

Re: [android-developers] Non blocking response from HTTP server

2012-12-18 Thread Kristopher Micinski
What's wrong with the question you posted on the other thread? Was there a compelling reason to spam people and duplicating effort by starting another thread that contains the same questions? Kris On Tue, Dec 18, 2012 at 8:37 AM, Archana ramalingam.arch...@gmail.comwrote: ** I have

Re: [android-developers] Re: How i convert upload code to AsyncTask?

2012-12-18 Thread bob
protected abstract Result *doInBackground* (Params... params) Added in API level 3 Override this method to perform a computation on a *background thread*. The specified parameters are the parameters passed toexecute(Params...) by the caller of this task. This method can call

[android-developers] Re: SyncAdapter exception that I can't seem to trace.

2012-12-18 Thread Jonathan S
AsyncTask is calling this error which is Can't create handler inside thread that has not called Looper.prepare() On Tuesday, December 18, 2012 12:43:51 PM UTC-5, Brill Pappin wrote: THis is not the first time I've written a sync adapter, but thi is the first time I've seen this problem. I

[android-developers] Re: SyncAdapter exception that I can't seem to trace.

2012-12-18 Thread Jonathan S
I am wondering why you are calling AsyncTask in SyncAdapter or ContentResolver? It is very odd. AsyncTask supposed to do run CPU heavy tasks on background then update it to UI threads. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: How i convert upload code to AsyncTask?

2012-12-18 Thread Jonathan S
In other hand, you can't use System.out.println on Android too. -- 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: How i convert upload code to AsyncTask?

2012-12-18 Thread bob
Why not? On Tuesday, December 18, 2012 4:29:52 PM UTC-6, Jonathan S wrote: In other hand, you can't use System.out.println on Android too. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] How to sync development projects?

2012-12-18 Thread TreKing
On Tue, Dec 18, 2012 at 2:35 AM, Piren gpi...@gmail.com wrote: In that case, you should really move to git as Nikolay suggested :) Its basically doing exactly what you want... Meh, I'm set in my ways with SVN. I don't use this that frequently that I feel it's worth the trouble learning and

[android-developers] Re: layout overlays

2012-12-18 Thread yaturner
On Sunday, December 16, 2012 3:28:08 PM UTC-8, dashman wrote: i'd like to display an layout that overlays my app. this layout will display a hint - e.g. tap this to get started etc. i would like this layout to be on top of the action bar also - so that users can't click on it or menus

Re: [android-developers] Re: Access cache size of browser activity

2012-12-18 Thread TreKing
On Tue, Dec 18, 2012 at 7:25 AM, Bajrang Asthana asthana.bajr...@gmail.comwrote: The link provided by you describes the way to fetch the cache size. Can you please tell me how can I delete it from my app? http://developer.android.com/guide/topics/data/data-storage.html#filesInternal

Re: [android-developers] How will combine download and then upload in a loop?

2012-12-18 Thread TreKing
On Tue, Dec 18, 2012 at 3:59 AM, Antonis Kanaris ant...@in.gr wrote: How combine download and upload together? Do the upload only after the download has actually completed. Hint: it's probably not completed two lines after you called execute() on your Task.

[android-developers] Re: Required: ETL Developer at Portland OR

2012-12-18 Thread Lew
What the heck does this spam have to do with Android development, Munawar? Munawar Ali wrote: Hi There, Hope you are doing good [sic].Please let me know if you have someone for the below mention [sic] requirement… [sic] Please send resumes on [sic] mu...@tekenergyusa.com javascript:

[android-developers] AOSP JB 4.1.2_r1 tablet ui customization

2012-12-18 Thread Stanislav Vlasic
Hi to all! First of all I want you to know that what I'm asking is for specialized device which needs such feature. What I want to do: Modify Settings app (add preference screen with list of installed packages which can be selected); hide/show navigation bar when activity from selected

[android-developers] How to delete app in new console

2012-12-18 Thread Keith Wiley
In the old console, if you delete the last APK, the entire app goes away...for better or worse. However, in the new console there appears to be no way at all to delete an app. Is this correct? Is my console now littered with unintended apps that will persist forever? I have a version of