Re: [android-developers] Using custom Content Providers

2012-06-18 Thread Per-Jarle Sæther
Thank you for good explanation Best regards Per-Jarle On Mon, Jun 18, 2012 at 5:01 PM, Mark Murphy wrote: > If the ContentProvider has an android:permission, > android:readPermission, or android:writePermission attribute in its > element in the manifest, then the consumer needs to have > the co

Re: [android-developers] reading pdf in android emulator

2012-06-18 Thread kampy
stack trace : 06-04 11:15:55.934: D/dalvikvm(333): GC_EXTERNAL_ALLOC freed 48K, 53% free 2549K/5379K, external 1625K/2137K, paused 70ms 06-04 11:15:56.244: D/dalvikvm(333): GC_EXTERNAL_ALLOC freed 1K, 53% free 2548K/5379K, external 2988K/3732K, paused 63ms 06-04 11:16:01.585: E/dalvikvm(333):

Re: [android-developers] image format for android games

2012-06-18 Thread F.Stein
realh, This book is old enough to be a carrier of facts. Facts in this book is simply old. There are many devices support 32bit RGBA pixel format. Only old or very-low-end devices can't support RGBA_ pixel format. Use this link

[android-developers] Re: Example on how to use Scroller in an activity

2012-06-18 Thread kishore
Hey Guys... You must have a look at the below link : http://stackoverflow.com/questions/5495855/android-scroller-animation Thanks, Kishore On Thursday, 21 January 2010 14:49:46 UTC+5:30, Sonic.. wrote: > > Hello > > I tried googling for any example on how to use Scroller for doing > manual handl

Re: [android-developers] reading pdf in android emulator

2012-06-18 Thread asheesh arya
just go through this link http://stackoverflow.com/questions/3831019/how-to-read-a-pdf-in-android -- 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 t

Re: [android-developers] Login screen in offline mode

2012-06-18 Thread TreKing
On Mon, Jun 18, 2012 at 11:52 PM, Sandeep Venkat wrote: > could anyone tell me how to store user details entered in registration > screen in offline mode into sqlite? Take the data the user entered then put it in a SQLite database (possibly encrypted). If you want a more specific answer, you n

Re: [android-developers] Can't able to install google play billing

2012-06-18 Thread TreKing
On Mon, Jun 18, 2012 at 11:19 PM, Sandeep Venkat wrote: > I can't able to install Google play billing in android4.0 through SDK > manager.Can anyone help me out!!! You need to provide a little more information so we know what you're actual problem is. Like *why* you can't.

Re: [android-developers] reading pdf in android emulator

2012-06-18 Thread Saurav
Could you paste/attach your StackTrace? Regards, Saurav Mukherjee. On Tue, Jun 19, 2012 at 11:20 AM, kampy wrote: > libraries -- 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@go

[android-developers] reading pdf in android emulator

2012-06-18 Thread kampy
Hi , For my app i need to read and print the pdf . i tried with different pdf read java supported libraries like pdfbox,itext but they are not working in android emulator i am getting the class not found exception. Can anyone help me how to read the pdf . Thanks in advance -- You received th

Re: [android-developers] pleasee help me

2012-06-18 Thread asheesh arya
variables are null sumwhere in your code thats why execute this error -- 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] Login screen in offline mode

2012-06-18 Thread Sandeep Venkat
could anyone tell me how to store user details entered in registration screen in offline mode into sqlite? -- Thanks&Regards *Sandeep MNVVB* * * -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android

Re: [android-developers] Recover Certificate from APK

2012-06-18 Thread Saurav
I understand! Thanks again everyone! Regards, Saurav Mukherjee. On Mon, Jun 18, 2012 at 8:32 PM, Mark Murphy wrote: > On Mon, Jun 18, 2012 at 7:31 AM, Saurav > wrote: > > Ha ha! > > It is not public, Mark. > > That's good. I'm willing to bet that there's a few dozen projects > floating around

Re: [android-developers] Re: Getting "Google Play requires that the certificate used to sign the apk be valid until at least October 22, 2033. Create a new certificate." message while submitting app

2012-06-18 Thread Saurav
Welcome to the club. Please go though this thread. Won't be a help, but it will give you the feeling that you are not alone. https://groups.google.com/d/topic/android-developers/qvbB74pB5Oo/discussion Regards, Saurav Mukherjee. On Tue, Jun 19, 2012 at 12:25 AM, RichardC wrote: > No much help I

