[android-developers] Android XML

2014-07-10 Thread janvi
Hello All, I have an issue in my App. I have three activities called A , B ,C In the activity A I have a button and onclick of that I open another Activity called ShowChart.Onback press of ShowChart Activity I navigate to Activity A Onback press of Activity A I close the App. Following is

Re: [android-developers] Android GCM without a 3rd party server (Device to Device push notification without 3rd party server via GCM)

2014-07-09 Thread Mukesh Srivastav
@Haris.. You would need to store the GCM- Registration Id in the Database(Server side) so that the Server API/Webservice api/ should able to pick the Registration Id from the DB and send me message to the correct device (Based on the registration id). here is the way i used it. I have an

Re: [android-developers] Android GCM without a 3rd party server (Device to Device push notification without 3rd party server via GCM)

2014-07-09 Thread Mukesh Srivastav
Further to that. . as soon the APK register the device it gets the RegistrationId which inturn store in the Server DB so that the Server can push the messsage. for example; https://myserver/api/updategcmdata driverid=2113 registrationid=x The service will update/create the new record in the

Re: [android-developers] Android GCM without a 3rd party server (Device to Device push notification without 3rd party server via GCM)

2014-07-09 Thread Harri Smatt
Yes, I believe we are talking about the same key (I did only a brief check on GCM documentation and thought it's called Sender Id, my bad). Still, I am not exactly sure how Google reacts if/once you start sending push notifications from multiple IPs. I tend to think people are usually limiting the

Re: [android-developers] Android GCM without a 3rd party server (Device to Device push notification without 3rd party server via GCM)

2014-07-08 Thread Harri Smått
On 7 Jul 2014, at 16:38, MS ms.jackspar...@gmail.com wrote: Are we missing anything by not choosing to push via our own server? Is following such an implementation correct? Guess it works - but isn't it any concern to you that you need to bundle your Sender Id, usually stored only on

Re: [android-developers] Android GCM without a 3rd party server (Device to Device push notification without 3rd party server via GCM)

2014-07-08 Thread MS
Hi Harri Smatt, Sender Id needs to be in the App to register with GCM server and get the GCM ID. I believe you are referring to GCM API key. We will be encrypting the GCM API Key in our app. On top of that we will be using DexGuard to obfuscate the code. And more over sending message to GCM is

[android-developers] Android GCM without a 3rd party server (Device to Device push notification without 3rd party server via GCM)

2014-07-07 Thread MS
We are writing an Application that will exchange messages between users extensively. We are using Google App Engine *The traditional way *is to have an Application Server that stores all the GCM_ID of the users. So if User 1 wants to send message to User 2, then 1. The User 1 sends the

Re: [android-developers] Android App Failing When downloaded From Google Play

2014-06-29 Thread MathieuB
Did you search just even a little bit on google? http://stackoverflow.com/questions/15409754/getlastknownlocation-returns-null-even-with-best-provider http://stackoverflow.com/questions/19621882/getlastknownlocation-returning-null You should check that _location isn't null and if it is, do

Re: [android-developers] Android App Failing When downloaded From Google Play

2014-06-29 Thread TreKing
On Sat, Jun 28, 2014 at 4:46 PM, Spica spicaneb...@gmail.com wrote: My understanding is that above code should work on any GPS enabled android device. Any insight why it is not working on device other than my development device? If you read the documentation for that method, it explicitly

Re: [android-developers] Android App Failing When downloaded From Google Play

2014-06-28 Thread TreKing
On Fri, Jun 27, 2014 at 11:39 PM, Spica spicaneb...@gmail.com wrote: Any idea why it is not working on all the android devices? Because you didn't test and account for all android devices. If you want a better answer than that, you need to provide a better question than this. For example,

[android-developers] Android Preview L and splitActionBarWhenNarrow

2014-06-28 Thread Kostya Vasilyev
Did anyone else playing with Preview L notice their splitActionBarWhenNarrow application attribute not working, when using the Material theme? I wonder if this is an accidental bug, or a intentional change (given that Google's own apps seem to not be using a split action bar these days)? -- K

Re: [android-developers] Android App Failing When downloaded From Google Play

2014-06-28 Thread Spica
TreKing - i have nerrowed down the problem and its with GPS location. Here is the code which is not working: _locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); Criteria criteria = new Criteria(); _provider = _locationManager.getBestProvider(criteria, false);

[android-developers] Android L - FAB Button

2014-06-27 Thread YanuFreaky
Hello devs, Is there already a defined style or a component for this new circular FAB button? Or should I just make it myself? The button is described here: http://www.google.com/design/spec/components/buttons.html# Thanks, Yanu -- You received this message because you are subscribed to

[android-developers] Android App Failing When downloaded From Google Play

2014-06-27 Thread Spica
Hi, I have developed android app using Galaxy S3. When i published my app on google play, it does not perform few functions which includes GPS access or SQL lite access. Any idea why it is not working on all the android devices? Note: My app has been developed for Android 4.2. Thanks

[android-developers] Android Audo and A2DP sink / HFP - HF

2014-06-26 Thread NimeshChanchani
just curious if Android auto will support A2DP sink and HFP HF. will it be open source if it does? -- 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

[android-developers] Android Auto and A2DP sink / HFP - HF

2014-06-26 Thread NimeshChanchani
just curious if Android auto will support A2DP sink and HFP HF. will it be open source if it does? -- 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

[android-developers] Android internals

2014-06-16 Thread ANKUR GOEL
Hi all , i wanna some tutorials and videos where i can see how the android internal works , which part of OS reads the manifest , how the intent service works internally etc Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Android Studio / Gradle - how to force use of aar dependency when both jar and aar are available?

2014-06-16 Thread Paul LeBeau
Hi all I have an Android library project and, up till now, I have been pushing jar files to the Maven Central repository. For the latest release I have pushed a .aar file as well for use by Android Studio users. However when I try to test the aar file in a project, it doesn't work. Android

Re: [android-developers] android spreadsheet api and example.

2014-06-03 Thread TreKing
On Tue, Jun 3, 2014 at 12:40 AM, Arun Kumar arunkumar...@gmail.com wrote: I want to use google spreadsheet as a database for an android app. Is there an android library for this? This Google Spreadsheets API version 3.0 https://developers.google.com/google-apps/spreadsheets/ has library for

[android-developers] android spreadsheet api and example.

2014-06-02 Thread Arun Kumar
Hi All, I want to use google spreadsheet as a database for an android app. Is there an android library for this? This Google Spreadsheets API version 3.0 https://developers.google.com/google-apps/spreadsheets/ has library for .NET and java only. How to use it in an android app. -- Regards,

[android-developers] Android Keystore getEntry() and generateKeyPair() throw Exceptions sometimes

2014-05-31 Thread pskr
My Android app need to encrypt a file so that it can decrypt and read it later. This should not be decrypt-able by anybody else other than the app, even user - in other words, it is application secret data. Following is how I am doing the encryption and decryption. This works most of the

[android-developers] Android how we can generate apk file from Android application.

2014-05-25 Thread 12169
Hi, I want to make an application which has some ui template and in each template user can change the icon and text messages and after it there is a button on the bottom of the application that will generate the apk of the that template. i want to get some guidence on this topic. -- You

[android-developers] Android ADT problem on eclipse

2014-05-21 Thread dashman
I updated to ADT 22.6.3 and having problems. On Eclipse startup getting an error message to update ADT. I read some other messages and went to eclipse install-new-software. and tried to update from https://dl-ssl.google.com/android/eclipse/ When I try to update the ADT from there... I get

Re: [android-developers] Android ADT problem on eclipse

2014-05-21 Thread Marina Cuello
On your Install new software screen, uncheck the Contact all update sites during install to find required software and try again. Marina On Wed, May 21, 2014 at 11:37 AM, dashman erjdri...@gmail.com wrote: I updated to ADT 22.6.3 and having problems. On Eclipse startup getting an error

Re: [android-developers] Android ADT problem on eclipse

2014-05-21 Thread dashman
I was using HELIOS version of eclipse. Looks like this ADT requires a more updated version. I upgraded to Kepler and then it worked. On Wednesday, May 21, 2014 10:54:58 AM UTC-4, Marina Cuello wrote: On your Install new software screen, uncheck the Contact all update sites during install

[android-developers] Android native process pauses after 10 to 15 seconds

2014-05-16 Thread Put_tiMe
[I'm not sure if I have to ask this question in the NDK forum] I have an Android Java app, and also a native app. The native app is launched from the Java app, like this: mProcess = Runtime.getRuntime().exec(cmdLaunch, null, new File(files_dir)); The native process actually runs in a loop,

[android-developers] Android WebView HalfLoad on orientation Changes

2014-05-12 Thread Rahul Kaushik
Hi, I have an html in web view, when i change the orientation, at the first time form comes in 50% of the screen and blank white space comes in the left 50 %. In few seconds, it displays fine. i have tried on android:configChanges=orientation|keyboardHidden|screenSize but no Luck. Please

[android-developers] Android Pinch zoom not working over imageview inside gesture overlayview

2014-04-17 Thread KK
I am doing the following in my application. 1) Display a image in a activity. 2) Recognize gesture over that image. 3) And also doing pinch and zoom over the same image. The layout I have created is given below. *?xml version=1.0 encoding=utf-8?* *FrameLayout

