[android-developers] Programmatic Hotspot / AP creation in 7.1

2016-12-19 Thread Jason Ernst
I have noticed that in 7.1 hotspot creation programmatically no longer works like in the older versions (works well from 4.x - 7.0). I have been using this library: https://github.com/mvdan/accesspoint which uses the reflection api to expose the hotspot creation functions. I know this isn't an

[android-developers] Re: Meta: Changes to new-user moderation policy

2016-09-01 Thread Jason Atwood
How easy is it to delete a spam account from the admin console? Single button click? If it's easy, I'll volunteer to be an admin just to help with the spam. If a few other people did this too I bet we could have it down to zero in no time. On Wednesday, August 31, 2016 at 1:18:44 PM UTC-4, Stre

[android-developers] I'm getting a ClassNotFoundException from play services lib when using Proguard

2016-08-22 Thread Jason Atwood
I just turned on ProGuard on my build and now I'm getting a java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.chimera.GmsModuleInitializer" on path: DexPathList[[zip file "/system/app/PlayGames.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] If I underst

[android-developers] Checking new app version from Google playstore programatically

2016-08-11 Thread Jason Christian
Hello, I'm currently developing an Android App and one of the feature of the app is to check for available new version programatically from Google playstore and inform the user if there's a new version available. I am currently using JSOUP to retrieve the app page's HTML content and look for th

[android-developers] Mobile App Development facts

2016-08-08 Thread Jason Adams
Here are some facts about mobile app development...https://goo.gl/AoWmEI -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@goo

[android-developers] Can i get wifi beacon information

2016-07-04 Thread Jason zhao
Dear,all. I want to obtain wifi beacon information from wifi searched result,who can help me.Thx. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-

[android-developers] Re: Published app icon issue [URGENT]

2016-06-24 Thread Jason Flanagan
Did you make sure that the icon image is included in your project? Make sure you change the icon to the correct filename of your image in the manifest. See http://stackoverflow.com/questions/26615889/how-to-change-the-launcher-logo-of-an-app-in-android-studio for clarification. -JF On Monday

Re: [android-developers] Unexpected Cast To Button

2016-06-16 Thread Jason Flanagan
To reference your button in your MainActivity class as in your original post. In your activity_main.xml you should have something like this... it appears as though this id was under an ImageView tag rather than a button tag. -JF On Thursday, June 16, 2016 at 7:41:06 AM UTC-4, Rajdeep Roy wr

[android-developers] Re: Screenshort in android studio.

2016-06-11 Thread Jason Flanagan
This, http://stackoverflow.com/questions/2661536/how-to-programmatically-take-a-screenshot-in-android, seems to be a good place to start. -JF On Thursday, June 9, 2016 at 8:53:10 AM UTC-4, Gulwant gill wrote: > > Hi, > > Can you guys please tell me how can i take *screenshot of a specific > o

[android-developers] Launcher / Home Screen Bookmark List

2016-06-01 Thread jason . jaegers
I currently working on a launcher and I am trying to access a list of the bookmarks or web shortcuts that a user has clicked "add to home screen" in Chrome... there has to be some way to pull up this list so my launcher can support those home screen bookmarks as well. I have search Google to no

[android-developers] Home screen shortcut list... similar to packagemanager?

2016-04-11 Thread jason . jaegers
I am working on a launcher and looking to access a list of internet shortcuts that the user has added to their home screen using the "Add to Home Screen" option in Chrome. I can't seem to track down any documentation on how to access these shortcuts! Does anyone have any samples or links to d

[android-developers] uploading APK

2016-03-29 Thread Jason Garza
I just had my app language translated into 3 languages. How do I change the languages for the store listing in the desired stores? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails f

[android-developers] AN AWESOME APP

2016-02-15 Thread Jason Bakthakumar
Hey guys, I've created a new app called *"Unite - Note Messenger"*. It helps you to *create, collect and share *notes and reminders. It also has an inbuilt *messenger *so that you can chat with your friends for free. You can also *send files *of any kind(eg: .docx, .pdf, .ppt, .xls etc). There

