Re: [android-developers] Re: serverSocket.accept();

2012-03-20 Thread Sumit Tiwari
Thanks, I read that. On Tue, Mar 20, 2012 at 5:20 AM, Lew lewbl...@gmail.com wrote: Sumit wrote: Gave me the link were you have post.. Huh? If you're asking where your own post is, I can't help you. But I'm not sure that's what you're saying. -- Lew Lew wrote: Sumit wrote:

[android-developers] How to control the apps icon size?

2012-03-20 Thread minilin.11
Can anybody tell me how to control the apps icon size? I’m programming a launcher, I list out all applications installed, but the icon size is smaller than older launcher. Thanks Best Regards Lynn Gu —— MSN: minilin...@hotmail.com TEL: +86 13501129124 —— -- You

[android-developers] Re: Is it possible to open an Audio Recorder by more than one app using OpenSL?

2012-03-20 Thread Doug
What do you suppose will happen if 5 processes each ask for audio recording with 5 different combinations of recording frequencies and sample sizes? Is Android obliged to resample audio to those requested parameters for each app? What about 10 apps? That's a lot of resampling. This is the

Re: [android-developers] Same permission defined in multiple applications

2012-03-20 Thread Doug
Dianne, when would you recommend using sharedUserId? Also, are these subtleties documented anywhere? Doug On Monday, March 19, 2012 5:57:33 PM UTC-7, Dianne Hackborn wrote: I strongly recommend avoiding sharedUserId. Note that once you publish an app with this, you can never go back. It

[android-developers] Gps not working in phonegap-1.5.0 android

2012-03-20 Thread subrat kumar panda
Hi All, i am creating a Gps apps in android phonegap-1.5.0. i have added coredova-1.5.0 jar coredova-1.5.0.js. when i send mock data from the DDMS panel , sometimes it says not able to send data to emulator sometimes nothing happens. Here is my code: !DOCTYPE html html head script

Re: [android-developers] Gps not working in phonegap-1.5.0 android

2012-03-20 Thread Marcin Orlowski
This group is not about phonegap development. you will get better support on phonegap list/forum/group (whatever they offer), not here. Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... *Date In Tray* http://bit.ly/dateintraypro - current date at

[android-developers] convert

2012-03-20 Thread jabjab
Is there any good tut. on converting dec-bin-hex-oct where inputs are in textview?. -- 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

[android-developers] Re : Button onclick

2012-03-20 Thread vivek elangovan
Hi members, In my application i need fill input data when i click some button.So on clicking the button then only i need to display input field otherwise i have to hide fields and have to fill data -- You received this message because you are subscribed to the Google

[android-developers] issue in upload

2012-03-20 Thread Rocky
Hi, I uploaded my apps to market yesterday but still it is not showing in market, is it any rules or delay time. -- Thanks Regards Rakesh Kumar Jha Android Developer, Trainer and Mentor Bangalore Skype - rkjhaw (O) +918050753516 (R) +919886336619 -- You received this message because you

Re: [android-developers] issue in upload

2012-03-20 Thread David Olsson
Are you sure you published it or just saved it? On Tue, Mar 20, 2012 at 9:59 AM, Rocky rkjhaw1...@gmail.com wrote: Hi, I uploaded my apps to market yesterday but still it is not showing in market, is it any rules or delay time. -- Thanks Regards Rakesh Kumar Jha Android Developer,

[android-developers] Re: Is it possible to open an Audio Recorder by more than one app using OpenSL?

2012-03-20 Thread smichak
OK - so sharing is impossible. My follow-up is therefore: Is it possible to open the audio input device in a manner that would make it forefit or yield the resource if another application requests it? Again - I am asking this in the context of the OpenSL implementation. I have seen that OpenSL

Re: [android-developers] issue in upload

2012-03-20 Thread Rocky
thanks for reply, yes i published it, now it showing. thanks plz looked it once now it is in beta version. https://play.google.com/store/apps/details?id=com.sst.devicefeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5zc3QuZGV2aWNlIl0 . Apps name - I missed my mobile phone at home. On Tue, Mar

[android-developers] My first apps to market

