[android-developers] Re: Designed for tablets with both minSdkVersion and targetSdkVersion tags?

2013-08-19 Thread MobileVisuals
So is there any way to keep an app tab compatible, while using both the targetSdkVersion and minSdkVersion tags? On Tuesday, August 13, 2013 10:11:50 AM UTC+2, MobileVisuals wrote: I am implementing the new Designed for tablets specification on GP. It is easy to implement and get it to work

[android-developers] Can not debug Galaxy s4 mini

2013-08-19 Thread MobileVisuals
I can not debug my Galaxy s4 mini. Android device chooser starts, but the OK button is greyed out. This makes it impossible to proceed. It looks like the screenshot here: http://www.mobile-visuals.com/deb.jpg How should I proceed to get this working? Does this happen because the target has

[android-developers] Re: How to achieve functionality of ListView FastScroll in Chrome for Android

2013-08-19 Thread Piren
How is this related to Android Developers? On Monday, August 19, 2013 3:25:05 AM UTC+3, anaran wrote: Hi All! I am trying to convert an app I wrote from a native android ListView with FastScroll to an offline-capable web app. The stock Chrome on Windows scrollbar thumb allows me to

[android-developers] Re: Can not debug Galaxy s4 mini

2013-08-19 Thread Piren
It's because it says the device is offline. disconnect it from the computer and plug it back in. if it wont change to online try switching USB ports. If still offline, restart the device. On Monday, August 19, 2013 11:14:29 AM UTC+3, MobileVisuals wrote: I can not debug my Galaxy s4 mini.

[android-developers] Thoughts of the design and development in an android environment

2013-08-19 Thread Jigal sanders
Hello Everyone, I have got a software design question which is related to android development (because I have already started to develop it in android.) But there is a few things I want to know and have idea's about. The system It is about an adnroid app which is created to run on tabs. The

Re: [android-developers] JNI

2013-08-19 Thread janvi
Hi Still making it clear of what actually my doubt is I have android project(name cpp) with NDK built, and it has wrapper classes .so file also Now in order to use the native functions present in this wrapper classes do I have to copy the wrapper classes and lib folder in my android test

[android-developers] Solve permission denied error when using SystemProperties.set()

2013-08-19 Thread Sampath
Hi, I’ve a problem of not having enough permissions for setting a “persist.x” property from one of the applications. This application shares the UserId of the phone so I tried to hack in property_service.c and add an entry: {“persist.”, AID_RADIO, 0} in property_perms structure.

[android-developers] Re: How to achieve functionality of ListView FastScroll in Chrome for Android?

2013-08-19 Thread anaran
On Monday, August 19, 2013 10:51:55 AM UTC+2, Piren wrote: How is this related to Android Developers? Hello Piren, thanks for your feedback/concern. I chose to ask in the android-developers forum for two reasons: 1. Only people with knowledge of android ListView and FastScroll would

[android-developers] Re: Thoughts of the design and development in an android environment

2013-08-19 Thread Piren
First thing first, a tab is not a good shortcut for the word tablet since it already has meaning when it comes to android development (and any UI development actually), only halfway through your post i understood what you want. Regarding the rest of your post, it has nothing at all to do with

[android-developers] Re: How to achieve functionality of ListView FastScroll in Chrome for Android?

2013-08-19 Thread Piren
But you're not asking about ListView or FastScroll... you're asking about Chrome for Android and writing HTML. On Monday, August 19, 2013 1:52:54 PM UTC+3, anaran wrote: On Monday, August 19, 2013 10:51:55 AM UTC+2, Piren wrote: How is this related to Android Developers? Hello Piren,

[android-developers] Re: Can not debug Galaxy s4 mini

2013-08-19 Thread MobileVisuals
I have restarted the device several times and I have tried every USB port on the PC. It is still the same problem. Do you know how I can proceed to get this fixed? On Monday, August 19, 2013 10:14:29 AM UTC+2, MobileVisuals wrote: I can not debug my Galaxy s4 mini. Android device chooser

[android-developers] Re: Can not debug Galaxy s4 mini

2013-08-19 Thread MobileVisuals
It says target unknown and state offline. I currently don't have a SIM card or a internet connection in the mobile. Is that why it doesn't work? I am waiting to get the SIM card from the operator in my mail. On Monday, August 19, 2013 10:14:29 AM UTC+2, MobileVisuals wrote: I can not debug my

Re: [android-developers] Fwd: Google map is not showing

2013-08-19 Thread Mukesh Srivastav
There get two reasons why the Map is not showing. 1. check the API key. 2. while creating the key make sure you have copied the SHA1 key only and also put down the right package name. On Sat, Aug 17, 2013 at 10:17 AM, nemi chhimpa ern...@gmail.com wrote: -- Forwarded message