Re: [android-developers] Re: PNG loading that doesn't premultiply alpha?

2013-09-03 Thread Jason
t the artifacts I was seeing were as result of NOT using pre-multiplied alpha textures. Still not sure what the blur on the textures was caused by when using GL_CLAMP_TO_EDGE :/ Peace out. On Monday, September 2, 2013 6:45:23 PM UTC-7, Jason wrote: > > P.S. It turns out the *blur* is

Re: [android-developers] Re: PNG loading that doesn't premultiply alpha?

2013-09-02 Thread Jason
P.S. It turns out the *blur* is from using GL_CLAMP_TO_EDGE. Changing to GL_REPEAT removes the blur even though it doesn't really make sense to repeat the texture as I'm just rendering sprites as quads (triangle pairs). On Monday, September 2, 2013 6:29:17 PM UTC-7, Jason wrote

Re: [android-developers] Re: PNG loading that doesn't premultiply alpha?

2013-09-02 Thread Jason
Here's a zoomed in version of the image showing the artifacts more clearly: <http://cl.ly/image/3z1c2d0i2E3N/Screen%20Shot%202013-09-02%20at%206.27.41%20PM.png> On Monday, September 2, 2013 6:23:43 PM UTC-7, Jason wrote: > > I realize this is an old thread, but I'm having

Re: [android-developers] Re: PNG loading that doesn't premultiply alpha?

