[android-developers] Cannot send notification under managed profile (android for work)

2016-01-11 Thread hai zhu
I am writing an app to run under the managed profile (android for work). But it always crashed when sending a notification. Here is the sample code: protected void onResume() { super.onResume(); final Notification.Builder builder = new Notification.Builder(this); builder.setAutoCanc

[android-developers] Cannot send notification under managed profile (android for work)

2016-01-11 Thread hai zhu
I am writing an app to run under the managed profile (android for work). But it always crashed when sending a notification. Here is the sample code: protected void onResume() { super.onResume(); final Notification.Builder builder = new Notification.Builder(this); builder.setAutoCanc

[android-developers] Re: I can't "My first app working"

2016-01-11 Thread haidardevelopment
The file is: Activity_Display_Message.xml not _Method On Monday, January 11, 2016 at 11:13:27 PM UTC-5, haidarde...@gmail.com wrote: > > Hello, > I recently completed this app and I had the same problem of the app not > running. It appears the issue was within the Activity_Display_Method.xml. >

[android-developers] Re: I can't "My first app working"

2016-01-11 Thread haidardevelopment
Hello, I recently completed this app and I had the same problem of the app not running. It appears the issue was within the Activity_Display_Method.xml. Copy and paste this code and it should solve your issue: http://schemas.android.com/apk/res/android"; xmlns:app="http://schemas.android.co

[android-developers] I can't "My first app working"

2016-01-11 Thread Ricardo Morales
i followed every step of the Android Studio "My First App" tutorial but I can't get it working when I type my message and the second activity starts. Here is my logcat: 01-11 14:15:03.459 10362-10362/? D/dalvikvm: Late-enabling CheckJNI 01-11 14:15:03.779 10362-10362/com.riotchi.ricki.myfirstapp

[android-developers] ActivityBar Modification Help

2016-01-11 Thread haidardevelopment
Hello, I'm new to developing on Android and I would like to know how to modify my activity bar to include an icon in the upper left corner that can be linked to an action. I found a way to delete the app title and place a picture of the app icon by adding the following code to the MainActivity.j

Re: [android-developers] How to get text stored in Google drive or Dropbox to display on my app?

2016-01-11 Thread Dawid Drozd
Make file public available? Then simply download it ;) On Sun, Jan 10, 2016 at 5:21 PM, Lalu Paul wrote: > Hi, > I want to make an app that can display the text stored in a text file in > Google Drive or Dropbox. > How is that possible? > Thanks, > Lalu Paul > > -- > You received this message be

[android-developers] How are big android applications managaging and optimizing network calls specially for poor networks like 2g ?

2016-01-11 Thread Anshul Jain
Today most of the applications use internet in some way or the other. But in a country like India, network is the one of the major issues for most of the users. Most Indian users are still on mobile networks rather than Wifi. Even networks like 3g tend to be very slow. So in this scenario, how

[android-developers] I want to start cross platform app development

2016-01-11 Thread Tiago Ferreira
Check react native and cordova/ionic. React native uses native code paired with javascript to give you a near native performance while allowing you to reuse a lot of code between ios and android. Cordova allows you to render your webapps in webviews. It is less performant, but you literally wri

[android-developers] Game not playing on some compatiable devices

2016-01-11 Thread Terry Hess
I got a couple bad reviews saying my game stops playing on their devise. After looking at the devises with bad reviews the only thing they have in common is the dpi. The three devices with bad reviews have a dpi lower than 320. I have a lot of good reviews and all of the devises have a dpi of 32

Re: [android-developers] Re: how to send a pdf file from android to wifi printer programatically?

2016-01-11 Thread Sanjay Purbey
yes On Mon, Jan 11, 2016 at 7:32 PM, Dinesh Kumar wrote: > can you tell me about your library >> > if you able to connect with printer using wifi > > >> Please help me !! >> >> Thanks in advance !!! >> >> -- > You received this message because you are subscribed to the Google Groups > "Andro

[android-developers] Using a JNI JAR inside of Android Studio

2016-01-11 Thread darrinps
I have a Jar file that contains .so files. I need to use these inside of an Android Studio application. What steps do I have to take to load the jar and access the methods? With normal .so files you would create a directory and drop the .so files there, then load each and every .so file up, th

[android-developers] Successively poor performance of BTLE device discovery in newer versions

2016-01-11 Thread Brian Reinhold
I do not understand this behavior at all but I have noted on the same set of devices as I have moved from OS 4.3 to 6.0 that discovery of Bluetooth Low Energy devices using the 'settings/bluetooth' option is progressively worse. In 5.1 and 6.0 it is so bad that there are certain devices I do not

[android-developers] Re: BluetoothLeGatt doesn't connect on Samsung

2016-01-11 Thread Brian Reinhold
Anything with Error 133 gives useless information. First, are the other two devices pairable (require security/encryption) or is it just the custom device? If it is the former I have found that on Android 5+ there is a bug where one is allowed to try to read or write characteristics that require

[android-developers] Re: Can BLE pairing PIN length be shorter than 6 digits when input from UI

2016-01-11 Thread Brian Reinhold
James, This sounds weird. PINs were only used in classic Bluetooth as far as I know and have since been replaced with SSP. I don't think iOS can do classic Bluetooth so I would expect your are being requested to enter an SSP passcode exposed by a peer device in BTLE. In that case a 6-digit num

[android-developers] Re: BlueTooth Low Energy quick question

2016-01-11 Thread Brian Reinhold
Welcome to the club of those who have no idea. 129 has the description 'Gatt Internal error' which means Android has no idea either. Something didn't work. Another error code which is equally as obscure and useless is 133 'Gatt error'. I guess the only difference is that with 129 something mess

[android-developers] annoying ads in my android application

2016-01-11 Thread Anurag Gupta
i developed android web app using intel xdk cordova after login screen it show full page ads i never integrate ad on please help me -- 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] Android Studio Android App

2016-01-11 Thread William Henry King
Is there any way I can request that Google's Android team code an official Android Studio app for the Play Store, so that we android developers can develop apps on Android itself? And by Android I mean the Remix OS 2.0. The Alpha version is set to be released on the 12th of Jan (tomorrow). By

[android-developers] Re: how to send a pdf file from android to wifi printer programatically?

2016-01-11 Thread Dinesh Kumar
> > can you tell me about your library > if you able to connect with printer using wifi > Please help me !! > > Thanks in advance !!! > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop rece

Re: [android-developers] Re: cant convert my app to apk to publish it to the google store

2016-01-11 Thread Ammar Yasser
the app is made using android studio On 10 January 2016 at 20:44, niks wrote: > Hi Ammar, with convert what I personally understand means that you design > an app either in xamp, ipa etc and you want to convert that app into apk > (google)... IF that is the case you cannot do that and you will h

Re: [android-developers] resuming from last visited page in my app

2016-01-11 Thread sardar khan
use shared prefrences to save the state of the activity http://stackoverflow.com/questions/2441203/how-to-make-an-android-app-return-to-the-last-open-activity-when-relaunched On Mon, Jan 11, 2016 at 11:47 AM, Nay T.K. wrote: > hi, > > I have login page (activity) which is my first activity (land

[android-developers] Access SystemApi

2016-01-11 Thread Satish Ch
Hi, How can I use classes and methods are labelled with @SystemApi annotation. -- 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

[android-developers] Import Project to Android studio

2016-01-11 Thread Er. Anand
Dear Member I need to import a android project which is build in API-14 on our android studio but i got lots of error related to versions and packages after imported can you guys please tell me what is the steps to import older API version app project to Latest android studio i also installed A