[android-developers] Re: How to integrate my application to paypal

2009-08-04 Thread JP
I've seen WebViews with the PayPal payment button snippet pasted in. On Aug 3, 5:21 am, Venkat nit.ve...@gmail.com wrote: Hi Could please help me how to integrate my application with paypal, so that User can pay money in my application through paypal to the merchant? Thanks Regards

[android-developers] Re: Catching memory exception

2009-08-04 Thread whitech
thank you, I can catch the error now. I've use catch(Exception) not catch(Error) before so I can't catch it. There is another problem, can I push the limit of memory higher? It is a little too small with only 16 MB On 8月4日, 上午2时14分, fadden thefad...@gmail.com wrote: On Aug 2, 8:01

[android-developers] about the hardware acceleration of Skia drawing

2009-08-04 Thread Zhiguo Ge
Hi, I would like to know whether Android currently supports the hardware accelleration for SKia 2D drawing. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] AutoCompleteTextView with SimpleAdapter

2009-08-04 Thread kostmo
Hello, I am trying to use a SimpleAdapter to populate my AutoCompleteTextView. I observe that the Filter runs after the third keystroke as specified in my layout, and suggestion_list is being populated with at least five elements. After the filter runs, the completionHint drops down from the

[android-developers] Device keyboard backlight

2009-08-04 Thread Shang Hao
Hi, I want to create a menu which would help to alter the timeout of the back-light of the device keyboard.. So, if i know where exactly we are setting the device-keyboard value most of my problem can be solved PLease let me know if any clues u have. Thanks.

[android-developers] Re: listactivity problems

2009-08-04 Thread Carl
Great! That works. I would like to show a textview at the top of the list (saying something like Select the item). I followed an example, but I can only see it say No data. I have changed my code by adding setContentView(R.layout.mylistact), and this is what mylistact.xml looks like: ?xml

[android-developers] Any way to find out the current running activity from a service?

2009-08-04 Thread Paul Drummond
Hi, I have been looking for this for a while but I can't find any way of doing it. A contrived example would be a service that simply displays the name of the current running activity as an Ongoing Notification. For instance, when the user is reading a particular email, the name of the activity

[android-developers] Re: Cursor position in EditText?

2009-08-04 Thread www.rzr.online.fr
On Aug 2, 9:30 am, Mark Wyszomierski mar...@gmail.com wrote: ABCDEFG, and the user selects only CDE, both start and end are 2. Actually i use edittext for selectionning text and it works as expected, when you select the text does the selected text appear in reverse video at least ? what is

[android-developers] Re: how to load a .so library in a apk?

2009-08-04 Thread Kaj Bjurman
I'm not sure about this, since I haven't done it myself, but I've heard that some people place the libraries under res/raw, and then they copy it to /data/data/your-package-name when it's first started. On 4 Aug, 04:53, xuxiake2...@gmail.com xuxiake2...@gmail.com wrote: I have a .so library

[android-developers] Android data buffer pass by jni problem

2009-08-04 Thread frog
Hi,all Have some tryed to pas databuffer on android by jni?I have a native method like this: int foo(void * buffer, //(out param) the point to the buffer int *buffersize //(out param) the point to the buffer size { a = foo(); b = foo1(); return 0; } And I want to use

[android-developers] How can i start my own activity for new notification?

2009-08-04 Thread android.vinny
Hi How can i start my own activity when a new notification arrives to our status bar if click that notification my activity should play... any body guide me regarding this... thanks a lot in advance. --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: about the hardware acceleration of Skia drawing

2009-08-04 Thread Dianne Hackborn
No, Skia is not accelerated. On Mon, Aug 3, 2009 at 11:17 PM, Zhiguo Ge zhiguo.ge.w...@gmail.com wrote: Hi, I would like to know whether Android currently supports the hardware accelleration for SKia 2D drawing. Thanks! -- Dianne Hackborn Android framework engineer hack...@android.com

[android-developers] dounut master build broken

2009-08-04 Thread android doubts
Hi i have synced the donut master and tried to make a build for the htc the bauil fails complainging can not find camera.h and camframe.h jpeg_encoder.h file while it was trying to compile libcamera.so part of /hardware/msm7k/libcamera2 did any one faced the same issue? thanks

[android-developers] Re: How can i start my own activity for new notification?

2009-08-04 Thread Lazarus 101
you want to display a notification and when the user selects it display an activity? NotificationManager mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); Intent intent = new Intent(context, Screen.class);