2013-09-02 Thread Jason
I realize this is an old thread, but I'm having the same issue and the above solutions haven't worked for me. Firstly the link to the PNGDecoder from libgdx is old and no longer exists (libgdx appear to have re-vamped the way they load images and tracking down where exactly the PNG decoding hap

[android-developers] Re: Cannot get the initial SDK setup working, nightmare

2013-04-29 Thread Jason Painter
I'm trying to do the same thing. I have the device created but it never seems to start. How long is a while? I see the device but it just sits there with like an "Android" load screen. Thanks On Saturday, April 13, 2013 8:13:35 AM UTC-5, Dave Truby wrote: > Using the AVD tool (inside Eclipse,

[android-developers] Re: Optimise drawing speed

2013-03-31 Thread Jason
My first reaction is that if you really want render speed then you need to be leveraging the GPU which is going to be most reliable with OpenGL (as I understanding it more recent versions of Android will actually hardware accelerate for you, but there are many variables that affect whether this

Re: [android-developers] Re: GC calls from other processes causing slowdown (?)

2013-03-31 Thread Jason Polites
Gingerbread the GC is clamied to work > concurrently. > > > On Sun, Mar 31, 2013 at 4:38 PM, Jason Polites wrote: > >> I'm 90% sure it wasn't, but I make this claim based on profiling heap >> allocations and I don't think I confirmed that the process ID was actually &g

Re: [android-developers] Re: GC calls from other processes causing slowdown (?)

2013-03-31 Thread Jason Polites
our process? > > On Sunday, March 31, 2013 8:07:50 AM UTC+1, Jason wrote: >> >> Hey folks, >> >> So I'm in the midst of creating a game and I'm hitting some occasional >> slow down which "seems" to be a result of GC calls triggered by other

[android-developers] GC calls from other processes causing slowdown (?)

2013-03-31 Thread Jason
wondering if this is still the case as of 4.2.2? I am seeing behavior that appears to indicate this may not the case. Is there anything I can do to ensure other processes are not using more than 10% of CPU (or any number really)? Or some other restrictions/priorities that might help

Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-18 Thread Jason Polites
So, the NDK stuff is pretty simply if your project is created in an "NDK Friendly" way. That is, you have a folder called "jni" and in that folder you have an Android.mk and an Application.mk file. Basically the process documented here ( http://developer.android.com/tools/sdk/ndk/index.html#GetSt

Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-17 Thread Jason Polites
I will not be going back to eclipse any time soon unless I absolutely have to. Reminds me of the day I switched from PC to Mac.. another one of those "never go back" moments. On Sun, Mar 17, 2013 at 12:48 AM, Martin Krischik < krisc...@users.sourceforge.net> wrote: > Hi, >

[android-developers] Re: connecting to mysql database

2013-03-16 Thread Jason
First I'm assuming that the URL is accessible on the network, if so you need to make sure that: A) The device is on the same network (e.g. same wifi router) B) The app has the android.permission.INTERNET permission " I have seen to use 10.0.2.2 instead of localhost".. not sure what you mean by

[android-developers] Re: help needed

2013-03-16 Thread Jason
You need a google maps key because access to the google maps API is rate limited. On Friday, March 15, 2013 10:41:25 PM UTC-7, ramesh babu wrote: > > for developing google map application why do we required sha1 key??... > -- -- You received this message because you are subscribed to the Goog

[android-developers] Re: Google+ integration

2013-03-16 Thread Jason
The documentation for Google+ is here: https://developers.google.com/+/mobile/android/ Or for a very quick implementation you could just use Socialize: http://www.getsocialize.com On Thursday, March 14, 2013 4:55:39 AM UTC-7, srikanth wrote: > > Dear all, > Please help me How to post image an

Re: [android-developers] Re: glDrawElements issue

2013-03-16 Thread Jason
There are a few things I see here that need some investigation. First it looks like you're unbinding the buffer before the actual draw? GLES20.glBindBuffer(GLES20.GL_ARRAY_BUFFER, 0); Second, in the work I've done recently I found not appreciable performance improvement from using VBOs vs. stan

Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-13 Thread Jason Polites
So I've been working in Intellij all day today, although most of the time was spent in the setup/config process. I initially tried to get the C++ plugin to work for my NDK related stuff but just couldn't get the paths setup correctly (I assume) becaus

Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Jason Polites
question. But again, thanks for the contribution. On Tue, Mar 12, 2013 at 5:42 PM, Lew wrote: > Jason wrote: > >> Not sure how that helps the discussion, but thanks. >> >> > It puts it in perspective, that is, it illustrates the value of arguing > over the best e

Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Jason Polites
Not sure how that helps the discussion, but thanks. On Tue, Mar 12, 2013 at 4:24 PM, Lew wrote: > Jason wrote: > >> My issue has never been with the features of eclipse [sic] .. [sic] >> they're awesome. My issue is that they just don't work. Running CDT alon

Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Jason Polites
ion of C++ support) so we'll see if it lives up to its reputation from a stability/speed perspective. On Tue, Mar 12, 2013 at 3:18 PM, a1 wrote: > W dniu wtorek, 12 marca 2013 18:13:16 UTC+1 użytkownik Jason napisał: > > Bashing eclipse is popular because eclipse is a horrible experien

[android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Jason
Bashing eclipse is popular because eclipse is a horrible experience, from start to end. As I said in my original post I've been using eclipse for as long as there has been an eclipse and many many of the concepts in how data is presented in eclipse make a LOT of sense. The problem is that it's

Re: [android-developers] Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Jason Polites
good for native code which is why I use > Eclipse (with only the CDT plugin) at the same time. If you have enough RAM > it's a pretty good setup overall: Eclipse for C/C++ and IntelliJ for > everything else. > > > On Mon, Mar 11, 2013 at 10:47 PM, Jason wrote: > >>

[android-developers] Eclipse or Intellij.. what's the verdict?

2013-03-11 Thread Jason
OK.. I've just about had enough of eclipse. I have been using it for 10+ years (ever since it was WSAD :/) and have put up with it's slowness, buggyness, upgrade nightmares, plugins that don't work, plugins that do work.. then don't, random crashes etc etc... but I just can't take it anymore.

[android-developers] Re: The constructor SimpleExpandableListAdapter(.........) is undefined.

2013-01-07 Thread Jason Villalon
how did you solved it? i have the same problem On Sunday, March 16, 2008 8:41:54 AM UTC+8, jtaylor wrote: > > Problem solved. Looks like I can't add to map as a > parametized type. > > > - Juan > > On Mar 15, 7:18 pm, jtaylor wrote: > > This is my Code below. > > > > ==

Re: [android-developers] Re: using IP address 10.0.2.2 for android simulator works, but how do I point to localhost when testing on android device?

2013-01-07 Thread Jason Gates
Hi, I run a small local area network (LAN) for development and testing (a couple desktops and a laptop). ... My internet provider complains if I run a http server that is exposed to the internet. Therefore, I set up a wireless access point that is restricted to my development lan. I then have my an

[android-developers] Getting started with ActionBarSherlock

2012-11-30 Thread Jason Hsu
I'm interested in learning to work with ActionBarSherlock. What are the best tutorials for getting started? I need to start off with the Hello World of ActionBarSherlock and then work my way up to more complex apps. -- You received this message because you are subscribed to the Google Groups

[android-developers] Nexus OTA updates via USB storage

2012-11-19 Thread Jason Berry
The Galaxy Nexus has this awesome feature in stock recovery to apply an OTA update via USB storage. I used it successfully the other day to upgrade to 4.2. It's a worthy addition to ADB sideload. Any chance of adding this capability to the Nexus 7? -- You received this message because you are

[android-developers] Simulating a tablet with the AVD

2012-11-09 Thread Jason Hsu
I'm in the process of learning how to work with fragments, but I don't have a tablet. How do I use the AVD to create a virtual tablet so I can see the proper operation of fragments? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Help! How to listen the enalbe state change of android button without rewriting the source code

2012-11-06 Thread Jason zhao
Help! How to listen the enalbe state change of android button without rewriting the source code. One more important thing, I have implemeted the enable state change listener of my custom button.But the above question means I call android button of app widget not mine in the code or xml file. Thx,v

[android-developers] How do I make an app that allows users to interact with each other?

2012-11-02 Thread Jason Hsu
How do I make an app that allows users to interact with each other? I assume that this requires a central server that interacts with the app. Examples of such interactive apps: 1. Message boards 2. Chat rooms 3. Multiplayer games Please point me to the types of tools behind such interactive

[android-developers] Making the same API key work for both developing AND publishing

2012-10-24 Thread Jason Hsu
I recently published an app that uses Google Maps. As you know, you need to provide your API key for Google Maps. When I published the first version of my app, the map display in my Google Play app didn't work even though it did work when I ran my app from source code. So I had to change the

[android-developers] Multi-Language Support for Android Softkeyboard

2012-10-04 Thread jason austin
Currently, I am developing a softkeyboard for Android using SoftKeyboard source code which is available in the SDK. But I want to add in multi-language support for the keyboard (similar to what is available in the native keyboard). But this portion is not available in the SoftKeyboard sour

[android-developers] Re: Android and JMX

2012-09-29 Thread Jason van Dyk
G'day, I've been looking at doing a similar thing Brian, did you ever come up with a solution? I haven't seen anything on the Internet on how to achieve this. Cheers, Jason On Wednesday, 11 May 2011 00:24:14 UTC+10, brian lee wrote: > > I am trying to write a simple app t

[android-developers] Displaying nearby places with the Google API

2012-09-24 Thread Jason Hsu
If you copy the source code at http://codezone4.wordpress.com/2012/05/17/display-near-by-places-with-google-places-api/ into an HTML file and then view that HTML file as a web page, you get a Google Map showing the locations of stores in a certain part of Sydney, Australia. As you can see, th

[android-developers] Re: Help: My app has violated the spam provisions of the Content Policy

2012-08-31 Thread Jason Sesso
I would take them out. that's completely wrong to do that IMO. It takes time to search millions of apps. I'm sure theirs will get reported. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] how to show the database(ListView) from another activity

2012-08-30 Thread Jason Sesso
Did you bundle the data from A to send it to B? -- 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+unsub

[android-developers] Implementing ScheduledExecutorService (or an alternative)

2012-08-29 Thread Jason Hsu
What is the best way to make an Android app AUTOMATICALLY execute a series of certain commands periodically? I just published an app called the Battery Saver Flashlight. The source code is on GitHub at https://github.com/jhsu-android/BatterySaverFlashlight . This app has a settings page, and

[android-developers] Re: how to exit from app

2012-08-29 Thread Jason Sesso
Do you need all of the other activities? You can put finish() on the ones that you are leaving when you go to the next one. On Wednesday, August 29, 2012 2:15:02 AM UTC-7, Sadhna Upadhyay wrote: > > Hi everybody, > can some one tell me that how to exit from whole application when user > clic

[android-developers] Re: JellyBean problem on Long click when context menu and android:autolink= "all"

2012-08-29 Thread Jason Sesso
Change your "" to actual text. :P I bet its because it thinks its a phone number. On Wednesday, August 29, 2012 2:08:22 AM UTC-7, Sandy wrote: > > I tried this also .. but the dialer coming in this case also , I think > its platform bug, what u say?? > > O

[android-developers] Re: New to developing

2012-08-29 Thread Jason Sesso
look for the values folder and in there is strings.xml There should be an entry named edit_message in there. On Tuesday, August 28, 2012 3:22:14 PM UTC-7, Lee wrote: > > As such I took your advice and started with the Hello World tutorial, and > surprise! Errors errors and an error. > > > http:

[android-developers] Re: JellyBean problem on Long click when context menu and android:autolink= "all"

2012-08-29 Thread Jason Sesso
, August 28, 2012 9:05:58 PM UTC-7, Sandy wrote: > > > Hi Please let me know asap, I am stuck. > On Aug 28, 1:32 pm, Jason Sesso wrote: > > It seems that you. Need to add the onlongclick method. I just did this > recently. Ill get you an example in awhile. > -- Y

[android-developers] Google Play registeration payment fail

2012-08-28 Thread Mr Jason
Hello guys, I'm trying to register Google Play developer by using google wallet payment but it keeps fail. I have entered in my credit card number correctly (i.e. 512X [without spaces]), the CVS number (3 digit numbers at the back of your card), and expiry date as well. I don't u

[android-developers] New app: Battery Saver Flashlight

2012-08-28 Thread Jason Hsu
Check out my latest Android app, the Battery Saver Flashlight. It's available for free on Google Play at https://play.google.com/store/apps/details?id=com.jasonhsu.batterysaverflashlight . This flashlight app lets you conserve battery power with convenient in-app options to disable your powe

[android-developers] NEW APP: Battery Saver Flashlight

2012-08-28 Thread Jason Hsu
Check out my latest Android app, the Battery Saver Flashlight. It's available for free on Google Play at https://play.google.com/store/apps/details?id=com.jasonhsu.batterysaverflashlight&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5qYXNvbmhzdS5iYXR0ZXJ5c2F2ZXJmbGFzaGxpZ2h0Il0 . This flashl

[android-developers] Re: Android maven plugin: Adding android support jar to test project ~ Cannot load class 'android.support.v4.os.ParcelableCompatCreatorHoneycombMR2'

2012-08-28 Thread Jason Sesso
I'm trying to understand mavens purpose -- 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...@go

[android-developers] Writing to External SD

2012-08-28 Thread Jason Sesso
Create a dialog. For them to choose and then save the preference. -- 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

[android-developers] Iam new to developing a android app ( stuck in mainactivity class)

2012-08-28 Thread Jason Sesso
Put it below. OnCreate(blah blah) { } sendMessage() { } -- 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-de

[android-developers] JellyBean problem on Long click when context menu and android:autolink= "all"

2012-08-28 Thread Jason Sesso
It seems that you. Need to add the onlongclick method. I just did this recently. Ill get you an example in awhile. -- 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 T

[android-developers] Re: Check This one , this is my first Application in google play

2012-08-27 Thread Jason Sesso
I thought he was the guy LOL On Monday, August 27, 2012 12:18:21 AM UTC-7, Ali Chousein wrote: > > Just my 2 cents: If your app is not an official app for the celebrity > person you're referring to, it might be worth stating this clearly in your > app. Otherwise Google might think you're violati

[android-developers] Re: NullPointerException ... arrrggghhh ... newbie LOST!

2012-08-27 Thread Jason Sesso
does "R.id.btnRetrieveDoc" event exist? On Saturday, August 25, 2012 12:45:20 PM UTC-7, KinnMirr wrote: > > When I run below activity, I get an exception. I've wrapped the exception > in an AlertDialog. Here's what the dialog shows. > * null > null > null > java.lang.NullPo

[android-developers] Re: Best Source for Ads?

2012-08-26 Thread Jason Sesso
I use admob. its alright but am sure others are better. On Sunday, August 26, 2012 9:02:45 PM UTC-7, Jungle Jim wrote: > > I am developing a free Android app that is almost ready to publish. I want > to put a teeny weeny space for ads on it. > > What have been your experiences with the various

[android-developers] Re: Need some help with MyFirstApp tutorial.

2012-08-24 Thread Jason Sesso
He still hasnt created DisplayMessageActivity.java so it will still error until then. :) On Friday, August 24, 2012 10:28:43 PM UTC-7, Juned Khan wrote: > > Hi > > Use this code > > Intent intent = new Intent(your_current_class.this, > DisplayMessageActivity.class); > > startActivity(intent); >

[android-developers] Re: Eclipse Indigo or Juno?

2012-08-24 Thread Jason Sesso
I am using Juno also on Linux. Its just that if you are watching videos or whatever, you create projects a little differently but its no biggie. On Friday, August 24, 2012 6:30:51 AM UTC-7, Daz wrote: > > Thats good to know :-) Its just I don't want to start practising my app > development then