[android-developers] Can't able to install google play billing

2012-06-18 Thread Sandeep Venkat
I can't able to install Google play billing in android4.0 through SDK manager.Can anyone help me out!!! -- Thanks&Regards *Sandeep MNVVB* * **Mobile Application Developer Believe Creative **sand...@believecreative.in * M: 0091 8019585636 W: www.believecreative.in First Floor, Plot 1 Silicon Val

Re: [android-developers] Re: How Google Map gets current location in Android ?

2012-06-18 Thread Saurav
Hi all, Apart from all the statements above, which I agree to, well most of it; I am sure Google takes in feedback from user's phone to give you precise location. Like when you are in a train, there is a learning behind that you are moving from cell tower to tower, beside the rail track data point

Re: [android-developers] Question about AccountManager and OAuth authentication with Google App Engine

2012-06-18 Thread Nikolay Elenkov
On Tue, Jun 19, 2012 at 12:57 PM, Nikolay Elenkov wrote: > On Mon, Jun 18, 2012 at 7:33 PM, Francois Masurel wrote: >> Hi Mukesh, >> >> Have you found a solution on this? >> >> I'm desperately trying to implement it on my Android app without success. >> > > It seems GAE doesn't currently support

Re: [android-developers] Question about AccountManager and OAuth authentication with Google App Engine

2012-06-18 Thread Nikolay Elenkov
On Mon, Jun 18, 2012 at 7:33 PM, Francois Masurel wrote: > Hi Mukesh, > > Have you found a solution on this? > > I'm desperately trying to implement it on my Android app without success. > It seems GAE doesn't currently support OAuth2 for authentication, so you have to use ClientLogin. You can ge

Re: [android-developers] Re: How Google Map gets current location in Android ?

2012-06-18 Thread TreKing
On Mon, Jun 18, 2012 at 8:12 PM, Ahmad Mobasseri wrote: > Can someone from Google Android (map) group address the question/request ? That is highly unlikely, but to add to what's been said, there is a blog post about this.

Re: [android-developers] Intent implementation

2012-06-18 Thread TreKing
On Mon, Jun 18, 2012 at 9:10 AM, r4f4 wrote: > Can anyone provide me with information (link or explanation), how the > OS treats the Intents and the whole mechanism works, in order to find > the reason why data was not received with high transmission rate ? > Just going off the little informatio

Re: [android-developers] How to play youtube videos in background

2012-06-18 Thread lbendlin
sounds like a Youtube downloader to me. On Monday, June 18, 2012 2:03:38 PM UTC-4, MagouyaWare wrote: > > Maybe it's just me, but why in the world would you want to play a video in > the background? Playing music in the background makes sense, but a video? > > Thanks, > Justin Anderson > Magouya

[android-developers] Re: How Google Map gets current location in Android ?

2012-06-18 Thread Lance Nanek
Just a user here, but I can confirm the Google Maps app uses multiple location providers. I was on a train once and it couldn't get a GPS lock and just sat there forever trying to get a location. No clear view of the sky, I guess. Then I turned off GPS location provider in the phone settings an

Re: [android-developers] Trying to use the ListView

2012-06-18 Thread TreKing
On Mon, Jun 18, 2012 at 10:07 AM, Felipe Monteiro de Carvalho < felipemonteiro.carva...@gmail.com> wrote: > But it fails to compile: > > Any ideas where am I getting it wrong? > You don't know Java or how to use your IDE well enough. If your code fails to compile, your IDE should tell you why an

[android-developers] Re: How Google Map gets current location in Android ?

2012-06-18 Thread Ahmad Mobasseri
Can someone from Google Android (map) group address the question/request ? "How Google Map gets current location in Android ?" Steps and code. Is it possible ? The question is Not how I should do it ! Thank you. On Mon, Jun 18, 2012 at 5:34 PM, lbendlin wrote: > It's all smoke and mirror.

[android-developers] Re: How Google Map gets current location in Android ?

2012-06-18 Thread lbendlin
It's all smoke and mirror. You need to use whatever location provider is available to give the user the illusion that there is a location fix. Only then should you switch to "best" provider, and provide the real GPS based location. On Monday, June 18, 2012 5:32:01 PM UTC-4, Ahmad wrote: > > Ca

Re: [android-developers] Re: Eclipse Image Bug

2012-06-18 Thread Sam
It can be reproduced. 1. In the visual editor, drag an image from the left hand side, to anywhere on the screen 2. Drag anything else and place it under the image (for example, some text) 3. Go to the XML code and try to edit the item you dragged below the image 4. It will mess up the code and yo