Re: [android-developers] GCM based sample app link

2013-08-19 Thread Mukesh Srivastav
There are many tutorials which can helps you in understanding and setting up the GCM, basically it is a two way, first create the Server ID And the API Key and also create a server app which actually sends the notification to the GCM using the Project key. with the help of the Google

Re: [android-developers] Re: Can not debug Galaxy s4 mini

2013-08-19 Thread Mukesh Srivastav
I had the same problem, the first thing is , restart your device and enable the USB Debugging setting uncheck and check. On Mon, Aug 19, 2013 at 6:07 PM, MobileVisuals eyv...@astralvisuals.comwrote: It says target unknown and state offline. I currently don't have a SIM card or a internet

[android-developers] Re: Can not debug Galaxy s4 mini

2013-08-19 Thread Piren
you dont need a sim card. Try Mukesh's suggestion and try restarting the ADB server (adb kill-server and then adb start-server). Also, as a last option, be sure to use the original USB cable that you got with your device. I'm not sure why (or how it's even possible), but i've already noticed

[android-developers] NoClassDefFound Exception, when using imported jar from libs folder

2013-08-19 Thread Skip
I am trying referencing a *libs* folder in my project. *1.)* I created a simple jar with one single dummy class ImportableDummy.java and exported the project as a jar. *Jar Project:* [image: enter image description here] *2.)* Then I put the jar into the *libs folder* inside my Project. The

[android-developers] Re: Can not debug Galaxy s4 mini

2013-08-19 Thread MobileVisuals
I did as Mukesh wrote, but it is still the same problem. I am using the original USB cable. Isn't the ADB server running on the mobile device? If so, do I have to unroot the mobile to execute the adb kill-server command? On Monday, August 19, 2013 10:14:29 AM UTC+2, MobileVisuals wrote:

[android-developers] Re: NoClassDefFound Exception, when using imported jar from libs folder

2013-08-19 Thread Nobu Games
You screenshot shows that your Java library project is built using JavaSE-1.7. Unfortunately that does not work. You have to set the Java compiler version to 1.6 for that project. On Monday, August 19, 2013 8:33:44 AM UTC-5, Skip wrote: I am trying referencing a *libs* folder in my project.

[android-developers] Re: Can not debug Galaxy s4 mini

2013-08-19 Thread Nobu Games
Does your phone show some popup message when you try to debug it from your PC? Beginning with 4.2.2 there is a secure USB debugging feature. You have to explicitly authorize a host computer: http://android-developers.blogspot.com/2013/02/security-enhancements-in-jelly-bean.html If you set up

[android-developers] Re: Can not debug Galaxy s4 mini

2013-08-19 Thread Piren
run it on your development computer, not on the device. On Monday, August 19, 2013 5:15:58 PM UTC+3, MobileVisuals wrote: I did as Mukesh wrote, but it is still the same problem. I am using the original USB cable. Isn't the ADB server running on the mobile device? If so, do I have to

[android-developers] Media.insertImage crash on latest Nexus 7