[android-developers] How do I show the wifi status programatically in Android?

2012-08-23 Thread Jason Hsu
I'm just trying to write a simple Android app that programatically shows whether the WiFi is enabled or disabled. I'm unable to get it to print the Wifi status. I'm pretty sure that my code is 99% correct, but that's no better than being 0% correct. My code is below: package com.jasonhsu.wifi

[android-developers] Re: Help with application

2012-08-23 Thread Jason Sesso
You should probably look on developer.android.com and do the hello world app. There you can understand views and activities. On Wednesday, August 22, 2012 9:33:42 PM UTC-7, laila hafsiani wrote: > > hello, my name is laila hafsiani putri. > i'm from indonesian and i'm new in android developer. >

[android-developers] Re: First android app

2012-08-22 Thread Jason Sesso
I just "finished" my first Android app and found that the developer site and google search helped me a lot. You can also use IRC. On Tuesday, August 21, 2012 1:59:20 AM UTC-7, cham herbias wrote: > > I am a computer engineering student. Can you help me with some suggestions > about basic androi

[android-developers] Re: How to access an external database ??

2012-08-22 Thread Jason Sesso
Kinda scary in the security area. You wouldnt be able to setup the database to only accept queries from 1 IP address. On Tuesday, August 21, 2012 2:47:48 AM UTC-7, Mrdison wrote: > > Hi friends... > > I need a little help. I need to link my Sqlite database on android with an > existing databa