[android-developers] Google Maps Crash Insite WebView

2012-06-18 Thread Tommy Hartz
Hi, On android 4.0.3 I have an Activity that contains a webview. This webview loads a Google Maps webpage that is stored on our servers. The Map is overlaid with a Radar. When I double tab to zoom in on the map my app crashes. It is crashing and gives me an error com.android.launcher/com.android.

[android-developers] How Google Map gets current location in Android ?

2012-06-18 Thread Ahmad
Can someone from Google Android (map) write the steps and code used by Google Android in this subject ? Here “youtube.com/watch?v=v6gqipmbcok” says it uses cell towers. But I can see the GPS is used by Google Map too. Here “http://stackoverflow.com/questions/3145089/what-is-the-simplest- and-mo

Re: [android-developers] The import org.apache.harmony cannot be resolved

2012-06-18 Thread Kaiduan Xie
This solution works like a charm. Thank you very much Harri. /Kaiduan On Mon, Jun 18, 2012 at 3:54 PM, Harri Smått wrote: > On Jun 18, 2012, at 10:21 PM, Kaiduan Xie wrote: >> I need to add SNI (Server Name Indication) value to the SSLSocket like >> HttpsURLConnection does. > > If I googled pro

Re: [android-developers] how to fetch access token for google api.Authenticating with OAuth 2.0 in android

2012-06-18 Thread Eugène van der Merwe
In my case I had to remove `google-api-client-googleapis-extensions-android2-1.4.1-beta.jar` from my project. See http://stackoverflow.com/questions/10477147/how-to-fetch-access-token-for-google-api-authenticating-with-oauth-2-0-in-androi/11089504#11089504 regards, Eugene On Tuesday, May 8, 2

[android-developers] Viewpager

2012-06-18 Thread Androtech
Does any one know how to put preference in viewpager? Please give me the example code if any. -- 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] CursorAdapter and sample SimpleCursorAdapter

2012-06-18 Thread TreKing
On Mon, Jun 18, 2012 at 4:14 AM, Live Happy wrote: > based on what can i choose Again, your question is not very clear. How To Ask Questions The Smart Way

Re: [android-developers] Leaking Window on orientation change

2012-06-18 Thread TreKing
On Mon, Jun 18, 2012 at 5:29 AM, Vance Turnewitsch < betweenthehi...@gmail.com> wrote: > Thanks. I tried using the method and it appears that the method gets > called after the Activity has been destroyed and during some process of > recreating the Activity: What does your onClick method look li

[android-developers] Re: pairing problem, I believe this to be a bug in Android 4.0.3

2012-06-18 Thread HC
More details: Bluetooth Chat Demo app running on Android 4.0.3 and try to connect my Bluetooth device (running on security mode 1) . System popup "Bluetooth pairing request" window. After enter pin, connection achieved. Logcat msg as follow, 06-18 15:28:37.630: E/BluetoothChat(2207): - ON PAUSE

Re: [android-developers] The import org.apache.harmony cannot be resolved

2012-06-18 Thread Harri Smått
On Jun 18, 2012, at 10:21 PM, Kaiduan Xie wrote: > I need to add SNI (Server Name Indication) value to the SSLSocket like > HttpsURLConnection does. If I googled properly it's OpenSSLSocketImpl.setHostname(String) you want to call? This should be doable using reflection too; SocketFactory f = SS

Re: [android-developers] The import org.apache.harmony cannot be resolved

2012-06-18 Thread Harri Smått
On Jun 18, 2012, at 10:15 PM, Harri Smått wrote: > On Jun 18, 2012, at 9:25 PM, Kaiduan Xie wrote: >> The following import caused the above Eclipse error, >> import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl; > I think it's javax.net.ssl.SSLSocket you should be using - not implementat

Re: [android-developers] The import org.apache.harmony cannot be resolved

2012-06-18 Thread Kaiduan Xie
I need to add SNI (Server Name Indication) value to the SSLSocket like HttpsURLConnection does. And the traffic over SSL connection is not HTTP. On Mon, Jun 18, 2012 at 3:15 PM, Harri Smått wrote: > > On Jun 18, 2012, at 9:25 PM, Kaiduan Xie wrote: >> The following import caused the above Eclips

Re: [android-developers] The import org.apache.harmony cannot be resolved