[android-developers] Re: How can i start my own activity for new notification?

2009-08-04 Thread Lazarus 101
you want to display a notification and when the user selects it display an activity? NotificationManager mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); Intent intent = new Intent(context, Screen.class);

[android-developers] Re: How can i start my own activity for new notification?

2009-08-04 Thread Desu Vinod Kumar
I am getting Notifiaction to my app if i click that notification i want to show some animationmy own On Tue, Aug 4, 2009 at 1:39 PM, Lazarus 101 lazarus...@gmail.com wrote: you want to display a notification and when the user selects it display an activity? NotificationManager

[android-developers] Creating Custom Timezone Entry.

2009-08-04 Thread Sunit
If i take the reference of Timezones in India we find that only Kolkata is present as the time zone entry. We can see the list of timezones with google through the world with TimeZone.getAvailableIDs(); If i need to add a custom time zone entry say Mumbai. How can i do that. Any reply is

[android-developers] Re: Any way to find out the current running activity from a service?

2009-08-04 Thread peter
you can use ActivityManger to get number of running activity. Like this: ActivityManger am = (ActivityManger )getSystemService (ACTIVITY_SERVICE); List runningTask = am.getRunningTasks(maxNum); On Aug 4, 2:54 pm, Paul Drummond paul.drumm...@iode.co.uk wrote: Hi, I have been

[android-developers] Re: prevent native application

2009-08-04 Thread peter
I don't think you can do it on android system. if you could, other application could do it too. On Aug 4, 1:27 pm, Honest honestsucc...@gmail.com wrote: Hello, I want to prevent native application to receive message.I want that my application only receive message. Is it possible ? if yes

[android-developers] Re: Spinner - don't display selection

2009-08-04 Thread peter
set your Sipinner onItemSelectedLisnter and implement the inteface method : onItemClick(AdapterView? arg0, View arg1, int arg2,long arg3) the parameter of arg1 is your selected view, and you could pick textview form it. then set the backgroud color as your like of textview On Aug 4, 1:10 pm,

[android-developers] Re: left handed user

2009-08-04 Thread Christine
Good point! Christine - left handed developer On Jul 31, 11:47 pm, Sophie shkass...@gmail.com wrote: Thanks, Yusuf, I will! On 31 jul, 16:51, Yusuf T. Mobile yusuf.s...@t-mobile.com wrote: You have a point, Illegal Sophie. I would recommend you post an Android issue, saying landscape

[android-developers] Re: the user data image is used by another emulator. aborting

2009-08-04 Thread Siva
I run any simple program it will show same like previous .Im not using any AVDs . what is the problem im not getting . On Aug 3, 3:10 am, David Turner di...@android.com wrote: You can't run two emulators with the same AVD. Create two AVDs instead and launch each emulator with a distinct one.

[android-developers] Re: the user data image is used by another emulator. aborting

2009-08-04 Thread Siva
Hi im not running any emulator but it will show like previous. On Aug 3, 2:55 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: Dear siva,            if u r in windows use the task manager if u r in linux use system monitor. Check if the emulator process is already running. If so

[android-developers] Re: ACTION_GET_CONTENT audio, video

2009-08-04 Thread Christine
Maybe I should clarify. I use the ACTION_GET_CONTENT intent for both picking audio files and video files. Apparently, the audio recorder can handle this intent while the video recorder doesn't, which makes my app inconsistent. On Aug 3, 9:20 am, Dianne Hackborn hack...@android.com wrote: You

[android-developers] SoftKeyBoard Event

2009-08-04 Thread Rahul
Hi Do u know How to handle KEY_DOWN and KEY_UP event for SoftKeyBoard . i got one example in developer blog but its not enough to undestand pls help me Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Activity timeout on WebView load