2012-03-20 Thread Rocky
Plz check it and let me know issue if you finding https://play.google.com/store/apps/details?id=com.sst.devicefeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5zc3QuZGV2aWNlIl0 . Apps name - I missed my mobile phone at home. -- Thanks Regards Rakesh Kumar Jha Android Developer, Trainer and

[android-developers] Re: How to keep activity running

2012-03-20 Thread David Ross
Humbly suggest using BroadcastReceiver that handles a PendingIntent that you use with the AlarmManager as a RTC_WAKEUP if you want to do timed polling of location. Also, use BroadcastReceivers to catch location updates. There was an excellent Google Blog entry:

[android-developers] Media Player problem

2012-03-20 Thread Hamid Ibraheem
hi guys, i'am a beginner in development, and i'am developing an app which i'm using ImageView and the image when it's clicked should play a sound for 6 sec, so i used MediaPlayer i start it inside the (switch case) all woks good, but the problem is when i click on the same imageview the sound

[android-developers] XMPP

2012-03-20 Thread Tarilo
Hi We try to use smack XMPP client for android. Now, we can send and receive messages in chat but the message status request don't work. We test with smack and asmack. Do you have some information about this problem? Thanks -- You received this message because you are subscribed to the

[android-developers] battery use

2012-03-20 Thread 790246...@qq.com
my teacher tell me to do an app about battery use(battery use of per application) i have download several similar apps i have found that they all have the same style when customer want to know about the battery use of per app i wonder does there is a method which can get battery use of per app

[android-developers] Can I customize the size of notification icon on the status bar?

2012-03-20 Thread Youwei Teng
hi, I'm working on a app that needs to show a rectangle(ex: 34x68) status bar icon. android regular icon are : hdpi: 34x34 (total = 38x38) mdpi: 21x21 (total = 25x25) ldpi: 15x15 (total = 19x19) if I use square,the text in the status bar image is too small to see. is there any method to show a

[android-developers] Re: onActivityResult not being called

2012-03-20 Thread FiringCode
Intent().setClass(BrewJournalEdit.this, BaseIngredientEdit.class); to Intent().setClass(BaseIngredientEdit.this, BrewJournalEdit.class); -- 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] authorization token

2012-03-20 Thread ultravolks
Hello, I am trying to understand what the getResult method of AccountManagerFuture does. I am working trying to authenticate in a development environment with GAE and my android phone. When getResult is called and I my android phone is offline I get a IOException. 03-19 13:58:03.933:

[android-developers] Re: onActivityResult not being called

2012-03-20 Thread FiringCode
Below code is some odd. Intent().setClass(BrewJournalEdit.this, BaseIngredientEdit.class); How about changing to below code? Intent().setClass(BaseIngredientEdit.this, BrewJournalEdit.class); 2012년 3월 20일 화요일 오후 12시 1분 48초 UTC+9, Joey Selah 님의 말: I'm having an issue where the

[android-developers] Re: source of Runkeeper api