2012-06-18 Thread Harri Smått
On Jun 18, 2012, at 9:25 PM, Kaiduan Xie wrote: > The following import caused the above Eclipse error, > import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl; I think it's javax.net.ssl.SSLSocket you should be using - not implementation class directly. -- H -- You received this mess

[android-developers] Re: Getting "Google Play requires that the certificate used to sign the apk be valid until at least October 22, 2033. Create a new certificate." message while submitting app

2012-06-18 Thread RichardC
No much help I am afraid, but it is clear in the documentation: *" Has a validity period that exceeds the expected lifespan of the application or application suite. A validity period of more than 25 years is recommended. "* http://developer.android.com/guide/publishing/app-signing.html#cert O

[android-developers] The import org.apache.harmony cannot be resolved

2012-06-18 Thread Kaiduan Xie
Hi, The following import caused the above Eclipse error, import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl; The directory of jsse is located in the following directory, D:\Android\android-sdk\sources\android-15\org\apache\harmony\xnet\provider\jsse How to resolve the above issue?

Re: [android-developers] pleasee help me

2012-06-18 Thread Justin Anderson
Umm make sure your variables are not null? What are you even asking? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jun 14, 2012 at 8:23 PM, DiEla Arianto wrote: > how to anticipate > unknown error : java.lang.nullpointerexception > > -- > Yo

[android-developers] Re: In App Billing V2: Item not found, but purchase OK

2012-06-18 Thread John
Are you still having this problem? I found I had to reboot the phone for some reason, after publishing the item for in app billing. -- 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@goo

[android-developers] Re: i need control users my app ??

2012-06-18 Thread Nobu Games
Well, I kind of agree that using an own server for protecting your app could be helpful. You could assign individual passwords to each user, they have to log in with your app and your server validates the login credentials. You could also do it "iPhone"-style by asking your testers for their IM

Re: [android-developers] How to play youtube videos in background

2012-06-18 Thread Justin Anderson
Maybe it's just me, but why in the world would you want to play a video in the background? Playing music in the background makes sense, but a video? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jun 15, 2012 at 1:59 AM, snow69it wrote: > Hi, Al

Re: [android-developers] Help in my Task Reminder Application.

2012-06-18 Thread Justin Anderson
So do you plan on posting anything relevant to your problem or are we expected to read your mind? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Jun 18, 2012 at 1:04 AM, vikas sharma wrote: > Guys after writing a tonn of codes all i am getting is

[android-developers] Help in my Task Reminder Application.

2012-06-18 Thread vikas sharma
Guys after writing a tonn of codes all i am getting is an "unexpected error"..anyone can help me with this? this is a task reminder app have not write the task notification part till now but getting error in the first part in which i wrote three classes. TaskReminderActivity,TaskListActivity and Re

[android-developers] Re: pairing problem, I believe this to be a bug in Android 4.0.3

2012-06-18 Thread HC
I have same issue when I try to connect to my own Bluetooth (SPP) device with modified Bluetooth Chat app using insecure connection mode on a GT-P3113, that is with Android 4.0.3, a "Bluetooth pairing request" window popup after select the paired device while with Android 3.2 it doesn't. But whe

[android-developers] Re: Google Nexus S - Secure storage

2012-06-18 Thread Piet Smit
Hello Sebastian, did you do some followup on this idea? we are using the Nexus with an extra NFC sticker at the battery but we like to be able to read external tags too (Mifare Classic/Desfire) or did someone else did some devellopment on this? regards Piet On Saturday, March 5, 2011 10:34:15 PM

[android-developers] 【Android】bluetooth file transfer

