Re: [android-developers] about intents.

2011-10-02 Thread anik ralhan
http://www.warriorpoint.com/blog/2009/05/24/android-how-to-switch-between-activities/ I think this may help you. On Wed, Sep 28, 2011 at 6:43 PM, aditi badwe aditi.aba...@gmail.com wrote: hi if i am building the basic application for android in main .java file in src folder then i have given

[android-developers] Android Calender help needed

2011-10-02 Thread Plabon Modak
Hi, I want to make a android calender application. I want to use calendar in my android application in grid view format and it will show events and images on a specific date. Is there any jar or any kind of calender widget or anything else please help me. Regards, Plabon Modak -- You received

[android-developers] listview with images: postInvalidate problems

2011-10-02 Thread John Goche
Hello, I am overriding SimpleAdapter to add an image to a listview. When I call postInvalidate() inside my onClickListener it is only when the views are scrolled off the screen and then back on screen that the images are updated. The images in the rows which are not off the screen do not get

[android-developers] Re: listview with images: postInvalidate problems

2011-10-02 Thread skink
John Goche wrote: Hello, I am overriding SimpleAdapter to add an image to a listview. When I call postInvalidate() inside my onClickListener it is only when the views are scrolled off the screen and then back on screen that the images are updated. The images in the rows which are not off

Re: [android-developers] In-app checkout interface is always in landscape mode on Honeycomb