2009-08-04 Thread peter
Use Handler and Message in your backgroud thread to load web page. On Aug 4, 7:07 am, droidin.net bost...@gmail.com wrote: In my app I have to load external page into WebView-based activity. Some of my users with slower connections are reporting screen timeout while waiting for the page to

[android-developers] Dialog

2009-08-04 Thread Rahul
hi i want to Download image from Server using Http Connection and at same time i want to show ProgressDialod till is not Downloaded i dont undestand how to do this plz help me thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: Dialog

2009-08-04 Thread Saurav Mukherjee
make use of message for updating the progress dialogbox from the http thread. i think it'll b better if u use progress dialog with setIndeterminate(true). this wud make it simpler and u dont have to keep note of the progress... hope this helps. cheers! On Tue, Aug 4, 2009 at 2:58 PM, Rahul

[android-developers] Re: Activity timeout on WebView load

2009-08-04 Thread Christine
I take it you don't already have a bg thread, or you wouldn't have the problem? The cute way of loading data in the background is to use a service. The simple way is to use a Handler, as Peter suggested. In the handler task, you create a new thread that does the http stuff. If the user needs to

[android-developers] Re: Dialog

2009-08-04 Thread Atif Gulzar
I will recommend you to read http://android-developers.blogspot.com/2009/05/painless-threading.html and http://developer.android.com/reference/android/os/AsyncTask.html -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ On Tue, Aug 4, 2009 at 3:56 PM, Saurav Mukherjee

[android-developers] Launching a service from a TabActivity

2009-08-04 Thread 6real
Dear all, I'd like to start a service from a tabactivity (I first tried in the activity launched for a tab but it seems taht there is a technical limitation). So inside my TabActivity I defined a method named startService() which is quite simple : instanciate a new Intent call the method

[android-developers] Re: Launching a service from a TabActivity

2009-08-04 Thread 6real
I apologize but I solved my issue : 1 - I made a mistake in my manifest.xml since I changed my packages 2 - the same code in another activity make the same error. Sorry for polluting the group. Rgds, C. On 4 août, 12:27, 6real xirgon...@gmail.com wrote: Dear all, I'd like to start a

[android-developers] Re: Catching memory exception

2009-08-04 Thread Mark Murphy
whitech wrote: There is another problem, can I push the limit of memory higher? It is a little too small with only 16 MB Not without changing the firmware. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010:

[android-developers] Re: prevent native application

2009-08-04 Thread Honest
But can i delete the inbox messages ? On Aug 4, 1:48 pm, peter heywoodpres...@gmail.com wrote: I don't think you can do it on android system. if you could, other application could do it too. On Aug 4, 1:27 pm, Honest honestsucc...@gmail.com wrote: Hello, I want to prevent native

[android-developers] Thread problem