2012-06-18 Thread weixiang
hello,I am Tester using InstrumetationTestCase to Test, and i want to write some case about file transfer,However,when run,logcat display some abnormal below is my code,debug process, the defect pointer is "" while(bis.read() != -1) { if(bis.read(mybytearray) == -1) break; for(int i = 0 ; i

[android-developers] How to close view when touch outside?

2012-06-18 Thread pkbaozi
For example SearchView, if you don't click close button, it will always display even come back form another view. and I didn't found solution form API. Thanks for any suggestion. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] Getting "Google Play requires that the certificate used to sign the apk be valid until at least October 22, 2033. Create a new certificate." message while submitting app

2012-06-18 Thread Gaurav Khera
Hi All, I have an app already available at Play Store. Now when I am submitting a newer version of app, I am getting following error: "Google Play requires that the certificate used to sign the apk be valid until at least October 22, 2033. Create a new certificate." If I create the app with a

[android-developers] Creation of binary image

2012-06-18 Thread Tuhinjubcse
I want to create a binary image from a bitmap. i am extracting the luminance from the YUV 420 format from the preview screen and storing it in an array . i can create a image using bitmap class be the decode method of bitmap factory . Now the problem is how to convert this gray scale bitmap imag

[android-developers] Re: How to implement your own LocationProvider

2012-06-18 Thread Deepak Mishra
I am still hoping for a solution... Did you get anything ? Thanks ! On Tuesday, 3 August 2010 12:40:36 UTC+5:30, Marcus Wolschon wrote: > > > Hello, > > I would like to implement a new LocationProvider. > In this case, one that uses OpenCellID.org. > I figured the pattern wou be quite similar

RE: [android-developers] Re: Help with App crackers

2012-06-18 Thread tana wiriya
Date: Mon, 18 Jun 2012 08:50:18 -0700 From: porcelli.giuse...@gmail.com To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Help with App crackers Thank you ! -- You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] Re: UTF-8 encoding and decoding

2012-06-18 Thread Paul
On the PHP side use mb_convert_encoding($text, "UTF-8") for anything you are sending to the client. You can also use that function to convert text entered from a web form (or anywhere else) before storing it in your PHP database. On Thursday, June 14, 2012 2:42:11 PM UTC-4, Fran wrote: > > Hi,

Re: [android-developers] Trying to use the ListView

2012-06-18 Thread Justin Anderson
> > I need it to be 100% pure code, without any kind of XML > Just out of curiosity, why? From my experience it is much much easier to use XML layouts unless there is a really really good reason not to... As far as your error, I did a simple Google search and came up with this: http://docs.oracl

[android-developers] Re: i need control users my app ??

2012-06-18 Thread lbendlin
Alright, so my second statement applies. If you don't want anyone to steal your ideas, stop having ideas. (or to formulate it differently - focus on making your app better, and not on fighting off stealing. For example - Move some of your application logic to your server, so that a stolen app

[android-developers] Re: Permissions for System Apps (not in /data/system/packages.xml?)

2012-06-18 Thread Chris Stratton
On Jun 18, 12:35 pm, Jason Meyer wrote: > > Well, sure, if they request it, just like any other SDK app. > > I am not quite sure what you mean by "request it". The uses-permission is in their AndroidManifest.xml just as it would be for a non-system app. See for example: https://github.com/android

Re: [android-developers] Re: Permissions for System Apps (not in /data/system/packages.xml?)

2012-06-18 Thread Mark Murphy
Also, please remember that this list is for the Android SDK. Questions regarding the " block" and kin belong elsewhere -- visit http://source.android.com, click on the Community tab, and you will see other Google Groups of greater relevance to discussion of what is happening in the firmware. On Mo

Re: [android-developers] Re: Permissions for System Apps (not in /data/system/packages.xml?)

2012-06-18 Thread Mark Murphy
On Mon, Jun 18, 2012 at 12:35 PM, Jason Meyer wrote: >> Well, sure, if they request it, just like any other SDK app. > I am not quite sure what you mean by "request it". As far as I know, > there is no "API request call" or method to grant a certain > permission. By in the manifest, just like an

[android-developers] Re: Permissions for System Apps (not in /data/system/packages.xml?)

2012-06-18 Thread Jason Meyer
> > Nonetheless, I am still wondering: Does that mean that an app stored > > as APK in /system/app/ can use any permission which is <= > > "signatureOrSystem"? > > Well, sure, if they request it, just like any other SDK app. I am not quite sure what you mean by "request it". As far as I know, there

[android-developers] Re: RDP library for Android

2012-06-18 Thread lbendlin
You don't really want to use libraries for that where you have no control over the speed, compression etc. Better roll your own implementation according to the specs http://msdn.microsoft.com/en-us/library/cc240445%28v=prot.10%29.aspx On Monday, June 18, 2012 11:51:18 AM UTC-4, Akki wrote: > >

[android-developers] RDP library for Android

2012-06-18 Thread Akki
I am trying to develop an android version of Remote Desktop Sharing (Remote PhoneTop Sharing) to share some files or applications in real-time. I decided to use *RDP(Remote Desktop Protocol) *for android. I would like to know if u know any RDP libraries for *ANDROID *and if you can suggest any

Re: [android-developers] Re: Help with App crackers

2012-06-18 Thread Giuseppe
Thank you ! -- 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 m