Re: [android-developers] Disabling wifi, GPS, Bluetooth, and celluar in an app

2012-08-15 Thread Jason Hsu
I know I can go into airplane mode, but I want to give the user the option of conserving the battery AFTER starting the app by providing in-app buttons. -- 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] Disabling wifi, GPS, Bluetooth, and celluar in an app

2012-08-15 Thread Jason Hsu
I have an idea for an app. In the interest of helping the user conserve battery power, I want to provide the OPTION of disabling battery-draining services like wifi, GPS, Bluetooth, and cellular. How do I implement this? Are there good tutorials/examples that implement such functionality? --

[android-developers] Re: MapView search for nearest grocery stores, gas stations, restaurants, etc.

2012-08-13 Thread Jason Hsu
Would a script in HTML5 be able to provide the automatic Google Map search capability that I'm seeking? Or is having an in-app database the only way? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Re: MapView search for nearest grocery stores, gas stations, restaurants, etc.

2012-08-13 Thread Jason Hsu
Thanks for the quick responses. If there isn't a function that pulls up Google maps and automatically does a search, then how do apps like Meijer Find-itand Liquor Run Mobile

[android-developers] MapView search for nearest grocery stores, gas stations, restaurants, etc.

2012-08-13 Thread Jason Hsu
I've gone through the basic MapView tutorials that display a map and even overlays. Is there a way I can create an Android app that not only pulls up a map but ALSO does an AUTOMATIC search for the grocery stores, gas stations, or restaurants in my area? Where can I find a good tutorial that a