2012-03-20 Thread Bill Day
I am RunKeeper's Platform Evangelist for the Health Graph API. There's technical and partner information on the Health Graph and how to start using it (it's free to use, btw) from the presentations and links here: http://blog.healthgraph.com/about/ I would be very happy to answer any questions

[android-developers] A question about after repo sync the first time

2012-03-20 Thread cheng zheng
Hi guys, When I repo synced Android the first time, I met some errors. I searched online and someone suggested using repo sync -f instead. I just found this command seems to skip any errors during synchronization. Now I cannot compile my Android. But after the first time, I found repo sync does a

[android-developers] Building and Flashing Galaxy Nexus Phone

2012-03-20 Thread kapil.ricky
Hi all, I just got one Galaxy Nexus Phone from eBay. I followed following steps to build and flash my custom image. But its not booting up :( 1.Sync AOSP 4.-3 Source Code. Also i extracted prebuild binaries for 4.03 from : http://code.google.com/android/nexus/drivers.html;. After extracting i

Re: [android-developers] LocationManager requestLocationUpdates minTime parameter not working

2012-03-20 Thread StarTraX
I'm really fed up reading about the min time and min distance being a hint. If there's a complex interaction between our parameters and the resulting effect, why isn't it documented? Just how the heck does it work? I'm using the NMEA listener and want to have direct but high level control over

[android-developers] Authorization token from local GAE

2012-03-20 Thread ultravolks
Hello, is it possible to get an authorization token from a local Google App Engine without being connected to the Internet. When I call AccountManagerFuture getResult() I can get a token only if I am connected to the Internet. With the code below, If I am off line IOException shows up. Could you

[android-developers] Android 4.0 Start service on reboot

2012-03-20 Thread Johnny
Hello, Does anyone have a code example of starting a service with a broadcast receiver using Android 4.0. Right now the same code that works on Android Honeycomb does not work on 4.0. This code is a simple xml based broadcast receiver. Thanks in advance! -- You received this message because

[android-developers] Error while running the trace file.

2012-03-20 Thread Bhagirath Purushotham
tools # ./traceview MyTrace.trace Error Loading DDMS Preferences No protocol specified Exception in thread main org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.widgets.Display.createDisplay(Unknown

[android-developers] Casting string as a class (ie. RadioButton)

2012-03-20 Thread Bozzified
Sorry if it's a rudimentary question about Java as I'm coming from AS3 and just basically starting out. Though I understand many concepts so far and am writing my first app I'm trying to find best practices in some cases. My question is the following. In AS3, I could I address an instance of a

[android-developers] Android 4.0 issue with Activity Stack and Task Stack

2012-03-20 Thread devilcol
I am developing an app for android 4.0. I am confuse with Task and Activity stack for Android 4.0. suppose I have activities X,Y,Z of the same app. so when i fire Home intent with flag activity_clear_task i am navigated to home which is expected. case I when I am in some other app's activity say

[android-developers] How to filter sound frequency coming from Microphone?

2012-03-20 Thread 胡朗月
I had submitted one subject,but can nof find it.So repet once again. I want to develop one APP on android, record sound from mic, and only catch some frequency which users appoint. For example, I just wnat to record 1-15000Hz voice. I check the android Media api, and can not find way to

[android-developers] One application with different resources

2012-03-20 Thread Dominic
Hi, I have an application which will get different Designs. So I look for something where I can put the pictures in different projects. So I could change the design by only change one package and I haven't store all pictures in my resource folder and have to change them programmatically. Is

[android-developers] Email-dependent app

2012-03-20 Thread johnlugh
I'm trying to design an app which monitors how often users check their email inboxes and also which has behaviour which depends on the rate of these checks- i.e. punishing for overfrequent checks. As I'm new to Android programming, I'm not quite sure if this is possible as it would need to be

[android-developers] TestHTTP

2012-03-20 Thread Jeremy Li
I wrote some codes to test httpClient in andorid. This is my onCreate() function, and i got some errors like 03-19 10:00:37.832: E/AndroidRuntime(1208): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.lilg/com.lilg.TestHTTPActivity}: java.lang.IllegalStateException: Target

[android-developers] X64 drivers

2012-03-20 Thread Bojan Bunić
On your site, http://unlockbootloader.sonymobile.com/, you provide a driver for the SE devices for fastboot and ADB. SE device ID's are provided only for x86 drivers. Please correct the .inf file you provide on your site with a correct one for x86 and AMD64: [Google.NTx86] ; SonyEricsson

Re: [android-developers] Building and Flashing Galaxy Nexus Phone

2012-03-20 Thread Mark Murphy
This list is for developing applications with the Android SDK. Please visit http://source.android.com for assistance with firmware questions. On Mon, Mar 19, 2012 at 5:15 AM, kapil.ricky kapil.ri...@gmail.com wrote: Hi all, I just got one Galaxy Nexus Phone from eBay. I followed following

Re: [android-developers] One application with different resources

2012-03-20 Thread Mark Murphy
Convert your application into an Android library project. Create regular Android projects for each of your designs. Have the regular Android projects reference the library project. On Tue, Mar 20, 2012 at 3:30 AM, Dominic domi...@googlemail.com wrote: Hi, I have an application which will get

Re: [android-developers] A question about after repo sync the first time

2012-03-20 Thread Mark Murphy
This list is for developing applications with the Android SDK. Please visit http://source.android.com for assistance with firmware questions. On Mon, Mar 19, 2012 at 11:55 AM, cheng zheng czheng4mailingl...@gmail.com wrote: Hi guys, When I repo synced Android the first time, I met some errors.

Re: [android-developers] LocationManager requestLocationUpdates minTime parameter not working

2012-03-20 Thread Mark Murphy
On Mon, Mar 19, 2012 at 8:28 PM, StarTraX gpsanima...@gmail.com wrote: I'm really fed up reading about the min time and min distance being a hint. Minimum time is a hint. Minimum distance is honored as a filter. If there's a complex interaction between our parameters and the resulting

Re: [android-developers] Android 4.0 Start service on reboot

2012-03-20 Thread Mark Murphy
Your code probably does work on 4.0. However, the user will have to launch one of your activities before you will start to receive any broadcasts, including BOOT_COMPLETED: http://commonsware.com/blog/2011/07/13/boot-completed-regression-confirmed.html On Tue, Mar 20, 2012 at 1:00 AM, Johnny

[android-developers] Re: Re : Button onclick

2012-03-20 Thread vivek elangovan
hi, I want to display a spinner on clicking the button and i m trying like this : submit.setOnClickListener((OnClickListener) this); and in OnClick : public void onClick(View v) { setContentView(R.layout.offense);

[android-developers] Android adb permision error

2012-03-20 Thread Hera
Hello, I have installed the android SDK but I’m getting an error when using a hardware device, executing “./adb device$ I get this error: List of devices attached no permissions While if I execute “sudo ./adb device” there is no error: List of devices attached HT019P80XXX

[android-developers] hi

2012-03-20 Thread chowdary nani
Hi All I need help on reading the html source of a page in android i am able to load the html link in webview and able to read html source but my problem is while i am reading the html source of my page i am unable to get access token and user id i am unable to find where i am going wrong

[android-developers] AlarmManager.RTC don´t work

2012-03-20 Thread BearTi
Hi, I want to start a service for example every hour. I implement an AlarmManager: AlarmManager mgr =(AlarmManager)Main.this.getSystemService(Context.ALARM_SERVICE); Intent i = new Intent(this.getApplicationContext(), UpdateWidgetService.class); PendingIntent pi =

[android-developers] Re: Android 4.0 Start service on reboot

2012-03-20 Thread Johnny
Found the sound of the post; The user just needs to start the app once. From the point forward; on reboot code works as expected; is that correct? On Mar 20, 6:15 am, Mark Murphy mmur...@commonsware.com wrote: Your code probably does work on 4.0. However, the user will have to launch one of

Re: [android-developers] battery use

2012-03-20 Thread Anirudh Loya
You wanted Battery Use age per app ? I mean, if an app is open how much amount of battery its is taking ? On Mon, Mar 19, 2012 at 3:53 PM, 790246...@qq.com 790246...@qq.com wrote: my teacher tell me to do an app about battery use(battery use of per application) i have download several

Re: [android-developers] Re: Android 4.0 Start service on reboot

2012-03-20 Thread Kostya Vasilyev
It is, starting with Android 3.1 (not 4.0). http://developer.android.com/sdk/android-3.1.html Under Launch controls on stopped applications. -- K 20 марта 2012 г. 16:37 пользователь Johnny jali...@gmail.com написал: Found the sound of the post; The user just needs to start the app once. From

[android-developers] Does android.nfc package works with tablets

2012-03-20 Thread mcoto800
Hi, Im new on android development. What i want to do is connect a NFC reader to the USB of a tablet. So what i want to know first of all is if its possible, if it is possible what brand and model of NFC and tablet should i buy and what version of android is required to use android.nfc package.

[android-developers] Wifi - WPS Groupcipher and Pairwisecipher

2012-03-20 Thread martin schliefellner
Hi, I want to write a WPS record on a NFC tag. Then i read the tag and configurate the wifi data stored on this tag. This happens with Android (WIFI-Pairing). I took the NFC-Handover Specification and there is a sample Tag. The problem is - can is distinct between saving a Groupcipher and a

[android-developers] Re: Open KML/KMZ File Links in Google Earth

2012-03-20 Thread Manuele A.
Hello I am trying to open google earth from my test app and I wanted to see a kml file that I have in sd. I read that you did but as you have done as you called the intent? I tried that but it does not work . Intent i = new Intent(Intent.ACTION_MAIN); PackageManager manager =

[android-developers] VpnService basic questions

2012-03-20 Thread mjl3434
There are two new classes added in ICS: VpnService and VpnService.Builder. I want to know if these classes would be useful for my goal of developing an app that has it's own UI and connects to a VPN endpoint with IPSec VPN (or maybe even SSL VPN). Unfortunately, the documentation doesn't really

[android-developers] Errors while trying to launch the emulator

2012-03-20 Thread Meryeme
hey every body I am trying to launch the emulator when I finished building Android 4.0.3 source code. and I am getting this error do you have any idea? root@meryeme-laptop:/WORKING_DIRECTORY/out/host/linux-x86# emulator - avd eml -kernel kernel/arch/arm/boot/zImage PANIC: Could not open:

[android-developers] Multiple WebViews in TabLayout

2012-03-20 Thread S_J_S_24
Hello All, I am using tab layout and in each tab i want to open different webview, means at a time i can work with suppose three tabs and can open different urls withing it. But the problem is WebView always opens in full screen mode... So is there any way to manage the webview n to open

[android-developers] Binder Interface - Reply Parcel gets lost

2012-03-20 Thread Johannes Wilken
Hey, I'm having a little problem with parcels which I couldn't nail down with web-searches and the android documentation. The problem is, I'm having a service, to which I connect using a binder in my activity. When I start a transaction, the binder behaves as expected, meaning it collects the

[android-developers] android database connectivity problem

2012-03-20 Thread Ritam Roy Choudhury
Hi, I am trying to do a database connectivity in my android emulator, the problem is i am doing a servlet program that includes a sqlite connectivity in it. After compiling the java files,generating the classes.dex, I am adding META-INF and classes.dex into a classes.zip file with the respective

[android-developers] Is there way of using NFC without Secure Element?

2012-03-20 Thread Jeff Wang
I am a NFC starter, and just want to know what is the role of Secure Element in NFC development for Android, and is there any other way of using NFC but without Secure Element? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] unable to get complete soapresponse

2012-03-20 Thread Sohail Aejaz
hii, im passing parameter to .net webservice and it is giving xml as a response bt the problem is that im not getting complete xml and getting Anytype before every node and i dont know how to parse that response through SAX.. my android code looks like following: private String NAMESPACE =

[android-developers] Notification from Google

2012-03-20 Thread Todd Sutton
Hi - quick question for a new developer - as a registered Android developer, does Google automatically notify you of changes to the Marketplace ToS or any other global changes that are made or is it the responsibility of the individual to periodically review the most current agreements?

[android-developers] Re: ServerSocket.accept()

2012-03-20 Thread tgmarinho
What's problem? You should check if the port is being used or the IP of your machine is ok. Show me the log error. On 19 mar, 07:48, Sumit Tiwari 92450su...@gmail.com wrote: Help me from comming  out of this. Sir,  I really having problem in connecting my android phone to pc  in local

[android-developers] Mobile bluetooth sms

2012-03-20 Thread prem
hello developers, i am currently developing an application that will allow two or more users to send sms and picture messages through Bluetooth, but i am currently stuck with a few errors. these errors are: error: Error: No resource found that matches the given name (at 'icon' with value

[android-developers] disabling firewall

2012-03-20 Thread praveen
Hi, I want to know whether any default firewall is there in android(2.3) like iptables in Linux, if so is it possible to disable it through my application without rooting. my application involves sending and receiving packets in a network. but am not getting any reply. but the same works perfectly

[android-developers] Removing an item from ListView

2012-03-20 Thread radhakrishna
Hi All, I am trying to remove an item from listview, My Listview contains Text and Delete button in each row, when I click on delete button its removing Last row from List view, not the actual one which I clicked Here is the Activity Class:

[android-developers] How to turn off 'touch to beam' UI?

2012-03-20 Thread Paul Hsu
Hi all, I'm developing NFC application. If I want to push NFC message directly without showing 'touch to beam' UI? How can I do that? Paul -- 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] Paypal In Android

2012-03-20 Thread Omer Amin
Hello Guys i am an android developer i am working on an application where i require to apply Payment module using paypal. Can anyone help me doing it. thanks in advance to all -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] namespace support

2012-03-20 Thread tofutim
In a recent attempt to compile ICU for Android, we ran into configure: error: Namespace support is required to build ICU. Is it the case that the android NDK compiler does not have namespace support? If not, how can it be added? -- You received this message because you are subscribed to the

Re: [android-developers] Fragment within a fragment?

2012-03-20 Thread Pedro
This is really unfortunate. I've been developing an app with nested fragments that works fine on Android 3.1. I just started testing on an Android 3.2 device, and it is now throwing the following exception: E/AndroidRuntime( 3580): Caused by: java.lang.IllegalArgumentException: Binary XML

[android-developers] Urgent help needed

2012-03-20 Thread swa
Hi I have created the webservice http://demo.polymerupdate.com/web/news-desk.asmx?op=DisplayNewsHeadLines after filling the username and password i get the response in xml fromat every thing is working fine and smooth. But when the other devloper adds the refrence of the webservice he is

[android-developers] Small issue with SimpleXML. Why i'm getting this exception?

2012-03-20 Thread saex
I'm getting this exception when i'm parsing with Simple XML: 03-20 12:43:38.163: WARN/System.err(1886): org.simpleframework.xml.core.ElementException: Element 'Magazine' does not have a match in class com.Magazine.Magazines at line 1 This is the XML file: Magazines Magazine title=APP 1 id=1

Re: [android-developers] Camera preview

2012-03-20 Thread rachana govilkar
Hi, I am facing problem when i use your sample project code to open Front Facing Camera. Here is my error : Caused by: java.lang.RuntimeException: Fail to connect to camera service on line : camera=Camera.open(i); I have written all permissions required for camera and everything. So can you

[android-developers] Re: Removing an item from ListView

2012-03-20 Thread Seshu
Hi radhakrishna, if u want to delete the list row in the list view. protected void onListItemClick(ListView l, View v, int position, long id) { super.onListItemClick(l, v, position, id); Toast.makeText(this, Click- + String.valueOf(position), Toast.LENGTH_SHORT).show();

[android-developers] how to check the kind of push notification

2012-03-20 Thread vani reddy
Hi friends, I have implemented push notification using urban airship,now when i receive a notification i am able to open the app, But my requirement is to check what kind of notification and open the appropriate activity of the app. How to acheive this ??? Please reply its too urgent.. -- Thanks

Re: [android-developers] how to check the kind of push notification

2012-03-20 Thread Justin Anderson
I have implemented push notification using urban airship,now when i receive a notification i am able to open the app, But my requirement is to check what kind of notification and open the appropriate activity of the app. How to acheive this ??? I would probably first start with asking some

[android-developers] Re: Removing an item from ListView

2012-03-20 Thread radhakrishna
Thank you for your response Seshu, But I would like to delete list row, when I click on delete button from List view. On Mar 20, 1:12 pm, Seshu s.seshu...@gmail.com wrote: Hi radhakrishna, if u want to delete the list row in the list view. protected void onListItemClick(ListView l, View v,

Re: [android-developers] Notification from Google

2012-03-20 Thread TreKing
On Mon, Mar 19, 2012 at 11:16 AM, Todd Sutton todda...@gmail.com wrote: Hi - quick question for a new developer - as a registered Android developer, does Google automatically notify you of changes to the Marketplace ToS or any other global changes that are made or is it the responsibility of

Re: [android-developers] Paypal In Android

2012-03-20 Thread Justin Anderson
i am an android developer i am working on an application where i require to apply Payment module using paypal. Can anyone help me doing it. PayPal has an API for that... I would check with them. https://www.x.com/developers/paypal/products/mobile-payment-libraries Thanks, Justin Anderson

Re: [android-developers] Authorization token from local GAE

2012-03-20 Thread Nikolay Elenkov
On Mon, Mar 19, 2012 at 9:02 PM, ultravolks ivan.crosign...@gmail.com wrote: Hello, is it possible to get an authorization token from a local Google App Engine without being connected to the Internet. When I call AccountManagerFuture getResult() I can get a token only if I am connected to the

[android-developers] Re: Removing an item from ListView

2012-03-20 Thread Seshu
dataValues..remove(position); will deletes the entire row only... On Mar 20, 6:58 pm, radhakrishna radhakrishna.kotako...@gmail.com wrote: Thank  you for your response Seshu, But I would like to delete list row, when I click on delete button from List view. On Mar 20, 1:12 pm, Seshu

Re: [android-developers] AlarmManager.RTC don´t work

2012-03-20 Thread Kostya Vasilyev
20 марта 2012 г. 16:32 пользователь BearTi mlrti...@googlemail.com написал: I thought the parameter RTC ensures that the Alarm not beeing fired when the device is in sleep mode (i turned the display off and the device was 1 hour not turned on)... But nevertheless the service is started...

[android-developers] Re: Removing an item from ListView

2012-03-20 Thread radhakrishna
@seshu You mean updating onListItemClick method in TestListItemsView1Activity : - protected void onListItemClick(ListView l, View v, int position, long id) { super.onListItemClick(l, v, position, id);

Re: [android-developers] Casting string as a class (ie. RadioButton)

2012-03-20 Thread Justin Anderson
Why can't you do something like this: public class A extends Activity { private RadiotButton _radio1; protected void onCreate(Bundle bundle) { setContentView(your.layout.id) _radio1 = findViewById(R.id.RadioButton01); } public void

Re: [android-developers] Can I customize the size of notification icon on the status bar?

2012-03-20 Thread Justin Anderson
You have to create a custom notification layout: http://developer.android.com/guide/topics/ui/notifiers/notifications.html#CustomExpandedView Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 20, 2012 at 12:07 AM, Youwei Teng

[android-developers] bitmap.recycle()?

2012-03-20 Thread bob
I'm looking at some of the samples in apidemos, and I saw this: Bitmap bitmap; try { bitmap = BitmapFactory.decodeStream(is); } finally { try { is.close(); } catch (IOException e) { // Ignore. } } GLUtils.texImage2D(GL_TEXTURE_2D, 0, bitmap, 0); bitmap.recycle(); Anyone know why

Re: [android-developers] convert

2012-03-20 Thread Justin Anderson
http://lmgtfy.com/?q=java+convert+string+to+hex http://lmgtfy.com/?q=java+convert+string+to+decimal http://lmgtfy.com/?q=java+convert+string+to+binary http://lmgtfy.com/?q=java+convert+string+to+octal The internet is a wonderful tool... Thanks, Justin Anderson MagouyaWare Developer

[android-developers] can't find my resources in my service...

2012-03-20 Thread RedBullet
So, I noticed something a little odd as I was refactoring my code. Basically I am moving a bunch of code from an activity to a service, and this included a Notification. In my notification I reference a String and an Icon which are both in my resources (R.drawable.myicon for example). When I

Re: [android-developers] Same permission defined in multiple applications

2012-03-20 Thread Justin Anderson
I have only ever used it in once case... I have two apps on the market. Once is free and the other is a paid plugin that unlocks features in the free app. The sharedUserId setting was perfect for me because it allowed me to do my license checking in the paid app and save certain things about

Re: [android-developers] How to control the apps icon size?

2012-03-20 Thread Justin Anderson
Just specify the size in your XML layout... imageView android:layout_width=50dp android:layout_height=50dp / Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 20, 2012 at 1:13 AM, minilin...@gmail.com wrote: Can anybody tell me how

[android-developers] icecream emulator can't play video

2012-03-20 Thread extrapedestrian
Im trying to play any kind of video on 4.0 emulator, but I always get error: W/GraphicBufferAllocator( 36): alloc(352, 288, 842094169, 2930, ...) failed -22 (Invalid argument) E/SurfaceFlinger( 36): GraphicBufferAlloc::createGraphicBuffer(w=352, h=288) failed (Invalid argument),

[android-developers] Progress bar and get info

2012-03-20 Thread oneking
How to make a progress bar that tells me cpu usage or memory ram? This is a example: http://www.androidwidget.info/wp-content/uploads/2011/05/Elixir-Sample.png -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Small issue with SimpleXML. Why i'm getting this exception?

2012-03-20 Thread TreKing
On Tue, Mar 20, 2012 at 8:05 AM, saex elpablos...@gmail.com wrote: I'm getting this exception when i'm parsing with Simple XML: You should consult the documentation for this Simple XML thing you're using - this is not Android specific.

Re: [android-developers] bitmap.recycle()?

2012-03-20 Thread TreKing
On Tue, Mar 20, 2012 at 9:58 AM, bob b...@coolfone.comze.com wrote: Anyone know why they are calling bitmap.recycle()? Is that really necessary? Isn't the garbage collection automatic? Here, do some homework first: http://lmgtfy.com/?q=Bitmap.recycle

Re: [android-developers] Progress bar and get info

2012-03-20 Thread Justin Anderson
How to make a progress bar that tells me cpu usage or memory ram? http://developer.android.com/reference/android/widget/ProgressBar.html http://lmgtfy.com/?q=android+sdk+cpu+usage Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 20, 2012 at

Re: [android-developers] Casting string as a class (ie. RadioButton)

2012-03-20 Thread Bozzified
Oh, yeah I can do that. I can do manual check and target specifically radio buttons I need with switch. What Im trying to do is target specific instances of RadioButton class in this case based on my XML input I got from CMS and the choices users set in it. For example what radio buttons will

Re: [android-developers] disabling firewall

2012-03-20 Thread Robert Greenwalt
You're initiating the traffic on the device but not receiving responses? Or are you trying to run a server socket on the device but off-device originating traffic can't seem to connect? I don't think there is any firewall on the device, though I wouldn't be surprised if carriers needed to do

Re: [android-developers] Casting string as a class (ie. RadioButton)

2012-03-20 Thread Nadeem Hasan
In your base Activity class, add this: protected RadioButton findRadioButtonById( int id ) { return (RadioButton) findViewById( id ); } This could of course throw an exception if the id does not represent a RadioButton. -- You received this message because you are subscribed to the Google

Re: [android-developers] can't find my resources in my service...

2012-03-20 Thread TreKing
On Tue, Mar 20, 2012 at 10:06 AM, RedBullet scottedchap...@gmail.comwrote: When I moved this code to my Service class it was no longer able to resolve that path... Stumped... But must be missing something fundamental. Check your imports. Beyond that, give an actual error message or some more

[android-developers] implementing fade-in/fade-out effects in Java with frame-based animation

2012-03-20 Thread Serdel
Hi, I am running an animation of a spinning star and I would like to add some fade-in/fade-out effects. I am loading the animation in Java by making the AnimationDrawable objects, and adding the bitmaps as frames and then setting it to an ImageView using setBackgroundDrawable. I there a way I can

Re: [android-developers] Casting string as a class (ie. RadioButton)

2012-03-20 Thread Kostya Vasilyev
Well, you can use this to go from identifier-as-a-string to identifier-as-a-number: http://developer.android.com/reference/android/content/res/Resources.html#getIdentifier(java.lang.String, java.lang.String, java.lang.String) Another option is to specify tags for your buttons with

Re: [android-developers] implementing fade-in/fade-out effects in Java with frame-based animation

2012-03-20 Thread Justin Anderson
Is there any particular reason you are using a frame-based animation? I haven't done any frame-based animations, but I know you could accomplish the same (or very similar) thing using an AnimationSet defined in XML. You could then specify a rotation to the image as well as a fade in/out with

Re: [android-developers] OnTouchListener with multiple views problem

2012-03-20 Thread metro
hi thanks for your answer. I've tried this, but I found my problem (still isn't solved). I have multiple imageviews over a framelayout (also tried with relativelayout) their place over the screen is determined by Padding (dynamically) so the last Imageview added has the biggest z-index The

Re: [android-developers] OnTouchListener with multiple views problem

2012-03-20 Thread Justin Anderson
http://lmgtfy.com/?q=android+drag+and+drop+view+example Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 20, 2012 at 10:39 AM, metro rotems...@gmail.com wrote: hi thanks for your answer. I've tried this, but I found my problem (still isn't

  1   2   >