2009-08-04 Thread Stefan
Hi, i use a Thread to make buttons visible for some seconds. If the location change, the buttons should gets visible for x seconds. My code: dialog = new Thread (new Runnable() { public void run() { try {

[android-developers] Re: how to load a .so library in a apk?

2009-08-04 Thread spark
yes,I have already did this . private void loadLibraryFromAssets() { AssetManager am = getAssets(); String path = null; try { InputStream in; in = am.open(lib/libjni_xxx.so);

[android-developers] Re: This bug is costing us money every month

2009-08-04 Thread Eric Wong (hdmp4.com)
Good luck waiting for the fix. Google is not very transparent in these things.if you have been here long enough. Cheers Eric On Aug 4, 7:42 am, Disconnect dc.disconn...@gmail.com wrote: The G2 JUST came out - it may cost you money next month, but it hasn't cost you anything yet...

[android-developers] Re: View Android Marketplace

2009-08-04 Thread Touch-Market
You also have www.touch-markt.com It has (compare to other directories) - Widgets category (as we think this category is missing on Android Market) - Devices category (that list all Official Android Devices with pics and full specs) - Screenshots (More added every day) And coming soon:

[android-developers] EditText in ListView loses focus after keyboard pops up

2009-08-04 Thread MarcoAndroid
Hi all, I'm (still :) trying to have one page with on top two EditText searchboxes and a searchbutton. When the user then presses the searchbutton, the result should appear below, and during scrolling everything should move up/down, just like a regular google search result. I've been given a

[android-developers] Make a particular activity as a root activity in stack

2009-08-04 Thread And-Rider
i have a set of activities on my stack Say A--B--C. when i launch the activity named 'D' it should get fired as the root activity of my application and all the other activities(A,B,C) should get cleared from my stack once Activity D is launched.Can any one tell me as how to do this

[android-developers] detecting sound signals

2009-08-04 Thread Amin
Hello, we are working on a project where we need to detect a sound signal in real time; that is, to get notified the moment we receive the sound signal. we don't need to record the sound, because we won't need it after its detection. does anyone know how to do this? thank you

[android-developers] Re: how to load a .so library in a apk?

2009-08-04 Thread Kaj Bjurman
That code contains at least one bug. This loop isn't correct: while (bis.read(temp) 0) { out.write(temp); } bis.read returns the number of bytes that was read, that number can be larger than 0 but still less than temp.length. You should do something like this instead: int len = 0;

[android-developers] RelativeLayout question

2009-08-04 Thread loctarar
Hello! I would like to build a layout with this structure (I used buttons only as an example in the XML file): BCCD BCCD BCCD BCCD BCCD Where A = Button01, B = Button02, D=Button03 and C is a ScrollView/ another layout. The XML is the following: ?xml version=1.0

[android-developers] Re: This bug is costing us money every month

2009-08-04 Thread Kaj Bjurman
How can you know? He could have had another Android phone prior to the G2. @Op. You could as a workaround use an application like APNDroid, but the bug should be fixed. On 3 Aug, 23:42, Disconnect dc.disconn...@gmail.com wrote: The G2 JUST came out - it may cost you money next month, but it

[android-developers] Re: Issue with alarm clock

2009-08-04 Thread Chris
Any idea how can i create dyanamic pending intents, with different Intent.Action On Aug 3, 6:58 pm, Chris narendrasingh.bi...@gmail.com wrote: Hi guys, I am overriding the functionalities of current androidalarmclock. As of now, if we have set twoalarmof ,say, 10:10 and 10:15, now if the

[android-developers] clipboard copy paste

2009-08-04 Thread Bob
Hi, Is there a way to programmatically add text to the clipboard for copy/ paste functionality into another app. Thanks, Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: This bug is costing us money every month

2009-08-04 Thread Disconnect
He says, in so many words, that: in my company, we have G2's as professional phones, and we ALL get that charges every month (most of us don't live in the country we are working in). ..thats how I know. Because he told me. On Tue, Aug 4, 2009 at 9:04 AM, Kaj Bjurman kaj.bjur...@gmail.com

[android-developers] Re: Sharing data between activities

2009-08-04 Thread Per Sandström
but how do I create and pass this global object? I cant do it like I do in java or other programming languages where . AIDL is an alternative, but it still seems overkill for a small app. regards Per Sandström On Jul 22, 10:50 pm, niko20 nikolatesl...@yahoo.com wrote: On Jul 22, 1:19 pm, Roman

[android-developers] Creating file with rwxrwxrwx permission

2009-08-04 Thread Nasam
Hi I am trying to create a file with permission rwxrwxrwx at arbitarary location. I dont want to use openFileOutput() API since it creates file only under data/data/.../files folder and ../files folder is not having read permission for other applications. I want all directorries , files created

[android-developers] Re: Is It Possible to get Nottification

2009-08-04 Thread Mak
Maybe you will better post links, that are not as old as this and where the code is up to date and running. On 22 Jul., 17:04, iPaul Pro mr.paulbu...@gmail.com wrote: http://davanum.wordpress.com/2007/12/15/android-listen-for-incoming-s... The first link seems to be a better one.

[android-developers] Listing Console does not update applicaitons statistics

2009-08-04 Thread DKIT
My Android Market listing console (developer console) has not updatet applicaiton statistics for several days. Why? Does it hurt my popularity ratings that my statistics are not updated? When will this be fixed? It is very annoying! --~--~-~--~~~---~--~~ You

[android-developers] Re: This bug is costing us money every month

2009-08-04 Thread Cédric Berger
On Tue, Aug 4, 2009 at 15:30, Disconnectdc.disconn...@gmail.com wrote: He says, in so many words, that: in my company, we have G2's as professional phones, and we ALL get that charges every month (most of us don't live in the country we are working in). ..thats how I know. Because he

[android-developers] Re: Is It Possible to get Nottification

2009-08-04 Thread Desu Vinod Kumar
Is It possible for email.../ i got for SMS . 1. if (bundle != null) { 2. SmsMessage[] messages = Telephony.Sms.Intents.getMessagesFromIntent(intent); 3. for (int i = 0; i lt; messages.length; i++) { 4. SmsMessage message =

[android-developers] Re: This bug is costing us money every month

2009-08-04 Thread Disconnect
...so if I start calling the htc touch pro mcdonalds that makes it correct, and mcdonald's is the one causing confusion? Yeah, I don't think so.. just because you decide the magic/mytouch is the g2 doesn't make it so. Especially when the actual g2 has been released. (Esp since the trademark was

[android-developers] Re: Images not loading on the phone

2009-08-04 Thread Justin (Google Employee)
Jason, Yeah, this is a good way to do it, and about as memory efficient as you can get, and seems be more efficient than using a StringBuffer to hold the response data, which another strategy I've seen for downloading a response of unknown size. The issue there is that eventually the underlying

[android-developers] Import bug MapView Superclass not found Dalvik class loader

2009-08-04 Thread Fred Grott(shareme)
Hello and Good Morning, I was doing examples of MapView to finish my templates for the AndCooper Build tool and found that no matter what example I try I get the same exception errors in SDK 1.5r3.. First lets head off the obvious. -No widgets are present in the example. -Simple class:

[android-developers] Re: Import bug MapView Superclass not found Dalvik class loader

2009-08-04 Thread Fred Grott(shareme)
Never mind found the error Placement of the uses-library of Google Maps has to occur after the ending activity tag.. On Aug 4, 9:56 am, Fred Grott(shareme) fred.gr...@gmail.com wrote: Hello and Good Morning, I was doing examples of MapView to finish my templates for the AndCooper Build

[android-developers] Re: Attention moder ators! Fwd: 메일 전송 실패 알림 wbh0...@naver. com

2009-08-04 Thread Justin (Google Employee)
Messages are appearing just fine for me. This is appears to be a BASE64 encoded version (standard for email) of what you posted. My guess is that your email client or server is not interpreting it correctly. Regards, Justin Android Team @ Google On Aug 4, 7:35 am, Disconnect

[android-developers] invoking softkeyboard in android

2009-08-04 Thread Harishkumar V
Hi, i have a android sdk version 1.5 r2, where virtual keyboard works. but the problem is, for example, when i open a browser in the emulator, when i move the mouse and click at the textbox, the virtual keyboard launches, without the mouse, it cannot. is there anyway using only the keyboard,

[android-developers] Build fingerprint: 'generic/google_sdk/generic/:1.5/CUPCAKE/147336:eng/test-keys'

2009-08-04 Thread Archana
Hi, While running i am getting this error in my logcat and my app exiting automatically...Can anyone tell me why this happends.. 08-04 20:38:50.875: INFO/DEBUG(535): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 08-04 20:38:50.875: INFO/DEBUG(535): Build fingerprint:

[android-developers] After installing the cvs repository I get compilation error

2009-08-04 Thread Dolphin
After installing the cvs repository I get compilation error: Such as: Description ResourcePathLocationType R.id.ok cannot be resolved HelloRelativeLayout.java/Hello Relative Layout/src/com/HelloRelativeLayout/example line 14 Java Problem.. Any idea ?

[android-developers] Extracting files from APK

2009-08-04 Thread Hans A
Hi I'd like to extract classes.dex from an APK file. I've tried using aapt, but I can't see an option for extracting the files. When I run the aapt tool without options it prints out the list, dump, package, remove, add and version commands, but it doesn't seem to me like any of them extracts

[android-developers] Sending data to android dev phone using 3G connection

2009-08-04 Thread Pushkar Sachdeva
I have a server application listening on port 5001 on an anroid dev phone. The client application running on my laptop tries to send data to the server application. The client can successfully connect and send data to the server machine when the phone has wifi enabled. The command to do this is

[android-developers] file change notification permission for native c application?

2009-08-04 Thread cavalzheng
I am migrating a c program from linux to android when lauch it in the shell everything is ok, but when I lauch it from UI with Runtime.getRuntime().exec(...), there is permission issue for the file change notification, also I know there is mechanism of permission on android, but I can not find

[android-developers] Minor in Android Developer Challenge

2009-08-04 Thread Anonymous
Hi All, I'm a minor and wish to enter the Android Developer Challenge, however the Terms and Conditions state that you must be above the legal age of majority. Is it possible for me to enter if my parents enter the contract on my behalf? Thanks.

[android-developers] Re: This bug is costing us money every month

2009-08-04 Thread GC
On Aug 3, 4:42 pm, Disconnect dc.disconn...@gmail.com wrote: The G2 JUST came out - it may cost you money next month, but it hasn't cost you anything yet... On Mon, Aug 3, 2009 at 3:50 AM, Mister Helmut mister.hel...@gmail.comwrote: Go grab WiSyncPlus from the market. It even has built in

[android-developers] Re: How can I specify a border color for an ImageView when it has focus

2009-08-04 Thread Roy
You can create a xml file under res/drawable. For example: res/ drawable/text_style.xml Here is the content: ?xml version=1.0 encoding=UTF-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item android:state_pressed=true android:drawable=@drawable/ shape_2 /

[android-developers] Re: How to integrate my application to paypal

2009-08-04 Thread gunnar-medial
Check out their developer pages, things all go over HTTPS so I don't see what would prevent implementation. You need an account and merchant API key. The finer lines of license agreements are probably worth assessing to identify any legal hurdles. See https://www.paypal.com/developer Regards,

[android-developers] Can I apply git tag command to Android Source Code.

2009-08-04 Thread Kunjal
Here is the scenario. We have downloaded android cupcake mirror and make it git repository. After doing that we have applied our own tag to android mirror. (For examle: XYZ) now, when we perform below commands, repo init -u mobcom...@mobcom-git.sj.broadcom.com:/projects/

[android-developers] How to draw text in rectangle

2009-08-04 Thread wr1472
Hi, I have just started looking at developing for Google Android and want to draw a rectangle with some text in it that I then want to position where i want on screen. I have got as far as drawing a rectangle on screen using a ShapeDrawable and RectShape I now want to put some text in the

[android-developers] Re: View Android Marketplace

2009-08-04 Thread Mohamed Hamdouni
You also have www.touch-market.com The + of www.touch-market.com: - List of widgets on their initial category as well as in a separate one - List of official devices with photos and full specs - 2D codebar for direct link to android market on your device - Screenshots (WYSIWYG = What You See Is

[android-developers] Re: referencing projects in eclipse

2009-08-04 Thread LCamel
Sometimes it can be solved by restarting eclipse and choose Project / Clean... . I'm using ADT 0.9.1.v200905011822-1621 . Luoh Ren-Shan On 7月27日, 下午5時38分, Bart van Wissen bartvanwis...@gmail.com wrote: I'm working on twoprojects. One is essentially a library, and the other is an application

[android-developers] how to make an activty go in background

2009-08-04 Thread niteshwar kumar
Hi all, I am new to android development.Actually i am developing an application where i am making an activity to sleep for some time.but until the activity is in the sleep mode the system gets hanged for that time.So please if any one can suggest me how to solve this problem

[android-developers] How to use PopupWindow()

2009-08-04 Thread chiyo
How to create a pop up window --~--~-~--~~~---~--~~ 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,

[android-developers] How to Run J2SE Code on Android

2009-08-04 Thread Watermarker
I am new to Android development. I am developing in Eclipse with Android plugin. I am trying to execute the following J2SE code on Android. It is being compiled without errors as I have imported the JRE library in the android project. In the Configure Build Path option I have imported JRE System

[android-developers] Using AsyncTask as Serializable or Parcelable -- To void activity destruction(orientation or during incoming phone call)

2009-08-04 Thread Vikas
Hi Guys, I have a requirement where I have to read/parse some data from the server(using HTTPConnection) and then display it on to the screen. To avoid ANR issue I used AsyncTask to perform the above. Now in order to avoid application crash in case the activity gets destroyed(either by OS or if

[android-developers] Getting content in browser launched activity

2009-08-04 Thread Ed
Hello, I have an activity which is launched to process a file which is downloaded from a website. The site requires a login and maintains the session via cookies. The activity has an intent filter defined and it is started but I do not understand how it can get the document that was

[android-developers] Re: how to load a .so library in a apk?

2009-08-04 Thread Aki
I putted my created .so file into libs/armeabi/ I reccomend you download Android NDK . http://developer.android.com/sdk/ndk/1.5_r1/index.html and ask Android NDK Group is better. http://groups.google.com/group/android-ndk thanks On 8月4日, 午後4:03, Kaj Bjurman kaj.bjur...@gmail.com wrote: I'm

[android-developers] Re: ADC2

2009-08-04 Thread karthikr
Hi Guys, I have been planning to release the applications that I have developed as paid applications and I do not have any plans to have a lite versions of them. However I am planning to take part in the android developer challenge and I have noted that my application will be given to users

[android-developers] Re: Issue with alarm clock

2009-08-04 Thread Chris
On Aug 4, 6:08 pm, Chris narendrasingh.bi...@gmail.com wrote: Any idea how can i create dyanamic pending intents, with different Intent.Action On Aug 3, 6:58 pm, Chris narendrasingh.bi...@gmail.com wrote: Hi guys, I am overriding the functionalities of current androidalarmclock. As

[android-developers] Re: This bug is costing us money every month

2009-08-04 Thread Cédric Berger
On Tue, Aug 4, 2009 at 16:33, Disconnectdc.disconn...@gmail.com wrote: ...so if I start calling the htc touch pro mcdonalds that makes it correct, and mcdonald's is the one causing confusion? Yeah, I don't think so.. just because you decide the magic/mytouch is the g2 doesn't make it so.

[android-developers] Re: Sharing data between activities

2009-08-04 Thread powerbyte
Hello To summarize: Activities don't have constructors! How do I send data to them from their parent activity??? we can send data from parent activity to childs, using Intent for example: In parent activity, Intent intent = new Intent(this,com.sample.aaa.class); //aaa is child activity

[android-developers] Re: Sharing data between activities

2009-08-04 Thread Roman
As already mentioned earlier, you could also use Intents which are very lightweight. You are able to attach also a data record to your intent using the method putextra(). http://developer.android.com/reference/android/content/Intent.html -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· ·

[android-developers] Re: Make a particular activity as a root activity in stack

2009-08-04 Thread And-Rider
can any one help me on this issue plz... On Aug 4, 5:33 pm, And-Rider rahulregunat...@gmail.com wrote: i have a set of activities on my stack Say A--B--C. when i launch the activity named 'D' it should get fired as the root activity of my application and all the other activities(A,B,C) should

[android-developers] Re: Activity timeout on WebView load

2009-08-04 Thread droidin.net
Well I have background threads to load HTML content the way you guys describe it - I use HttpClient to grab HTML and then I use Handler to display that with WebView#loadData. But this is a special case - I want to load URL directly into the WebView#loadURL, so how do I do it on a background

[android-developers] Re: Extracting files from APK

2009-08-04 Thread Dianne Hackborn
Just use unzip or any other tool that handles zip files. On Mon, Aug 3, 2009 at 6:19 PM, Hans A hcaander...@gmail.com wrote: Hi I'd like to extract classes.dex from an APK file. I've tried using aapt, but I can't see an option for extracting the files. When I run the aapt tool without

[android-developers] Re: file change notification permission for native c application?

2009-08-04 Thread Dianne Hackborn
There is no permission needed to get file change notifications, but you do need to have general permission to access whatever file/dir you re watching, and applications have a very limited set of the file system that they have permission to. On Tue, Aug 4, 2009 at 1:04 AM, cavalzheng

[android-developers] Relative Layout Limitation

2009-08-04 Thread Ward Willats
Is it true that if you have a ViewGroup, say a RadioGroup, you can't align items outside the group to ones inside the group (using toRightOf, alignTop, etc.) That is, does toRightOf, toLeftOf and the rest only work with views at the same hierarchy level? I was trying to label some vertical

[android-developers] Re: Relative Layout Limitation

2009-08-04 Thread Romain Guy
That is, does toRightOf, toLeftOf and the rest only work with views at the same hierarchy level? That is correct. And, BTW, where is the hot sh*t resource editor for Android so I can bang out screens quickly like the iphone guys, using a visual interface designer that knows all these silly

[android-developers] Re: Add Contact not working

2009-08-04 Thread jats1234
Using following code I was able to add email and phone number.. Intent addEmailToContactIntent = new Intent (Intent.ACTION_INSERT_OR_EDIT); addEmailToContactIntent.putExtra (Contacts.Intents.Insert.EMAIL, Uri.decode(extra)); addEmailToContactIntent.setType

[android-developers] Re: Catching memory exception

2009-08-04 Thread Dianne Hackborn
You really really should be catching OutOfMemoryError, not eating every possible exception that could come out of the code. 2009/8/3 whitech whit...@163.com thank you, I can catch the error now. I've use catch(Exception) not catch(Error) before so I can't catch it. There is another problem,

[android-developers] Settings.Secure.ANDROID_ID longevity

2009-08-04 Thread Maps.Huge.Info (Maps API Guru)
According to the documentation, this setting: The Android ID (a unique 64-bit value) as a hex string Question: How dynamic is this value? Is it unchanging throughout the life of the device, the same across Android versions or what? I'd like to use this constant to identify a distinct device

[android-developers] Re: How to customize ExpandableList

2009-08-04 Thread Edi
You can replace it with your own image (in the xml layout, use android:groupIndicator). --~--~-~--~~~---~--~~ 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] Re: Android data buffer pass by jni problem

2009-08-04 Thread fadden
Check the archives on the android-ndk list, e.g.: http://groups.google.com/group/android-ndk/browse_thread/thread/36a4d13cb0d4bc26# http://groups.google.com/group/android-ndk/browse_thread/thread/a610cfe73aa2618e/c27be634e3305304 On Aug 4, 12:23 am, frog bluewater0...@gmail.com wrote:

[android-developers] Re: Listing Console does not update applicaitons statistics

2009-08-04 Thread DKIT
Anyone? On Aug 4, 4:18 pm, DKIT dag.kristian...@gmail.com wrote: My Android Market listing console (developer console) has not updatet applicaiton statistics for several days. Why? Does it hurt my popularity ratings that my statistics are not updated? When will this be fixed? It is very

[android-developers] Correct Way to handle Dialogs and Screen Orientation

2009-08-04 Thread Hazam
Hi all, I'm experiencing MAJOR problems in handling screen orientation when there is a Dialog onscreen. It seems there is no correct way (as far as my understanding goes) to properly manage an onscreen Dialog (expecially a Progress Dialog running) when the user changes screen orientation

[android-developers] Can't get my widget to show up?

2009-08-04 Thread cvance383
I followed the tutorial off code.google.com to add widgets to your app. For some reason, when I run the app on the phone for testing, then long click the home screen to add widgets, my widget is not an option. I imagine I am doing something wrong, but I thought I followed the tutorial pretty

[android-developers] Re: This bug is costing us money every month

2009-08-04 Thread Disconnect
They didn't wake up 2 weeks ago and say hey, I know, lets call the hero the g2! That device (and that name, or a variant thereof) has been around since at least the release of the g1, if not earlier. The fact that everyone decided every android phone was the g-something is irrelevant. (Hey, I

[android-developers] Re: Relative Layout XML attributes have no obvious programmatic equivalent.

2009-08-04 Thread bpellow
I got this to work with addrule and RelativeLayout.LayoutParams // center my_textbox RelativeLayout.LayoutParams params_center = new RelativeLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); params_center.addRule(RelativeLayout.CENTER_IN_PARENT);

[android-developers] Android / Java Developer Wanted

2009-08-04 Thread iPaul Pro
I am in independent Android developer, creating an app to enter the Second Android Developer Challenge. I am looking for a developer experienced in RESTful or JSON web API's. Specifically, requesting and parsing responses in Java, using HttpClient (org.apache.http.client) and SAX

  1   2   >