2013-08-19 Thread limtc
Hi, I have a painting app which works for many years, tested fine under last Nexus 7 and even Nexus 4 with 4.3 update... failed on the latest Nexus 7! When I save a file - this code works for all devices except latest Nexus 7. -- String fileURL = Media.insertImage(getContentResolver(),

Re: [android-developers] Any suggestions for Ad platform in addition to AdMob

2013-08-19 Thread Nathan
On Saturday, August 17, 2013 5:31:43 PM UTC-7, limtc wrote: Thanks pal. I am just afraid of putting all the eggs in one basket. I have a popular simple app with a simple banner ad got banned by AdMob simply because it got too many clicks and I have to appeal (why can't they send me a

Re: [android-developers] Any suggestions for Ad platform in addition to AdMob

2013-08-19 Thread Nathan
Email updates to me [image: Attach a file] Attach a file Edit subject Quote original Add Cc Thanks, everyone, for the great discussion. I am just getting started in the advertising space. 1. Test and experiment 2. Watch out for SDK bloat. Don't ship your app with a gazillion

[android-developers] Re: Can not debug Galaxy s4 mini

2013-08-19 Thread MobileVisuals
You are right, Nobu! The information on the link that you provided says If your development device appears in offline state, you may need to update ADB. I followed the information in http://stackoverflow.com/questions/17916966/missing-sdk-platform-android-api-18 It worked then. On Monday,

[android-developers] Re: to fill an object with return after POST

2013-08-19 Thread Ricardo Cardoso
I use @Background void login(UserWrapper userWrapper){ try { userRestClient.login(userWrapper); sucessLogin(userWrapper); } catch (RestClientException e) { errorLogin(); } } @UiThread void sucessLogin(UserWrapper userWrapper){ pd.dismiss(); Log.d(APP,

[android-developers] Detect when Google Maps API v1 has put up initial map..

2013-08-19 Thread joe131
Hi All, I've already looked at some related posts, but what I've tried isn't working. I have an Overlay where I draw some objects, but they always appear first, on the graph background, then the Google Map finally shows up a few seconds later. I wanted to be able to wait till the map has been

Re: [android-developers] Webscokets

2013-08-19 Thread Gink Labrev
@Kristopher Thanks very much. I found these - https://github.com/koush/AndroidAsync too. It is a Socket.io websocket client. 2013/8/13 Παύλος-Πέτρος Τουρνάρης p.tourna...@gmail.com OMG i came to post the same links Kristopher :P !! Υou got me :P On Tue, Aug 13, 2013 at 4:47 PM, Kristopher

Re: [android-developers] Any suggestions for Ad platform in addition to AdMob

2013-08-19 Thread Miguel Morales
Nathan, I think you may have to do less work if you use Burstly or Mopub as your mediation platform and demote admob to a second class citizen. The require less SDK integrations. You are right, the rich media ad units are the ones that will give you the most bang per impression. I'm not as

[android-developers] How do I call a service, to retrieve data, from a content provider?

2013-08-19 Thread user123
I'm trying to implement a pattern of accessing data source, independently if it's local or remote, using a content provider. So, inside the content provider, for example in the query method: public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String

[android-developers] Re: Fragments navigation and backstack issue

2013-08-19 Thread user123
Hi, thanks. This is not quite what I need, but the OnBackStackChangedListener could be useful. I ended just enabling the default behaviour of letting the backstack increase endlessly when the user switches screens with the navigation. Somebody in StackOverflow adviced this, in order to not

[android-developers] Re: Wrong UTF-8 encoding when getting string programmatically

2013-08-19 Thread user123
Update: The problem was that I was using a custom font and this didn't contain these special chars. There was actually no difference between xml/programmatically, I was testing incorrectly. Am Mittwoch, 17. Juli 2013 12:58:43 UTC+2 schrieb user123: I have a strange issue with vietnamese

[android-developers] Re: How can I identify permanently certain builds of my app (for tracking)?

2013-08-19 Thread user123
Update: There is a flag to detect if the app was preinstalled: ApplicationInfo.FLAG_SYSTEM Am Dienstag, 9. Juli 2013 22:38:42 UTC+2 schrieb user123: I need to identify certain builds of my app permanently. The reason is, that these will be pre-installed in certain devices and they need some

Re: [android-developers] Re: WebView numeric keyboard from HTML

2013-08-19 Thread user123
Yes, thanks, no idea, I think it's working now, probably there was a period of time where the HTML (written by someone else) was incorrect. Am Mittwoch, 5. Juni 2013 18:22:00 UTC+2 schrieb MagouyaWare: I don't know if this will help in your case or not, but I found this after doing some

[android-developers] Set up Beta testing

2013-08-19 Thread Steve Gabrilowitz
I'm working on a new app that I'm not ready to release yet so I made an entry for it in the play store and uploaded an APK as a beta, then published it. I created a new google group for my beta testing and added it as authorized, then went to the given URL to opt in as a beta tester and it

Re: [android-developers] Any suggestions for Ad platform in addition to AdMob

2013-08-19 Thread limtc
Do you have experience with Inneractive or InMobi? I read from a web site that they are the big alternative to AdMob. Anyone can share with me some experience in integrating 2 ads services (says AdMob + Inneractive)? For example, how do you do it in XML when you have 2 ad banners sharing the

Re: [android-developers] Set up Beta testing

2013-08-19 Thread TreKing
On Mon, Aug 19, 2013 at 7:22 PM, Steve Gabrilowitz steveg1...@gmail.comwrote: But when I go there it says page not found! What am I missing here? How long have you waited? It could just not be available yet.

Re: [android-developers] Set up Beta testing

2013-08-19 Thread Steve Gabrilowitz
Yeah, that was it. Thanks! On Mon, Aug 19, 2013 at 10:54 PM, TreKing treking...@gmail.com wrote: On Mon, Aug 19, 2013 at 7:22 PM, Steve Gabrilowitz steveg1...@gmail.comwrote: But when I go there it says page not found! What am I missing here? How long have you waited? It could just

Re: [android-developers] Fwd: Google map is not showing

2013-08-19 Thread nemi chhimpa
Thanks On Mon, Aug 19, 2013 at 6:29 PM, Mukesh Srivastav mukicha...@gmail.comwrote: There get two reasons why the Map is not showing. 1. check the API key. 2. while creating the key make sure you have copied the SHA1 key only and also put down the right package name. On Sat, Aug 17,