Re: [android-developers] Android how to draw a circle ring as shown in the image.

2014-04-14 Thread Marina Cuello
Sometimes, the problem when your first language is not English is that you don't know how to search on Google. What I mean is that you don't know the right words. When I can't find what I need, but I'm sure there must be something out there, I often use synonyms. In this case, you get what you

Re: [android-developers] Android how to draw a circle ring as shown in the image.

2014-04-12 Thread TreKing
On Fri, Apr 11, 2014 at 6:32 AM, 12169 ashish.a...@gmail.com wrote: Android how to make a circle ring as shown in the image. it show the progress of download process. any help how to make this circle What have you tried so far?

[android-developers] Android how to draw a circle ring as shown in the image.

2014-04-11 Thread 12169
Android how to make a circle ring as shown in the image. it show the progress of download process. any help how to make this circle -- 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] Android to open dual sim settings page .

2014-03-27 Thread 12169
Hi, In General Dual Sim Device Data Roaming option is available at Settings/Dual Sim Settings .As per search i donot find any way to open this page.Any help? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Android 3g simcard provide wrong cellid.

2014-03-17 Thread 12169
Hi, I use the below code to get cell id,but for 3g sim card it provides wrong cell id. int getCellId() { try { final TelephonyManager telephony = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); if (telephony.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM) { final

[android-developers] Android how differentiate between sd_card and internal storage.

2014-03-15 Thread 12169
Hi, After study ,i found it is very difficult in android to decide the whether SDCard present in the device or not.Any suggestion to find this. -- 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] Android 4.2 and above how we can read APN.

2014-03-15 Thread 12169
Hi, Is there is any way to read APN in andoid 4.2 and above -- 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 app to desktop app interfacing

2014-03-13 Thread sourabh sahu
Dear All, Can anybody, Please provide pointers for developing an android app and desktop app in java with following functionality. My Android app has sqlite database in which few tables are there, whenever I connect my USB to Device,and on start of Desktop application will show all the details

[android-developers] Android WebView resolving URL occasionally results in multiple hits with different user agents

2014-03-04 Thread Richard Norbron
Hope you guys can offer me some advice. I'm using a WebView component in a wrapper application. It has been observed that when hitting a certain URL multiple hits are made to the same page in quick succession but passing different user agents. For example: - LOAD URL TO WEBVIEW -

[android-developers] Android to open a message of device settings .

2014-03-01 Thread 12169
Hi, On a button click i open's device settings page but now i want to open a message on the device settings page. for reference i have attached the screenshot of an application that do this thing.Any help ?

[android-developers] Android Studio - libraries always called classes.jar

2014-02-12 Thread MarkG123
I can't seem to find anywhere to set the output filename of my class in Android studio. I have looked in the project setting, and the god-awful gradle files that get spewed all over the place. Am I missing something obvious? (other than renaming by hand). Thanks. -- You received this

[android-developers] Androidアプリで電波の周波数IDを取得する方法を知りたいです!!

2014-02-03 Thread android.makilette
2014/01/31 14:33 安藤玲生 android.makile...@gmail.com: To:みなさま レオです。お世話になります。 緊急で質問がありメールしました。 Androidアプリで電波の周波数IDを取得する方法を知りたいです!! PhoneStateListener#onSignalStrengthsChanged(SignalStrength sigStrength)で、 電波強度の値やレベル、通信方法の情報は取得できましたが、 周波数IDだけ取得方法がわかりません。 以上よろしくお願いいたします。 -- You received this

[android-developers] Android API for editing video.

2014-02-02 Thread Yatish
Hi , I am looking for android APIs or lib for editing Video. I wan to create an application which will use for editing videos. Please provide your valuable suggestions. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Android API for editing video.

2014-02-02 Thread Kristopher Micinski
I seriously doubt that any video editing API exists for Android, specifically given that finding video manipulation APIs is already difficult, and most of them probably use huge amounts of heap space and native code. Your best shot would probably be to take an API and try to make it work on

[android-developers] Android how to manage the text size for different screen sizes.

2014-02-01 Thread 12169
Hi, I have an application and text size looks very fine on 4.7 inch device.but when run the application on 7 and 2.3 inch devices it look very bad.what is best way to manage the text size for different screen sizes. -- You received this message because you are subscribed to the Google

[android-developers] Android Studio does not see compile dependencies added in project.afterEvaluate

2014-01-27 Thread Alexander Osmanov
Hi, I am writing a Gradle plugin that would add compile dependencies based on values I declare in extension. More specifically in extension I declare a version of a lib I want to be added. So like this: awslibs { awslib1 { version '1.0.0' } } However in plugin apply method this

[android-developers] Android is there any api that provide info about screen elements.

2014-01-26 Thread 12169
Hi, I have an application in which i open the device settings page. when i open these pages i want to know about the position of the elements on the settings pages. e.g when i open the setting page Flight Mode, i want to get the position of this elements on the screen. any help? -- You

Re: [android-developers] Android is there any api that provide info about screen elements.

2014-01-26 Thread TreKing
On Sun, Jan 26, 2014 at 2:00 AM, 12169 ashish.a...@gmail.com wrote: e.g when i open the setting page Flight Mode, i want to get the position of this elements on the screen. I highly doubt there is a official facility to accomplish this.

Re: [android-developers] Android is there any api that provide info about screen elements.

2014-01-26 Thread Kristopher Micinski
Generally there aren't any APIs that will let you access information about other applications. This is mostly for security reasons. So the answer to your question is no. Kris On Sun, Jan 26, 2014 at 3:00 AM, 12169 ashish.a...@gmail.com wrote: Hi, I have an application in which i open the

Re: [android-developers] Android Implementation of Emacs

2014-01-20 Thread lbendlin
There is a developer keyboard app available on the Google store that has all the required keys. Also has arrow keys which are kinda important for working with editors. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Android Toast is not clickable in some devices.

2014-01-19 Thread 12169
Hi, any help for the below question. http://stackoverflow.com/questions/21201203/custom-toast-is-not-clickable-in-some-devices -- 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] Android Implementation of Emacs

2014-01-19 Thread Umar
I downloaded an implementation of Emacs from Google Play store. I am trying to make it work on my Samsung Note 2. Does anyone know which key maps to Ctrl and Esc (on the smartphone keyboard)? Is there any other versatile editor similar to Emacs that works well for Android developers? Thanks

Re: [android-developers] Android Implementation of Emacs

2014-01-19 Thread Michael Banzon
Maybe it require an external keyboard? On Sun, Jan 19, 2014 at 9:34 PM, Umar ramu.i...@gmail.com wrote: I downloaded an implementation of Emacs from Google Play store. I am trying to make it work on my Samsung Note 2. Does anyone know which key maps to Ctrl and Esc (on the smartphone

Re: [android-developers] Android Toast is not clickable in some devices.

2014-01-19 Thread TreKing
On Sun, Jan 19, 2014 at 6:25 AM, 12169 ashish.a...@gmail.com wrote: Hi, any help for the below question. http://stackoverflow.com/questions/21201203/custom-toast-is-not-clickable-in-some-devices Toast is not supposed to be clickable, AFAIK. Use a dialog instead if this is your requirement.

[android-developers] Android 4.4 WebView cannot load content:// urls in html page

2014-01-10 Thread Ankur Avlani
We found some behavior changes on Kitkat's new Chromium webview implementation. One issue we encountered was the content:// urls in a downloaded html page are no longer getting loaded via the content provider. I was able to put together a small Android app to demonstrate this behavior change

Re: [android-developers] Android app with source code required

2014-01-09 Thread Desan Benz
Thanks for help BT isn't there native android app for this as I am student of java aspx is little to understand . its really urgent for me. Guys help required... On Dec 19, 2013 3:41 AM, 장시영 siro...@gmail.com wrote: hi A Prototype of Mobile Client for E-commerce Application

Re: [android-developers] Android xml2class tool

2014-01-03 Thread Göksel Güren
Thank you guys, i hope that, Eclipse plugin -maybe Android Studio tool- will release soon. Have a good day! 2014/1/2 Παύλος-Πέτρος Τουρνάρης p.tourna...@gmail.com Great work guys! I would like to see it as a plugin for Android Studio too! Keep up! On Thu, Jan 2, 2014 at 2:48 PM, Dinesh

Re: [android-developers] Android xml2class tool

2014-01-02 Thread Mukesh Srivastav
I have tried it, it is nice On Tue, Dec 31, 2013 at 3:40 PM, Göksel Güren goksel7...@gmail.com wrote: Hi everybody, We released a tool for generating Activity Class with only pasting your xml source code to tool. Maybe somebody can use it http://lab.mobillium.com/

Re: [android-developers] Android xml2class tool

2014-01-02 Thread Dinesh kumar
yeah ..great work guys.. On Thu, Jan 2, 2014 at 5:41 PM, Mukesh Srivastav mukicha...@gmail.comwrote: I have tried it, it is nice On Tue, Dec 31, 2013 at 3:40 PM, Göksel Güren goksel7...@gmail.comwrote: Hi everybody, We released a tool for generating Activity Class with only pasting your

Re: [android-developers] Android xml2class tool

2014-01-02 Thread Dinesh kumar
Great,but if you give that as eclipse plugin ... All Developers will thank you,for reducing their work.. On Tue, Dec 31, 2013 at 3:40 PM, Göksel Güren goksel7...@gmail.com wrote: Hi everybody, We released a tool for generating Activity Class with only pasting your xml source code to

Re: [android-developers] Android xml2class tool

2014-01-02 Thread Παύλος-Πέτρος Τουρνάρης
Great work guys! I would like to see it as a plugin for Android Studio too! Keep up! On Thu, Jan 2, 2014 at 2:48 PM, Dinesh kumar dragonfir...@gmail.com wrote: Great,but if you give that as eclipse plugin ... All Developers will thank you,for reducing their work.. On Tue, Dec 31, 2013

[android-developers] Android xml2class tool

2013-12-31 Thread Göksel Güren
Hi everybody, We released a tool for generating Activity Class with only pasting your xml source code to tool. Maybe somebody can use it http://lab.mobillium.com/http://lab.mobillium.com/xml2class/step1 Thanks. -- You received this message because you are subscribed to the Google Groups

[android-developers] Android how we can free the RAM memory of the device.

2013-12-30 Thread 12169
Hi, I have found some applications that claims to free the RAM of the device.after search i have found that they free the inactive memory of the device.but i donot found any api to free the inactive memory of the device.any help how we can free the RAM of the device. -- You received this

[android-developers] Android Webview Client Certificate, Mutual Auth, SSL over Webview

2013-12-25 Thread Alok
I have a Webpage which requires Mutual auth to load the page. I get onReceivedError() with ERROR_FAILED_SSL_HANDSHAKE. In the logs Could not establish a secure connection is printed by Webkit. I have searched extensively but could not find an answer. There are several posts but nothing

[android-developers] Android app with source code required

2013-12-18 Thread Desan Benz
hi i am just beginner of android development as i had taken few days training on android. I am searching for android app project of ecommerce app where different materials can be bought . I hope you guys provide me good ecommerce android app with its source code . Help needed . - Sandesh -- You

Re: [android-developers] Android app with source code required

2013-12-18 Thread 장시영
hi A Prototype of Mobile Client for E-commerce Application http://www.codeproject.com/Articles/233818/A-Prototype-of-Mobile-Client-for-E-commerce-Applic 2013/12/18 Desan Benz sande.b...@gmail.com hi i am just beginner of android development as i had taken few days training on android. I

Re: [android-developers] Android app with source code required

2013-12-18 Thread Kristopher Micinski
This is JavaScript, which probably isn't what Desan wants.. Kris On Wed, Dec 18, 2013 at 4:54 PM, 장시영 siro...@gmail.com wrote: hi A Prototype of Mobile Client for E-commerce Application http://www.codeproject.com/Articles/233818/A-Prototype-of-Mobile-Client-for-E-commerce-Applic

[android-developers] android how to run uiautomator test cases after building the jar file.

2013-12-08 Thread 12169
Hi, After study about uiautomator tool in the android i found it will help to test the other applications automatically . just after building the test cases for that application. I want to know can i run the test cases from my application programmatically? if no then how i can run these

[android-developers] Android problem to use uiautomator.jar

2013-12-06 Thread 12169
Hi, I have run the sample code that uses the uiautomator.jar but when i run the code on the button click. i get exception java.lang.RuntimeException: Stub! but i fail to find the reason for it. any help will be appreciated -- You received this message because you are subscribed to the

Re: [android-developers] Android problem to use uiautomator.jar

2013-12-06 Thread Justin Anderson
http://lmgtfy.com/?q=android+java.lang.runtimeexception+stub Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Dec 6, 2013 at 4:34 AM, 12169 ashish.a...@gmail.com wrote: Hi, I have run the sample code that uses the uiautomator.jar but when i

[android-developers] Android how to run adb commands programatically ?

2013-12-04 Thread 12169
Hi, I run adb command on the cmd ( adb shell getevent ) and found the list of the devices. but how i can run these command programatically ? and check there corresponding output. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Android USB API does not work on all devices

2013-12-04 Thread Aleksandr Konstantinov
Hello all, I'm developing application which talks to MTP devices connected to Android device. Initially I was testing it on Asus Transformer TF101 and it worked as expected. Now I decided to test it on other tablet, namely OVO Air. Both are Android 4.0.x devices and OVO Air has OTG

Re: [android-developers] Android 4.1.2

2013-12-02 Thread Justin Anderson
Ummm... what? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, Nov 9, 2013 at 11:14 AM, tman balageet...@gmail.com wrote: When will be the Android 4.1.2 get the new update to have the function to Move App to SD card? -- You received this

[android-developers] Android 4.4 KitKat NFC AIDs

2013-11-28 Thread nish1013
I have found that AIDs have to be defined in an XML file and then declare that in the manifest. But what if I need to add more AIDs dynamically , what is the process? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Android 4.4 KitKat NFC AIDs

2013-11-28 Thread Dominik
As far as I know this is not possible. This makes it impossible to implement some kind of generic proxy. Dominik -- 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

Re: [android-developers] Android 4.4 Encryption Code Not Backwards Compatible

2013-11-26 Thread Pent
What does key.getAlgorithm() return on 4.4 and previous versions? PBEWithSHA256And256BitAES-CBC-BC on both. What does ecipher.getProvider().getName() return on 4.4 and previous versions? BC on both (bouncy castle I guess) Note that Using Cipher.getInstance() without specifying

[android-developers] Android 4.4 Encryption Code Not Backwards Compatible

2013-11-25 Thread Pent
Since 4.4 my encryption code (working since Android 1.5) fails with... java.security.InvalidKeyException: initialisation vector must be the same length as block size at the init call in the following code: String passphrase = pass; String alg =

Re: [android-developers] Android 4.4 Encryption Code Not Backwards Compatible

2013-11-25 Thread Nikolay Elenkov
On Mon, Nov 25, 2013 at 9:59 PM, Pent supp...@apps.dinglisch.net wrote: Since 4.4 my encryption code (working since Android 1.5) fails with... java.security.InvalidKeyException: initialisation vector must be the same length as block size at the init call in the following code:

[android-developers] Android Studio is driving me nuts

2013-11-22 Thread Brill Pappin
I'm really hating that I can't have more than one project open in the same place. I use that feature *all the time* in Eclipse. So maybe I'm missing something: Can anyone tell me if and how to display a panel similar to the Eclipse Package Explorer panel? -- You received this message

Re: [android-developers] Android Studio is driving me nuts

2013-11-22 Thread Larry Meadors
I'm an IDEA user, so it's less maddening...but it still has it's moments. :) It doesn't do multiple projects in one window - unfortunate, but true. I think if you select the Packages view in the project pane, it'll be close to the Package Explorer view. Larry -- You received this message

Re: [android-developers] Android Studio is driving me nuts

2013-11-22 Thread Brill Pappin
Thanks Larry, I'm both glad and disappointed that I'm not just missing something. I switched from IDEA to Eclipse more than a decade ago, so things are somewhat different now. In Eclipse I'm used to working on multiple projects at once, even if its just a library i need to modify across

Re: [android-developers] Android Studio is driving me nuts

2013-11-22 Thread Tor Norbye
With the new gradle build system you shouldn't have to have different projects for different versions (free, paid, etc.); you should be able to set everything up in a single project, with separate resources and classes (as necessary) for your variations. This is now handled by the build system in

Re: [android-developers] Android Studio is driving me nuts

2013-11-22 Thread Brill Pappin
That does sound like a pretty cool feature, a lot like Maven Modules. Although it might actually resolve the multi-lib project, it is not really the same thing. Having the server code, the mobile code and all my other projects for reference is a big deal. e.g. I've even had a single project

Re: [android-developers] Android Studio is driving me nuts

2013-11-22 Thread Brill Pappin
Just took a closer look at that documentation you sent. Build variants is going to be a *huge* help to me, and one I look forward to getting into. On Saturday, November 23, 2013 1:05:08 AM UTC-5, Brill Pappin wrote: That does sound like a pretty cool feature, a lot like Maven Modules.

[android-developers] android how to use one view in multiple layouts files.

2013-11-13 Thread 12169
Hi, below is the textview and i want to use it in multiple layout files.but i want to change the text of the textview when i use it in multiple layout files? ?xml version=1.0 encoding=utf-8? TextView xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Android to PC connection via USB

2013-11-12 Thread Rahul Kumar
I am developing an app for transferring file from android device to my pc. I have my stored files in internal memory of phone. http://stackoverflow.com/questions/3480663/how-to-tell-if-usb-is-connected-to-android-device Please help me out... -- You received this message because you are

Re: [android-developers] android how to use same layout in the other layout files.

2013-11-11 Thread 12169
Hi, if in the one file i included a text view 2 times then how i can change it. On Saturday, October 19, 2013 11:42:37 AM UTC-7, Steve Gabrilowitz wrote: Give it a tag or an ID so you can find it in your code and change it On Oct 19, 2013 2:32 PM, 12169 ashis...@gmail.com javascript: wrote:

Re: [android-developers] android how to use same layout in the other layout files.

2013-11-11 Thread 12169
On Monday, November 11, 2013 11:11:40 AM UTC-8, 12169 wrote: Hi, if in the one file i included a text view 2 times then how i can change the text of the view. On Saturday, October 19, 2013 11:42:37 AM UTC-7, Steve Gabrilowitz wrote: Give it a tag or an ID so you can find it in your

Re: [android-developers] android how to use same layout in the other layout files.

2013-11-11 Thread Andrew Mackenzie
As stated by Steve. 1) Give the TextView an id. This can be in the included file itself (and hence always the same), or you can set the id for the included part in each include tag if you want (if the TextView is the only thing included and the root view in the included layout). In the two

[android-developers] Android 4.1.2

2013-11-09 Thread tman
When will be the Android 4.1.2 get the new update to have the function to Move App to SD card? -- 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

[android-developers] Android Eclipse icon generator always generates unwanted padding

2013-11-04 Thread Michael Palmer
I'm trying to generate new icons for my app using the Android icon set generator in Eclipse. Even when I set the padding to 0, the resulting icons have padding around them. They are noticeably smaller than they should be. Am I doing something wrong, or is this a bug? Why doesn't setting

[android-developers] Android 2d animation using libgdx or default android animation classes

2013-10-28 Thread Vishwanath M
what is the difference between Android default animation and Libgdx animation lib.? which one is better to use for animation.? -- 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] android connectivity manager