Re: [android-developers] Re: Help with App crackers

2012-06-18 Thread Nobu Games
I understand that, and since you are A&G you should have no problem with "pirating" your own software by downloading that cracked copy from that website. What I was trying to tell you is testing that cracked version of your app on different devices. I assume that the copy protection is still fu

[android-developers] Re: Permissions for System Apps (not in /data/system/packages.xml?)

2012-06-18 Thread Chris Stratton
On Jun 17, 1:34 pm, Jason Meyer wrote: > after doing a bit of research I've gotten very curious: > Where are the permissions stored which were granted to apps installed > in /system/app? > > I checked out my phone's packages.xml file (located in /data/system/ > packages.xml). "User apps" stored in

[android-developers] Trying to use the ListView

2012-06-18 Thread Felipe Monteiro de Carvalho
Hello, I am trying to create a ListView where each item has a Title (bigger text) and a Description (smaller text under the other one), and I need it to be 100% pure code, without any kind of XML, but I am having a lot of difficulty as ListView seams to be an absurdely hard to use class. Ok, s

Re: [android-developers] Recover Certificate from APK

2012-06-18 Thread Mark Murphy
On Mon, Jun 18, 2012 at 7:31 AM, Saurav wrote: > Ha ha! > It is not public, Mark. That's good. I'm willing to bet that there's a few dozen projects floating around, though, who *did* upload their keystore into a public git repo. That's bad -- they are one Google account hack away from having thei

Re: [android-developers] Using custom Content Providers

2012-06-18 Thread Mark Murphy
If the ContentProvider has an android:permission, android:readPermission, or android:writePermission attribute in its element in the manifest, then the consumer needs to have the corresponding element. On Mon, Jun 18, 2012 at 9:02 AM, Per-Jarle Sæther wrote: > Hello, and thank you for replying

Re: [android-developers] Re: Permissions for System Apps (not in /data/system/packages.xml?)

2012-06-18 Thread Mark Murphy
On Mon, Jun 18, 2012 at 9:48 AM, Jason Meyer wrote: > Nonetheless, I am still wondering: Does that mean that an app stored > as APK in /system/app/ can use any permission which is <= > "signatureOrSystem"? Well, sure, if they request it, just like any other SDK app. > As I already mentioned, eve

[android-developers] Re: Need Help Problem about socket communication between android smartphone and PC through WIFI

2012-06-18 Thread Chris Stratton
This suggests that either you are using an emulator-only alias address, or are trying to contact a pc on a private network behind firewall/nat from the device's mobile network rather than having the device active on wifi at the time of the attempt.. Try something with prebuilt software such as a w

Re: [android-developers] ListView HighLight when clicking the itemView

2012-06-18 Thread Justin Anderson
If I understand your question correctly, just override the listview's selector... You can do this with the the android:listSelector property. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Jun 18, 2012 at 4:24 AM, Raphael wrote: > I just wonder

Re: [android-developers] Every few hours Eclipse + ADT runs out of resources...

2012-06-18 Thread Tor Norbye
By the way, ADT 20 Preview 3 is here: http://tools.android.com/download/adt-20-preview . We'll hopefully have a final build in the next few weeks. -- Tor On Mon, Jun 18, 2012 at 7:34 AM, Tor Norbye wrote: > Can you try using ADT 20 Preview 3? It contains various leak fixes, such > as http://c

Re: [android-developers] Every few hours Eclipse + ADT runs out of resources...

2012-06-18 Thread Tor Norbye
Can you try using ADT 20 Preview 3? It contains various leak fixes, such as http://code.google.com/p/android/issues/detail?id=26774 . -- Tor On Thu, Jun 14, 2012 at 11:35 AM, Nobu Games wrote: > Hi > > I know this is an old post but I'm running across the very same problem > with Eclipse every

Re: [android-developers] Need Help Problem about socket communication between android smartphone and PC through WIFI

2012-06-18 Thread Robert Greenwalt
If you take a bugreport the route table should be listed and we would know more. On Fri, Jun 15, 2012 at 4:56 AM, neo wrote: > Hello everyone, > > I have developed an application about socket communication between > smartphone (as Client) and pc(as Server). und tested this application on > Andro

Re: [android-developers] Re: Eclipse Image Bug

2012-06-18 Thread Tor Norbye
This sounds like this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=375421 Note however that we don't know how to reproduce this bug. If anyone has reproducible steps, please describe in as much detail as possible and attach to that issue. -- Tor On Sun, Jun 17, 2012 at 11:59 AM, G. Blake M