2011-10-02 Thread Speedy Lope
Yes, I was thinking about the same, but the client is not very happy about it :( This is the point when it's really hard to defend Google's approach when talking to my client. Anyway, thanks to all for the ideas. I think it's pretty clear that Android Market is simply forcing landscape mode no

[android-developers] Re: SHA1

2011-10-02 Thread Kristoffer
Oh my reply did not post. I just wrote that it works great with MessageDigest class. Thanks for the help. On 26 Sep, 09:46, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Sep 26, 2011 at 4:39 PM, Kristoffer kris.isak.v...@gmail.com wrote: Hello. Is there a easy way of making

[android-developers] Fwd: authentication to the server

2011-10-02 Thread arun kumar
-- Forwarded message -- From: arun kumar arun.kata...@gmail.com Date: Sat, Oct 1, 2011 at 1:22 AM Subject: authentication to the server To: android-developers@googlegroups.com i want to connect to the sap server. am posting my code UsernamePasswordCredentials creds = *new*

[android-developers] Detecting gesture completed?

2011-10-02 Thread Boozel
Hi I am using a graph library (http://www.jjoe64.com/p/graphview-library.html, https://github.com/jjoe64/GraphView) which allows for panning and pinch and zoom. Is there anyway for my main activity to detect that when a gesture is completed (or released) so that i can fetch new data for what

[android-developers] Fragment Rotation and WebView

2011-10-02 Thread emanuele
Hello guys, in my design I have a FragmentActivity (FA) with a ListFragment (LF). When user clicks on an item, a new fragment composed of a webview with some information is shown, when a the mobile is in portrait and a FragmentDialog is shown when the mobile is in landscape. After some times I go

[android-developers] Re: draw 3d room using opengl es 2.0

2011-10-02 Thread Oli
That's quite a wide brief with little background! Not sure what point you're starting from here in terms of knowledge of Java, GL, etc. If you want to pick up a book to get you started thinking about OpenGL ES and Android, I'd recommend Beginning Android Games (you can find a link here

[android-developers] Re: Variable instruction counts of Android applications

2011-10-02 Thread Jack Harvard
Some of it is mirrored on github, but even if you read dalvik, finding the answer to this question might take a long time (because it's just plain complicated to understand the source.) Any better approaches to get answers? Any Dalvik developers/Google Android Framework engineers here? --

[android-developers] how to connect to bluetooth device that is not running android from android device

2011-10-02 Thread Keren Pastov
Hi , I want to recive bluetooth message from devcie that is nor running android. how can I creat a BluetoothServerSocket without using BluetoothAdapter listenUsingRfcommWithServiceRecord(NAME, MY_UUID); method? Becuse the other devcie that I want connect to does not have UUID. Thanks, Keren

[android-developers] how to connect to bluetooth device that is not running android from android device

2011-10-02 Thread Keren Pastov
Hi , I want to recive bluetooth message from devcie that is nor running android. how can I creat a BluetoothServerSocket without using BluetoothAdapter listenUsingRfcommWithServiceRecord(NAME, MY_UUID); method? Becuse the other devcie that I want connect to does not have UUID. Thanks, Keren --

Re: [android-developers] Re: listview with images: postInvalidate problems

2011-10-02 Thread John Goche
Thanks, that works! ((SimpleAdapter) FooActivity.this.listView.getAdapter()).notifyDataSetChanged(); The other function (postInvalidate()) was only refreshing stuff off the list. Makes me wonder what use it may have. Best Regards, John Goche On Sun, Oct 2, 2011 at 10:07 AM, skink

[android-developers] How to update a song title in the music app?

2011-10-02 Thread Sabre Tooth
Can anyone tell me how to access/update the song title in the default music app? I have a Motorola Xoom with Android 3.2 running. If I change the title and display name of a song I can see that it was changed on the disk and by querying the fields but the change does not show up when I run the

[android-developers] Re: Detecting gesture completed?

2011-10-02 Thread Boozel
I think that i need to use onInterceptTouchEvent. Is this correct? is there an example of how to implement this in an activity? -- 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] Re: Variable instruction counts of Android applications

2011-10-02 Thread Kristopher Micinski
How are you calculating the number of instructions? Kris On Sun, Oct 2, 2011 at 7:16 AM, Jack Harvard jack.harv...@gmail.com wrote: Some of it is mirrored on github, but even if you read dalvik, finding the answer to this question might take a long time (because it's just plain complicated to

[android-developers] Xoom HTK75D Update

2011-10-02 Thread New Developer
Ever since the Xoom HTK75D update When I run my app, and it uses an Intent to call another app like Calendar , Camera , qPDF etc... But now it does not It simply holds , no error messages Any reasons why, there is nothing in the log and the system just sits there. -- You received

Re: [android-developers] When my app force closes, does it also close the associated service?

2011-10-02 Thread lbendlin
Actually my experience is slightly different. I have seen a few cases where the service is actually being restarted by the OS when the application foreground activity FCs. I had to build special checks into the service code to tell the service (via stopSelf() ) that there's no point in

[android-developers] Re: Detecting gesture completed?

2011-10-02 Thread Boozel
I found a solution here http://independentlyemployed.co.uk/2011/01/11/intercepting-touch-events-for-swiping/ @Override public boolean dispatchTouchEvent(MotionEvent event) { switch (event.getAction()) { case MotionEvent.ACTION_MOVE: { test=true; //Potentially

Re: [android-developers] Re: Variable instruction counts of Android applications

2011-10-02 Thread Jack Harvard
Using a simulator, boot Android and then run the application. On 2 Oct 2011, at 15:06, Kristopher Micinski wrote: How are you calculating the number of instructions? Kris On Sun, Oct 2, 2011 at 7:16 AM, Jack Harvard jack.harv...@gmail.com wrote: Some of it is mirrored on github, but even

[android-developers] Simple database form example

2011-10-02 Thread Jean-Michel
Hi guys, I need to do a simpple form to edit data in my SQLite db and it seems that you need to do pretty everything by hand. I want the user to select records into a listview, then a dialog would open allowing the user to edit data and save it. I am a bit prerplexed that there is not much in

[android-developers] Re: Not able to access custom content provider.

2011-10-02 Thread Pradeep
Hello Mark, Thanks you for the valuable info provided. But still, I have a doubt as I am new to Java programming as well. Content_URI is a static variable and should be accessable? Y there in no compile time error but a run-time exception error.(I have included provider app in the settings of

[android-developers] Anyone got an example using CipherInputStream and PBE to work ?

2011-10-02 Thread mac-systems
I try to read encrypted data, but always get java.io.IOException: last block incomplete in decryption Setup works like this: final KeySpec keySpec = new PBEKeySpec(passPhrase.toCharArray(), SALT, ITERATIONS); key =

[android-developers] ListView and MotionEvent

2011-10-02 Thread John Goche
Hello, I have an activity X with a ListView with several rows colored A. When the user touches a row in the listview I need the row to turn into color B immediately just to let the user see that the row is being touched. Then, if the user keeps holding the finger for a long click on the listview

[android-developers] Re: Inapp billing question

2011-10-02 Thread Emanuel Moecklin
1) Either you change the package name and create a new app (don't publish) and use that one to test the in-app billing. 2) Or you keep the package name and upload the new app as you would a new version of your existing app but without publishing the new apk. The existing app would still be live

[android-developers] Re: HTTP response Problem

2011-10-02 Thread Bob Kerns
Your analysis is correct, but I can't agree with your advice. Exceptions should generally be handled as far out as possible, for several reasons. First, handling them too far deep into your application limits your ability to do anything useful about them. Exception handling too deeply limits

Re: [android-developers] ES File Explorer 1.6.0.6 does not return path in data.getPath() anymore...

2011-10-02 Thread Kostya Vasilyev
FYI: Todays update to ES Explorer, 1.6.0.7, can return either a content:// URI or the old-style file:// URI (it prompts the user before returning from ACTION_GET_CONTENT). -- Kostya 01.10.2011 0:41, Mark Murphy пишет: On Fri, Sep 30, 2011 at 4:37 PM, Jean-Michel jeanmichel.caz...@gmail.com

[android-developers] Re: How do I report a bug to htc?

2011-10-02 Thread Bob Kerns
I bet your code doesn't actually look like that -- because why would you be checking for it to be null, if it were? And you would have to declare the 'status' variable 'final', for thread class to be able to reference it.In which case, you could not be assigning it like this. This is clearly

[android-developers] Re: How do I report a bug to htc?

2011-10-02 Thread Bob Kerns
Also, if you ARE modifying the 'status' field later, expecting your other thread to have picked up its value, and maybe to have modified it or something, you're going to need to do some explicit synchronization, either using notify/wait, or some higher-level construction, for example a blocking

[android-developers] Re: HTTP response Problem

2011-10-02 Thread Bob Kerns
One other little flaw there -- possibly serious -- is not specifying the encoding in the new InputStreamReader(stream, encoding) call. Generally, you should use UTF-8 if you have a choice -- and you should use what was supplied by the server, in any event. If you're writing the server, make it

Re: [android-developers] Anyone got an example using CipherInputStream and PBE to work ?

2011-10-02 Thread Nikolay Elenkov
On Mon, Oct 3, 2011 at 2:36 AM, mac-systems jens.h...@gmx.de wrote: I try to read encrypted data, but always get java.io.IOException: last block incomplete in decryption Dump the encrypted stream to file and check its length. It must be a multiple of 8 (block size is 64 bits for DES) for

Re: [android-developers] Anyone got an example using CipherInputStream and PBE to work ?

2011-10-02 Thread Kostya Vasilyev
I wonder if you're allowed to reuse the same key (declared as final) between encoding and decoding. Other than that, and Nikolay's advice, here is what I do: private static final byte[] SALT = { ... }; private static final int COUNT = 10; private static final byte[] REFERENCE_DATA = Reference

[android-developers] Re: Anyone got an example using CipherInputStream and PBE to work ?

2011-10-02 Thread mac-systems
Just give me a bit more Info there please. I througth the CipherInputStream / CipherOutputStream deal with the details there ? PS: I've got an JUnit Test an it works there pretty well. On 2 Okt., 21:21, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Oct 3, 2011 at 2:36 AM,

[android-developers] Activity gets (re)created when device goes to sleep?

2011-10-02 Thread Latimerius
Hello, I'm seeing something about the Activity life-cycle that I don't believe is covered in the Dev Guide section on Activities. I start an activity which causes its onCreate() and onResume() to be called: D/SkeletonActivity(19132): onCreate() D/SkeletonActivity(19132): onResume() The

[android-developers] Re: ES File Explorer 1.6.0.6 does not return path in data.getPath() anymore...

2011-10-02 Thread Jean-Michel
Thanks Kostya, but in order to avoid reliance on external package I have now integrated my own file picker. A bit of pain in the sohort term, but probabaly a whise thing to do in the long run. Regards, JM On Fri, Sep 30, 2011 at 4:37 PM, Jean-Michel jeanmichel.caz...@gmail.com  wrote:

Re: [android-developers] Re: ES File Explorer 1.6.0.6 does not return path in data.getPath() anymore...

2011-10-02 Thread Kostya Vasilyev
Yep, I'm going to need one soon too, for picking directories... going to write it myself, too, so it can be a dialog (not activity). 02.10.2011 23:54, Jean-Michel пишет: Thanks Kostya, but in order to avoid reliance on external package I have now integrated my own file picker. A bit of pain

[android-developers] Re: RPC failed with status 1

2011-10-02 Thread Markos Fragkakis
OK, I managed to narrow down the problem. It happens when I invoke the Geocoder over my Wifi connection, but works fine over 3G. My Wifi connection is connected normally, if I open the browser I can open any web page. This is my manifest: ?xml version=1.0 encoding=utf-8? manifest

[android-developers] generating synthetic clicks

2011-10-02 Thread John Goche
Hello, Is it possible to send a click event to a check box programmatically (i.e. I instantiate the event and propagate it somehow). This would greatly simplify the task of having a checkbox that has consequences when checked tick itself when say an imageview is clicked (since I would not have to

[android-developers] Re: ListView and MotionEvent

2011-10-02 Thread Studio LFP
You've got it right. Just make sure you are catching MotionEvent.ACTION_CANCEL and MotionEvent.ACTION_OUTSIDE. Return false in onTouch to allow it to pass to the Click and LongClick, but change your colors in the onTouch. Steven Studio LFP http://www.studio-lfp.com -- You received this

[android-developers] Re: Simple database form example

2011-10-02 Thread Studio LFP
You're on the right track there. Just handle a click on a row in the ListView and launch either a dialog or another activity passing it the _id of the row you want to modify. If you want dialog or activity to be reusable, just create the view programatically based on the columns in the

[android-developers] Re: Rotation Vector Sensor

2011-10-02 Thread Kingcrowley
So..after more research and using a HTC Sensation with a gyro it turns out you do need a gyro for this to work! On Sep 22, 2:31 pm, Kingcrowley kingcrow...@gmail.com wrote: Trying to use the Rotation Vector Sensor on a Nexus One 2.3.4 (it is listed as having it) When i run this it

[android-developers] IllegalStateException: Scheme 'https' not registered.

2011-10-02 Thread William Ferguson
I've started getting occassional instances of IllegalStateException: Scheme 'https' not registered. from some users when they are downloading some content using HttpClient, but I can't reproduce it. I understand what the message means, but the content is available from a http address, not a

[android-developers] Re: Bizarre OpenGL performance on Samsung Galaxy.

2011-10-02 Thread calderwa
On tracing in eclipse, I can see that the length of identical calls to glDrawArrays varies wildly - this appears to be where the variability comes in. I seem also to be able to get the phone in a state where all of these calls become unusually lengthened. On Aug 22, 5:33 am, Mark Ayers

Re: [android-developers] Re: ListView and MotionEvent

2011-10-02 Thread John Goche
Thank you Steven for your reply, Would you be able to provide some insight on the difference between ACTION_CANCEL and ACTION_UP. I am somewhat fuzzy on the concept. Anyways, I'm going to give it a go. Thanks, John Goche On Sun, Oct 2, 2011 at 11:36 PM, Studio LFP studio@gmail.com wrote:

Re: [android-developers] Activity gets (re)created when device goes to sleep?

2011-10-02 Thread metin ögtem
it could be continue onResume()..You can logging it.. 2011/10/2, Latimerius l4t1m3r...@googlemail.com: Hello, I'm seeing something about the Activity life-cycle that I don't believe is covered in the Dev Guide section on Activities. I start an activity which causes its onCreate() and

Re: [android-developers] Re: Creating database with adb

2011-10-02 Thread metin ögtem
You dont want to create database with adb..Because databases are in program...Every databse got program..You want to database programless 2011/10/2, Doug beafd...@gmail.com: On Sep 30, 12:11 am, Andi andi.hofba...@googlemail.com wrote: My problem is i have to create a database and put it in the

Re: [android-developers] Re: ListView and MotionEvent

2011-10-02 Thread Studio LFP
An ACTION_CANCEL is sent in the case where the user puts their finger down on a ListView item (or similar) and then starts to scroll. Since the ListView is using it as a scroll command and your finger may stay inside the view, it sends this to cancel the touch on your view. The ACTION_OUTSIDE

[android-developers] The file is invalid: W/ResourceType( 9654):

2011-10-02 Thread cellurl
When I upload my *.apk to the market, it yells at me saying: The file is invalid: W/ResourceType( 9654): Failure getting entry for 0x7f06 (t=5 e=0) in package 0 (error -75) ERROR getting 'android:icon' attribute: attribute is not a string value Even though it complained, it appears in the

[android-developers] ScrollViewed WebView and Hardware Acceleration

2011-10-02 Thread Kuraku
Hi all, I've found that if you put a WebView into a ScrollView AND have Hardware Acceleration turned on (Android 3.0+), when you scroll the ScrollView the WebView distorts and/or creates big white boxes. This DOES NOT happen with Hardware Acceleration off, although the performance is obviously

[android-developers] Runtime Error: failed to connect to camera service in android

2011-10-02 Thread Bipin Shashi
I wanted to make use of the zxing library to detect qrcodes in my app. But for the apps viewing purpose, i had to change the custom display orientation to portrait. Hence i had to integrate the whole zxing library into my app and addded camera.setDisplayOrientation(90) to the openDriver() method.

[android-developers] why can't I enrty adb shell of ASUS transformer?

2011-10-02 Thread Kloze
hello everyone, I met a problem that I can't enrty adb shell. However, I've try some ways and some is useful in another PC.Following is my way to entry shell. sudo chown root:root sudo chmod u+s adb abd kill-server adb devices it's OK before, and now it shows nothing happen and don't enrty adb

[android-developers] TabLayout in vertical positition

2011-10-02 Thread Guillaume Harvey
How can I make the TabLayout in Verticale position if you don't understand what I need, check this photo ;) http://www.2shared.com/photo/NUdWKb2y/Interface.html Thank you!!! Guillaume Harvey -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] New to android and nfc developing

2011-10-02 Thread Gus
I am new to both android and nfc developing! I am searching for a nfc sdk. I already have tested eclipse + android plugin, so i am ready for the client side developing. On the other side i must create a program to run on a server tha will manage the data that will come from nfc communication. Can

[android-developers] BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED unresolved errors

2011-10-02 Thread robosmith
I've recently installed JDK 7 SE and Android SDK 1.13 along with Eclipse IDE for Java development v20090619-0625 In my first project, I'm trying to use BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED, but the interpreter in Eclipse says it cannot be resolved. I have code as: import

[android-developers] Problem regarding the Edge network.

2011-10-02 Thread karan
My data network disappears after every 5 minutes or so randomly. I have to reboot the phone several times in order for it to work again. I'm using the 2.3.4 built on Motorola Fire XT311, please help!!! :( -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: BlueTooth File Transfer

2011-10-02 Thread robosmith
Bluetooth Chat example code shows how it's done: http://developer.android.com/resources/samples/BluetoothChat/index.html -- 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: INSTALL_FAILED_CPU_ABI_INCOMPATIBLE error on 1.6 emulator but I have no native code?!

2011-10-02 Thread Zorilla
Hi I have excactly the same problem. No idea how to solve it. For me it works if I install the release version manually to the 1.6 emulator. If I want to start from the IDE (I use IntelliJ Idea 10..5) I get the INSTALL_FAILED_CPU_ABI_INCOMPATIBLE. I also don't use native code. Just two

[android-developers] the BACK button

2011-10-02 Thread Belgi
Hi, In my app I have a button that once clicked a text box appears on the screen (I'm using the setVisibility to implement this, I change it from GONE to VISIBILE). the problem I have is that when the user presses the BACK button on the device than it exits the app, I want it to call my code that

[android-developers] Bug in MonkeyDevice prevents MonkeyRunner scripts from performing complex drag actions

2011-10-02 Thread jeremy
I'm trying to use MonkeyRunner to send complex 'drag' operations to an attached android device. I'd like to be able to simulate a touch down event at a particular location on screen, then move the simulated finger to a new point A[1] and without lifting this simulated finger, move through a series

[android-developers] starting the activity from service

2011-10-02 Thread arturad
Hi, I'm quite new to android and I stopped myself solving the following problem: I have the following components of my application: -- Main activity -A1 -- Service -- Second activity - A2 When i first start my application it starts the A1 (the main activity). There is a button inside. Clicking

[android-developers] Regarding Contact photos not appearing in messages threat

2011-10-02 Thread Sonu Kumar Sahu
Hi Team, I am suing Samsung Galexy I551 with Android 2.2 Foryo. Problem is that my Gmail contact pictures is not appearing in default messages threat as well as in other gosms application. Pls help me as I have multiple contact with the same name.creating confusion. Thanks in advance Sonu Sahu

[android-developers] Re: Zooming and Panning Issues

2011-10-02 Thread franzisco2011
It can help. ;) http://stackoverflow.com/questions/2537238/how-can-i-get-zoom-functionality-for-images On 28 Set, 21:52, Abel abel8...@gmail.com wrote: I have a picture that zooms and pans but won't stop with passing the limits of the screen and places the image off the screen. I'm mainly

[android-developers] Re: about intents.

2011-10-02 Thread Kamelia
Have you done anything like: Button nameofYourButton = (Button)findViewById(R.id.name_of_your_xml); nameofYourButton .setOnClickListener(mAddListener); And then define the onClickListener? On Sep 28, 2:13 pm, aditi badwe aditi.aba...@gmail.com wrote: hi if i am building the basic

Re: [android-developers] hello

2011-10-02 Thread marc dupuich
Sub Activity_Create(FirstTime As Boolean) Log(Hello world!) Msgbox(Hello world?, First program) End Sub Press F5 to compile and deploy your program to the emulator. Your program will now be compiled and installed to the emulator 2011/9/29 kuek9118 kuek9...@gmail.com i am computer

[android-developers] Re: Samsung Galaxy S2 (2.3.4) and Arduino ADK

2011-10-02 Thread Manish Tanwar
There is another way to use Samsung Galaxy s2 with Arduino Mega Adk 2560 to use with ADB. i try but get error like OSCOKIRQ failed to assert after giving two / tree day i found out the problem now use with Samsung Galaxy s2 and working like piece of cake. For ADK supported deice id sould be in

[android-developers] SearchView focused when hiding the ActionBar menu

2011-10-02 Thread Julius Spencer
Hi, I have an ActionBar with a SearchView. The hidden/overflow menu items are shown on the right in a drop-down list when the menu button in the ActionBar is touched. When the drop-down menu is hidden, the SearchView is focused and the keyboard shows. Is there a way to stop the keyboard from

[android-developers] Enqueueing touch event

2011-10-02 Thread giovanni di lembo
Hi all i try to understand how to manage touch event . Actually on my logcat i see a message such as INFO/ KeyInputQueue(1404): Enqueueing touch event0 Which kind of listener i should implement to my activity? Thnx for help and Regards -- You received this message because you are subscribed

[android-developers] GOOGLE PLUS-ANDROID INTEGRATION

2011-10-02 Thread krishna kumar
guys i have a doubt in how to integrate googleplus with android. My scenario is to create a text box where i type text it should get post in my wall of google plus.And authorization part too.Pls help me with some links or code.please guys. -- You received this message because you are subscribed

[android-developers] Eclipse FTP

2011-10-02 Thread Palike
hello, how can i change this code to work with android?.. or how can i easily connect and send file to ftp?.. import org.apache.commons.net.ftp.FTPClient; import java.io.FileInputStream; import java.io.IOException; public class Main { public static void main(String[] args) { FTPClient

Re: [android-developers] Receive Broadcast when Media Player is open.

2011-10-02 Thread Hack2me
i also do not know about that 2011/10/2 bhaskar Kadam kadam.bhaska...@gmail.com I want to start my application when user starts the Media player. I think it may work by receiving Broadcast of the Media player open. But don't know how exact it will be done.. Anybody have better idea than

[android-developers] Android USB reverse tethering: How to fool the apps

2011-10-02 Thread Cyker Way
USB reverse tethering = Cellphone gets network connection from PC via USB. I know how to do USB reverse tethering except for one problem: Many Android apps will check network connection using the code below before doing any useful work: ConnectivityManager connectivityManager =

[android-developers] Efficient 2D Sprites

2011-10-02 Thread Beck Olson
Greetings! I am working on porting a 2D java game to android. In our original version we created png sprites that had each frame concatenated into a single horizontal image. We are using drawBitmap to render each frame sequentially. The performance is poor and according to the profiler 90% of

[android-developers] Resource File

2011-10-02 Thread Siva Prakash
Hi I want to keep my XML file in a text file and read from Android code. I couldnt keep it in String Values because I have tags in many places. What is the best way? Or I have to handle with escape characters in String file it self? Thanks -- You received this message because you are

[android-developers] ANR Issue with ANR Reason: No touched window

2011-10-02 Thread H. Kwon
I got a ANR message with the below log. As I know, ANR would be occured when doing too long task. but, I'm wondering about ANR Reason: No touched window. what kind of situation is it? Does anybody have an idea? 09-20 20:16:40.363 1619 1648 D InputDispatcher: Waiting because there is no touched

[android-developers] Fwd: Compuetr Vision Applications on Android

2011-10-02 Thread Rahul Ramesh
Hi, Hope you are doing fine. I'm a beginner in the area of Andorid Development. I've developed some very simple apps in the recent weeks. I would like to try my luck on a project which utilizes Computer Vision techniques. I'm looking for nice tutorials or articles related to the topic. So I'd

[android-developers] is there a way for a live wallpaper to detect the app drawer being open?

2011-10-02 Thread Lemon Yogster
Can a live wallpaper detect when the app drawer is open somehow? It still thinks it's visible keeps working. -- 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] IllegalStateException: Scheme 'https' not registered.

2011-10-02 Thread safwat sabra
From: William Ferguson william.ferguson...@gmail.com To: Android Developers android-developers@googlegroups.com Sent: Monday, October 3, 2011 12:15 AM Subject: [android-developers] IllegalStateException: Scheme 'https' not registered. I've started getting

[android-developers] Camera Stream

2011-10-02 Thread tony
i wanna know how to implements video streams in android, i have two options , rtp or sip (the part of videoconferencing), Well, the principle idea is that I want to create an aplication for transmit video from a smartphone to another. -- You received this message because you are subscribed to

[android-developers] How does edit box(EditText) receive user's input?

2011-10-02 Thread matt dw
hi all, I has read the related source codes about edit box(EditText.java and TextView.java). But i didn't understand how edit box get user's input. it is transfered by message? or function setText directly be invoke somewhere? so can anyone give me a hint? or explain it? Thanks very much. --

[android-developers] thanks

2011-10-02 Thread john abah paul
good job -- 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+unsubscr...@googlegroups.com For more options,

Re: [android-developers] Re: ListView and MotionEvent

2011-10-02 Thread John Goche
Thanks, apparently I was able to get it to work perfectly following your advice. What I have not implemented is the code for trackball and joystick devices which seem to generate their own events as described at: http://developer.android.com/reference/android/view/MotionEvent.html Just how old

Re: [android-developers] scrolling question

2011-10-02 Thread John Goche
On Thu, Sep 29, 2011 at 8:50 PM, midhun midhunvp midhu...@gmail.com wrote: In some android phones for scrolling sensor button will be provided.Then we can use focusable or selected in the code. By scrolling sensor do you mean like a touchpad on a laptop? What is the difference between focused

Re: [android-developers] the BACK button

2011-10-02 Thread Mark Murphy
Override onBackPressed() and change the visibility. Be sure to allow the user to eventually exit the activity, though. On Sat, Oct 1, 2011 at 9:16 AM, Belgi belgiamir...@gmail.com wrote: Hi, In my app I have a button that once clicked a text box appears on the screen (I'm using the

Re: [android-developers] Resource File

2011-10-02 Thread Mark Murphy
Put the XML file in res/xml/ and read it using getResources().getXml(). On Sun, Oct 2, 2011 at 10:17 AM, Siva Prakash siva.yuvan2...@gmail.com wrote: Hi I want to keep my XML file in a text file and read from Android code. I couldnt keep it in String Values because I have tags in many

[android-developers] 3d models in Android

2011-10-02 Thread bob
What is the easiest way to load 3d models in Android? I'm looking for something compatible with a GL10 object. -- 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

[android-developers] App crash report - InputChannel - could not read input channel file descriptors from parcel.

2011-10-02 Thread NickL
Hi - crash report is showing this: Android.View.InputChannel.nativeReadFromParcel - Could not read input channel file descriptors from parcel. this seems to occur when the user pressed a button that inflates a dialog. Seems like standard stuff. I googled this message and only see it in a

[android-developers] setAlpha is gone?

2011-10-02 Thread billconan
Hello, I want to write some transparent view, but there is no setAlpha defined with View, although the document claims that there is. I am wondering if setAlpha is deprecated? And how am I suppose to set alpha? Thank you very much, -- You received this message because you are subscribed to the

[android-developers] Re: C2DM - phone send data back to Google Cloud (in addition to normal Cloud to Phone)?

2011-10-02 Thread NickL
While true that the App responds to notifications from C2DM (Google), what is to keep the app from sending an http post message back to Google's C2DM server with a registration ID intended for the server- based app (along with a returned payload of data/message)? On Sep 22, 12:59 am, Sourav

Re: [android-developers] setAlpha is gone?

2011-10-02 Thread Matthew Powers
Its not deprecated. Its just available in API level 11+ On Sun, Oct 2, 2011 at 9:18 PM, billconan billco...@gmail.com wrote: Hello, I want to write some transparent view, but there is no setAlpha defined with View, although the document claims that there is. I am wondering if setAlpha is

Re: [android-developers] Re: Anyone got an example using CipherInputStream and PBE to work ?

2011-10-02 Thread Nikolay Elenkov
On Mon, Oct 3, 2011 at 4:41 AM, mac-systems jens.h...@gmx.de wrote: Just give me a bit more Info there please. What exactly do you need to know? I througth the CipherInputStream / CipherOutputStream deal with the details there ? No. Those just wrap encryption/decryption code, so you don't

[android-developers] Re: Inapp billing question

2011-10-02 Thread androidmediadeveloper
So, there is a way to upload a new version of the app (previous free app already exists in market with same package name) without publishing it ? The market warns Clicking Save will make the app live on market Thanks Ajith On Oct 2, 1:55 pm, Emanuel Moecklin 1gravity...@gmail.com wrote: 1)

Re: [android-developers] Anyone got an example using CipherInputStream and PBE to work ?

2011-10-02 Thread Nikolay Elenkov
On Mon, Oct 3, 2011 at 4:40 AM, Kostya Vasilyev kmans...@gmail.com wrote: I wonder if you're allowed to reuse the same key (declared as final) between encoding and decoding. Other than that, and Nikolay's advice, here is what I do: private static final byte[] SALT = { ...  }; Using a static

Re: [android-developers] Re: Anyone got an example using CipherInputStream and PBE to work ?

2011-10-02 Thread Nikolay Elenkov
On Mon, Oct 3, 2011 at 10:34 AM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Oct 3, 2011 at 4:41 AM, mac-systems jens.h...@gmx.de wrote: Just give me a bit more Info there please. What exactly do you need to know? You might want to read through the tutorials on this site, the

Re: [android-developers] Re: ListView and MotionEvent

2011-10-02 Thread Studio LFP
The HTC Hero is fairly old. I keep one around because it's quite slow and if I can make something function fast on it, it will run exceptionally well on new hardware. On the tablet you can use both a wired and a Bluetooth mouse (I've used a wired mouse and Bluetooth keyboard simultaneously).

Re: [android-developers] Android USB reverse tethering: How to fool the apps

2011-10-02 Thread Nikolay Elenkov
On Sun, Oct 2, 2011 at 10:36 PM, Cyker Way cyker...@gmail.com wrote: So the question is: How can I hack the system to let this network connection check return success (so that I can fool these apps)? BTW. I use Cyanogenmod 7. And any solution specific to this MOD is also welcome. Modify

[android-developers] Camera Orientation Issue

2011-10-02 Thread Chenna Venkatasubbaiah
Hi I want to keep my camera in middle and place a top button bar and bottom button bar in my activity. I want to fix the activity in portrait mode. I need a support from 2.1 onwards. But each version is behaving differently. The method setDisplayOrientation() helps to display camera view normally

Re: [android-developers] 3d models in Android

2011-10-02 Thread J Handal
http://www.blender.org/ -- 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+unsubscr...@googlegroups.com

[android-developers] Re: App crash report - InputChannel - could not read input channel file descriptors from parcel.

2011-10-02 Thread Zsolt Vasvari
Once you have your app published for a while, you will see all kinds of weird crash reports. I, for example, cannot duplicate 80% of the crash reports I get. Of course, Google's refusal to actually share any info about the device, such as device type, OS version, etc, makes it extremely

Re: [android-developers] GOOGLE PLUS-ANDROID INTEGRATION

2011-10-02 Thread TreKing
On Fri, Sep 30, 2011 at 11:47 PM, krishna kumar krishna1...@gmail.comwrote: Pls help me with some links http://tinyurl.com/6jfskrm - TreKing http://sites.google.com/site/rezmobileapps/treking -

  1   2   >