2013-10-27 Thread janvi
Hello All, I have a query here regarding how to find whether our phone has internet connected or not. Using the following code ConnectivityManager cm = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo activeNetwork = cm.getActiveNetworkInfo();

Re: [android-developers] android how to use same layout in the other layout files.

2013-10-19 Thread Andrew Mackenzie
Yes. Use include or ViewStub if not always visible. Depending on your layout, consider using a merge tag as root of included layout to remove a layer from your view hierarchy (for speed and memory). -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] android how to use same layout in the other layout files.

2013-10-19 Thread 12169
Hi, but how i can change the text of TextView. On Friday, October 18, 2013 7:53:55 AM UTC-7, SIVAKUMAR.J wrote: U can acheive this by using include tag in xml layout On Oct 18, 2013 7:23 PM, 12169 ashis...@gmail.com javascript: wrote: Hi, I have below layout file and i want to use it

Re: [android-developers] android how to use same layout in the other layout files.

2013-10-19 Thread Steve Gabrilowitz
Give it a tag or an ID so you can find it in your code and change it On Oct 19, 2013 2:32 PM, 12169 ashish.a...@gmail.com wrote: Hi, but how i can change the text of TextView. On Friday, October 18, 2013 7:53:55 AM UTC-7, SIVAKUMAR.J wrote: U can acheive this by using include tag in xml