[android-developers] Automatically doing a map search

2012-08-12 Thread Jason Hsu
I've figured out how to get the map exercises from _The Busy Coder's Guide To Android Development_ to work. (This requires right-clicking on the project, going to Properties -> Android and selecting a Google API as the target. It's also necessary to use the keytool command on the debug.keyst

[android-developers] Re: Problems With The Use Of Java Native Libraries in Android !!

2012-07-22 Thread Jason Goemaat
How do you run a java app as root? Calling SU only works for that shell... On Monday, July 16, 2012 9:35:31 PM UTC-5, Melissa Silverio wrote: > > > I'm trying to implement the use of a Java native library called "JNetpCap" > which > works with the handling of network packets. > > I installed th

[android-developers] Re: Best books for learning Android

2012-07-14 Thread Jason Hsu
Thanks so much for your suggestions. As a result, I have subscribed to Mark Murphy's books. Mark, your books provide great examples of Android apps that actually work. And you weren't fooling about being up-to-date, because the new edition you just released INCLUDES the changes in the latest

[android-developers] Best books for learning Android

2012-07-01 Thread Jason Hsu
I'm considering purchasing an Android development book. The fact that I have published my first Android app (Upgrade Your Cereal, available at https://play.google.com/store/apps/details?id=com.jasonhsu.upgradeyourcereal) certifies that I understand the very basics. At the same time, I have jus

[android-developers] Re: How do I set up the project in the Android site's “Managing the Activity Lifecycle” training exercise?

2012-06-30 Thread Jason Hsu
I just need the step-by-step procedure for getting from the *.zip file to a proper implementation in Eclipse. -- 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 unsub

[android-developers] How do I set up the project in the Android site's “Managing the Activity Lifecycle” training exercise?

2012-06-29 Thread Jason Hsu
I'm trying to implement the project in the Android site's "Managing the Activity Lifecycle" training exercise at http://developer.android.com/training/basics/activity-lifecycle/index.html . The instructions don't say how to set it up. A *.zip file is provided, but I can't figure out how to g

[android-developers] Is AUG meeting next Tuesday?

2012-06-29 Thread Jason Hsu
Next Tuesday is July 3rd. Will this group be meeting? -- 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

[android-developers] Renderscript Deprecated

2012-06-29 Thread Jason
droid/renderscript/package-summary.html Thanks, Jason -- 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-deve

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

2012-06-26 Thread Jason Meyer
As Dianne already guessed, my intentions are "semi-misguided". I am a researcher in the field of mobile malware, which is why I asked (and nope, this ain't my real name ;) ). Just to be sure I wanted some confirmation for my guesses. If all goes well, the result of my current work will be some cha

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

2012-06-25 Thread Jason Meyer
On 25 Jun., 02:26, Dianne Hackborn wrote: > Why do you care if there is a tag? Because I figured that is what controls which Permissions can be used by apps. At least for apps stored in "user space" (/data/app/) this seems to be true. As stated here, you can revoke permissions granted at instal

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

2012-06-24 Thread Jason Meyer
I am not sure if it's a standard Android component, and indeed I guess it's not. Still, the possibility exists. However, other system apps show the same behavior regarding their packages.xml entries. Anyway, here's the whole block: I would guess that a file manager would typically a

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

2012-06-24 Thread Jason Meyer
Hey everyone, I checked back all the details you gave me. However, my findings are still not satisfactory. The shared UID bit turned out to be true - for some of the packages stored in /system/app/, but unfortunately not for all. System apps with a shared user ID usually get their permissions def

[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: 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] Permissions for System Apps (not in /data/system/packages.xml?)

2012-06-17 Thread Jason Meyer
ve , but none of the APK files stored in /system/app has a block. How come? Where are their permissions stored? Or are permissions just granted to apps with APK files in /system/app/ on demand? Regards, Jason PS: For those w/o prior knowledge: Android has two directories for storing app APK file

[android-developers] Your favorite tutorials

2012-06-12 Thread Jason Hsu
What are your favorite Android development tutorial apps? I don't like most of the Android tutorials I see. All too often, they don't work or are explained poorly. Please post in this thread your favorite tutorials. There are only a few that I've tried that I would recommend. The first is A

[android-developers] notifyDataSetChanged() & Timing of Events on UI Thread

2012-05-30 Thread Jason Teagle
I'm subclassing BaseAdapter to simply serve up images for a GridView based on internal data. The main UI allows the user to drag these images 'off' the grid. The drag image is a separate ImageView vying for Z order with the grid in their parent layout. Whenever I reposition the drag image usin

Re: [android-developers] Re: I am getting an error "uses-feature"

2012-05-30 Thread Jason Teagle
Missing closing quotes ( before the /> ) on the following 2 lines: (and -- 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

Re: [android-developers] what if package is uninstalled while another package holds its Context?

2012-05-29 Thread Jason Teagle
(To the OP) I may be missing something here, but why do you use a cached reference to package B's context? I believe you said that trying to grab the context after B has been uninstalled fails, as expected - so why not use this as a test to see whether A should be allowed to go ahead and use

Re: [android-developers] Create an object class but error

2012-05-23 Thread Jason Teagle
I've create an object class but it cannot work. any mistake of my code? private void setName() { // TODO Auto-generated method stub getNameText(); for (int i=0; iplayer.setPlayerName(name); // name is a String get from EditText by some code before } } when I run the programme, it have the

Re: [android-developers] back arrow

2012-05-22 Thread Jason Teagle
In my app a make button which is function to open item which has been open before that-back button...but i whant to implement that function in button on android phone...button looks like arrow... In your the activity you launch from your first button: @Override public void onBackPressed() {

Re: [android-developers] Re: How can I send an image from an sql database to an android client?

2012-05-22 Thread Jason Teagle
It does seem to decode the string into bytes(ie: not null), but the image that is made from thos bytes by the bitmapfactory is null. -- You need to confirm that the decoded bytes at the client end match the original bytes at the server end. Can you manually download the image in question and

Re: [android-developers] How to develop the screen like applications menu screen in android

2012-05-22 Thread Jason Teagle
means if more than 9 icon images the the other should include to the next page like in applications list as grid. can anybody suggest me to implement this Take a look at the ViewPager class. -- You received this message because you are subscribed to the Google Groups "Android Developers" gro

Re: [android-developers] Button is not actionable when i set to button background color

2012-05-21 Thread Jason Teagle
issue is in single alert box we display 16 buttons with different back ground colors and we handling the listener for getting the result which button is clicked(setonclick listener) but button is not actionable(requirement is Color selector box). It seems unlikely that just changing its colour

Re: [android-developers] Re: Import Contacts from .vcf file in Android 2.1

2012-05-20 Thread Jason Teagle
I don't know how to use this .vcf file to import all these contacts using code. The .vcf file contains all the details of all contacts including photos etc. Please try to use search engines to find what you need before asking. A Google search took 5 seconds: http://en.wikipedia.org/wiki/VCard

Re: [android-developers] Re: protected static boolean

2012-05-19 Thread Jason Teagle
and then it will be PackageManager manager = this.getPackageManager(); Not quite. In a static method, there is no 'this' because the method does not belong to an instance of the class - but to the class as a whole. You will find that it won't compile. Inside your isProInstalled() method, usi

  1   2   3   4   5   6   7   8   9   10   >