[android-developers] Intent implementation

2012-06-18 Thread r4f4
Hi, I developed an App and i executed some tests. This tests consists in sending data from one background service to another background service. All data was received when the transmission rate was low. However when i increased the transmission rate, some data (typically 2- 3 %) was not received b

[android-developers] Re: Permissions for System Apps (not in /data/system/packages.xml?)

2012-06-18 Thread Jason Meyer
Thanks for your quick reply, Mark. Nonetheless, I am still wondering: Does that mean that an app stored as APK in /system/app/ can use any permission which is <= "signatureOrSystem"? Or can only permissions == "signatureOrSystem" be made use of? (the latter is definitely not the case, see below)

[android-developers] Re: i need control users my app ??

2012-06-18 Thread ala hammad
ok i try to simple my question , i am developer need to test my app .. but i fear tester steal my app and upload to google play .. so need a way to make my app temporarily for users .. any idea to do that .. On Monday, 18 June 2012 15:02:32 UTC+3, ala hammad wrote: > > hello all, > how i can cont

[android-developers] Re: i need control users my app ??

2012-06-18 Thread lbendlin
your question is difficult to understand. If you want to have users test your program before you publish it, send them a debug APK (for example as an email attachment). If you fear that your APK would be posted to the Play store by malicious testers then you may want to rethink your developme

Re: [android-developers] Using custom Content Providers

2012-06-18 Thread Per-Jarle Sæther
Hello, and thank you for replying I was looking at a tutorial that used Contacts which is a ContentProvider That app had the following tag in AndroidManifest: I thought maybe I would need something like that to access a custom ContentProvider Best regards Per-Jarle On Mon, Jun 1

[android-developers] i need control users my app ??

2012-06-18 Thread ala hammad
hello all, how i can control users my app , to make him test it just test. without upload to google play ... and can't give user .apk fear upload to google play . any idea to do that ?? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

Re: [android-developers] Recover Certificate from APK

2012-06-18 Thread Saurav
Ha ha! It is not public, Mark. Regards, Saurav Mukherjee. On Mon, Jun 18, 2012 at 4:14 PM, Mark Murphy wrote: > see -- 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.co

Re: [android-developers] Recover Certificate from APK

2012-06-18 Thread Mark Murphy
On Mon, Jun 18, 2012 at 6:41 AM, Saurav wrote: > Anyways, as you all said, I have put my new keystore in my git repo. Um, I really hope that's a private repo. "Backed up" does not mean "published for the world to see". -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/co

Re: [android-developers] image format for android games

2012-06-18 Thread Tony Houghton
On Sat, 9 Jun 2012 02:13:34 -0700 (PDT) EDan wrote: > I have a problem with images in android games. I bought a book 1 month > ago "Beginning Android 4 Games Development" and I already write the > framework for develop game that the book explain, so the problem is > not in the code. The problem i

Re: [android-developers] Recover Certificate from APK

2012-06-18 Thread Saurav
Thank you so much Dianne and Others for your quick and strong response. I don't know whether any of you did not get the point that "I know it was my mistake, to lose the keystore file". No doubt on that :) Anyways, as you all said, I have put my new keystore in my git repo. "Fall back" Regards,

Re: [android-developers] Ho clean-up filesystem when remove an application

2012-06-18 Thread Mark Murphy
On Thu, Jun 14, 2012 at 4:18 PM, elio francesconi wrote: > I'm wondering how cleaning up configuration and data stored into the > filesystem, when a user removes an application. Everything on internal storage, and everything in getExternalFilesDir() and getExternalCacheDir(), is removed automatic

Re: [android-developers] Permissions for System Apps (not in /data/system/packages.xml?)

2012-06-18 Thread Mark Murphy
On Sun, Jun 17, 2012 at 1:34 PM, Jason Meyer wrote: > Where are the permissions stored which were granted to apps installed > in /system/app? Nothing is granted to apps installed on /system/app automatically AFAIK. However, apps installed there can request "signature" or "signatureOrSystem" permi

Re: [android-developers] Question about AccountManager and OAuth authentication with Google App Engine

2012-06-18 Thread Francois Masurel
Hi Mukesh, Have you found a solution on this? I'm desperately trying to implement it on my Android app without success. Thanx for your help. Francois Bordeaux, France On Monday, January 9, 2012 8:36:08 AM UTC+1, Mukesh Srivastav wrote: > > Hi Rishi, > > I had tried the above concept but i coul