[android-developers] android how to increase the width ,height of the box of checkbox.

2013-10-19 Thread 12169
Hi, I want to increase the the width,height of the rectangular box of the checkbox.but did not find any attribute to control it. any help? -- 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] android how to increase the width ,height of the box of checkbox.

2013-10-19 Thread 12169
Hi, I want to increase the the width,height of the rectangular box of the checkbox.but did not find any attribute to control it. any help? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] android how to increase the width ,height of the box of checkbox.

2013-10-19 Thread TreKing
On Sat, Oct 19, 2013 at 2:28 PM, 12169 ashish.a...@gmail.com wrote: I want to increase the the width,height of the rectangular box of the checkbox.but did not find any attribute to control it. any help? The Google is your buddy:

Re: [android-developers] android how to increase the width ,height of the box of checkbox.

2013-10-19 Thread Siva Kumar
U can use style property it will help u On Oct 20, 2013 5:18 AM, TreKing treking...@gmail.com wrote: On Sat, Oct 19, 2013 at 2:28 PM, 12169 ashish.a...@gmail.com wrote: I want to increase the the width,height of the rectangular box of the checkbox.but did not find any attribute to control

[android-developers] android how to use same layout in the other layout files.

2013-10-18 Thread 12169
Hi, I have below layout file and i want to use it inside of other layout files, instead of every time creating it. and inside of other layout files i want to change the text of textview and also want to provide the id to TextView LinearLayout android:layout_width=match_parent

Re: [android-developers] android how to use same layout in the other layout files.

2013-10-18 Thread Siva Kumar
U can acheive this by using include tag in xml layout On Oct 18, 2013 7:23 PM, 12169 ashish.a...@gmail.com wrote: Hi, I have below layout file and i want to use it inside of other layout files, instead of every time creating it. and inside of other layout files i want to change the text of

<    4   5   6   7   8   9   10   11   12   13   >