Re: [android-developers] Question on launching activity from notification

2012-06-18 Thread Mark Murphy
On Thu, Jun 14, 2012 at 12:04 PM, Yezersky wrote: > what's happened? follow Android SDK, singleTask is same as > FLAG_ACTIVITY_CLEAR_TOP, but I get different result here? IMHO, singleTask is closer to FLAG_ACTIVITY_CLEAR_TOP|FLAG_ACTIVITY_SINGLE_TOP. -- Mark Murphy (a Commons Guy) http://common

Re: [android-developers] Using custom Content Providers

2012-06-18 Thread Mark Murphy
You do not need to have a element to use that ContentProvider. I do not know what other "uses tag" you might be concerned with. On Mon, Jun 18, 2012 at 5:09 AM, Per-Jarle Sæther wrote: > Hello all > Do I need to specify an uses tag in AndroidManifest if I shall use a custom > Content provider? >

Re: [android-developers] Leaking Window on orientation change

2012-06-18 Thread Vance Turnewitsch
Thanks. I tried using the method and it appears that the method gets called after the Activity has been destroyed and during some process of recreating the Activity: 06-18 06:26:32.639: E/WindowManager(1767): Activity com.betweenthehills.TestVideoPlayerActivity has leaked window com.android.in

[android-developers] ListView HighLight when clicking the itemView

2012-06-18 Thread Raphael
I just wonder how to cancel the highlighting effects of the sub-item of the ListView,when pressing mouse down on it. -- 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

[android-developers] Re: Memory leak in GLSurfaceView tutorial

2012-06-18 Thread Gerhard Aigner
Even easier to reproduce the leak: just enable the strict mode on line 32 in com.example.android.apis.graphics.GLSurfaceViewActivity from the API Samples protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); StrictMode.setVmPolicy(new Stri

[android-developers] Screen share on live

2012-06-18 Thread Rocky
All, I'm developing apps that enables sharing actual screen (display content) between mobile handsets in real-time. Screen sharing includes multi-media content sharing (UI, photos, video & audio, etc.). Thereby the master user connects to clients and share his actual display content. Is it possib

[android-developers] Android 4.0.4 on Imx53 is very slow

2012-06-18 Thread swaraj
Hi All, The performance is very slow when i updated android from 2.3 to 4.0.4 on iMX53. Cursor movement is very very slow while unlocking. How should i improve performance on IMX53 with android 4.0.4. Its very very slow. Thanks & Regards, Swaraj -- You received this message because you

[android-developers] Re: ApiDemos/OS/Sensors application canvas drawings blurred when built with SDK level 15

2012-06-18 Thread Kartic
I figured out the reason for blurring of circles even after switching hardware acceleration off in manifest. The reason was that "Force GPU rendering" setting in Developer options was enabled on my phone. This was overriding hardware acceleration settings in manifest -Kartic On Friday, June 15

[android-developers] SurfaceFlinger code flow

2012-06-18 Thread Rahul Garg
Hi all, I was looking for the SurfaceFlinger code flow, I tried to search, but I haven't any good post/tutorial which can explain the flow. My main motive is to know how code traverse from activity to SurfaceFlinger and then how it goes from SurfaceFlinger to Framebuffer. Thanks in advance. --

[android-developers] Using custom Content Providers

2012-06-18 Thread Per-Jarle Sæther
Hello all Do I need to specify an uses tag in AndroidManifest if I shall use a custom Content provider? Example: Provider tag in Content Provider: What *uses* tag do I need to have in a client app that use this provider? Best regards Per-Jarle -- You received this message because you are s

Re: [android-developers] CursorAdapter and sample SimpleCursorAdapter

2012-06-18 Thread Live Happy
i know that CursurAdapter is abstract and is to be extended. and, SimpleCursorAdapter is not abstract and is to implemented but based on what can i choose i just want experiences answer please On Mon, Jun 18, 2012 at 11:41 AM, TreKing wrote: > On Mon, Jun 18, 2012 at 1:45 AM, Live Happy wrote:

Re: [android-developers] Newbie confused about drawing

2012-06-18 Thread TreKing
On Fri, Jun 15, 2012 at 8:53 AM, Karl Garrison wrote: > My confusion is how I > should get the Canvas to draw to if I am to do any drawing from other > methods that I create. > Just pass it along as an argument to your other methods: @Override public void onDraw(Canvas canvas) { super.onDraw(c

  1   2   >