[android-developers] Re: hi

2012-09-21 Thread Chance Sanders
See: http://www.androidhive.info/2012/09/android-twitter-oauth-connect-tutorial/ And the other social media tutorials/examples. You can also use AQuery that has a ton of very nice features for the social networks: http://code.google.com/p/android-query/wiki/Authentication I highly

[android-developers] Re: Beam bump?

2012-09-21 Thread Dominik
no, you only have to approach the two phones back by back. Bumping is not necessary, even touching is not necessary. But if the two phones touch each other, then you know that they are close enough for NFC. Dominik -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Update UI

2012-09-21 Thread Rahul Kaushik
Hi, Can you please elobrate Thanks RK On Wed, Sep 19, 2012 at 11:37 AM, tarun sablok tarun.sab...@gmail.comwrote: In that case your intent will be delivered to the activity in onNewIntent() so implement that and extract the extra data which you have send it through the getIntent()

[android-developers] Re: Des Serialize file in android

2012-09-21 Thread Carlos Calvo
I finally discovered the cause of failure. It's a java bug when serializing Calendar with multithreading Now I keep time with a variable type long Calendar.getTimeInMillis Good Luck bY kLvin El viernes, 14 de septiembre de 2012 13:09:13 UTC+2, Carlos Calvo escribió: I have a fairly rare

[android-developers] Re: IME - Service in a trusted and activated thrid-app IME which set iteslef as the default IME - Possible?

2012-09-21 Thread sly87
Anyone can help me please? On Thursday, September 20, 2012 4:49:52 PM UTC+2, sly87 wrote: Hello, I'm working on IMEs. I know that only the system and verified IMEs can programatically switch the IME in use. However I am not sure if it is possible to do the following: I want my own IME_A

[android-developers] Re: IME - Service in a trusted and activated thrid-app IME which set iteslef as the default IME - Possible?

2012-09-21 Thread RichardC
Why don't you write the code, try it and report the results here ? On Friday, September 21, 2012 10:25:41 AM UTC+1, sly87 wrote: Anyone can help me please? On Thursday, September 20, 2012 4:49:52 PM UTC+2, sly87 wrote: Hello, I'm working on IMEs. I know that only the system and verified

[android-developers] Re: Convert Canvas - Bitmap

2012-09-21 Thread Jochen Breuer
You basically do this: Paint paint = new Paint(); paint.setFilterBitmap(true); paint.setDither(true); paint.setAntiAlias(true); Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_); Canvas canvas = new Canvas(bitmap);

[android-developers] AchartEngine null Point exception

2012-09-21 Thread Dasun Udara
*I have implement a charts using AchartEngine and when I am feeding data for that method using array normally it works fine But when I feed them using a method (get data from SqLite database ) and try to feed it but it crashed i need quick help please any one Know how to get rid of this.* * *

[android-developers] Re: ZXING Barcode Scanner

2012-09-21 Thread amir teshome
hi Thank you for both of u. but what i need is to scan qr code with out any other app. i have tried a lot with zixing but not succeed.please any help ? On Wednesday, November 18, 2009 12:28:30 AM UTC+3, Jose C Gomez wrote: Hello All, I am writing an application that needs the ability to

[android-developers] Error While building android4.1 on Ubuntu12.04 in VMware.

2012-09-21 Thread Hilda Chen
I have built the android develop environment and downloaded the android4.1-cts source code from the android develop website.But there is an error while building the source code as follows: host Java:ddmlib-tests (out/host/common/obj/JAVA_LIBRARIES/ddmlib- tests_intermediates/classes)

[android-developers] Re: Numberpicker vs Android 2.x

2012-09-21 Thread 李海珍
I also like to Know,If you have any solution.please tell me.Thanks 在 2012年9月18日星期二UTC+8下午4时15分54秒,Károly Holczhauser写道: Hello Developers ! Would I ask you help and assist in the following question please: How can I use an Numberpicker (from API 11) an Android 2.2 (API 8) ? As I know

[android-developers] HTTP Authentication not working in Android 4.x

2012-09-21 Thread Daniel Riegler
I have a phonegap application. I query a REST web service which requires HTTP Basic Authentication here is my code: var username = 'test'; var pass = 'test'; var string = username+':'+pass; var hash = btoa(string); $.ajax({ type: 'GET', dataType: 'jsonp', crossdomain: true,

[android-developers] Problems using GCM

2012-09-21 Thread Jean-Luc TRESSET
Hi. I'm currently trying to use the Google Cloud Messaging service. First I tried to write my own code, looking at the Android doc tutorial, but it did not work. So I finally decide to directly try the demonstration client of GCM, and to write a simple PHP sender to test the messaging service.

[android-developers] Make activity appear after layout

2012-09-21 Thread BoresExpress
My activity tekes too long to start. I'm adding many controls on it during onCreate and it take long to measure and layout all of them. After creation process has started user has to see empty black screen with title of my activity. I want this activity appear on the screen only after layout is

[android-developers] HttpURLConnection Bug ?

2012-09-21 Thread Giordano
Hi, I'm using the HttpURLConnection class to send a request to web server through a POST method and run into a really weird error. There seems to be a specific message which causes an error with the following stack trace: libcore.io.ErrnoException: recvfrom failed: ECONNRESET (Connection reset

[android-developers] Accessing Data from an External Database

2012-09-21 Thread gtraub
Hello, Developing my first Android application and have a best practice design question. My app need to retrive data from an external SQL Server database. For example, pass a store number parameter and recieve information about that store to display in the app. After browsing some articles

[android-developers] Re: IME - Service in a trusted and activated thrid-app IME which set iteslef as the default IME - Possible?

2012-09-21 Thread sly87
I did some unsuccessful tests actually. But instead spending hours and hours, I just would like to know if it is theoritically possible to do this. I tend to think that only the in-use IME can do this but I'm not sure. Thanks. -- You received this message because you are subscribed to the

[android-developers] i want to handling in my application, if user click Clear Data

2012-09-21 Thread ricky robiansyah
how to handling in my application...if user click clear data in manage application. i want back up data in the handling. now if user click clear data the all data is lost in my application. some data is critical to the process in my application. please help me to resolve it... thanks -- You

[android-developers] Start / Resume Task Back Stack from Notification as Recent Apps Switching

2012-09-21 Thread kc
Hi all, My application has two activities *A* and *B*. *A* is the root activity and set with *singleTop* *launchMode*. *B* is started from A, i.e. the task stack is (*A-B*) I add a status notification to launch the application as long press Home button. The notification intent point to

[android-developers] 4.1 jellybean,

2012-09-21 Thread Shane Flynn
When is 4.1 going to be available for the htc one x -- 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] Start GCM intent service from inside service?

2012-09-21 Thread Ole Nissen
Hi All, I have a service which I use to update some widgets on my homescreen. This service is started when I place my very first widget on the homescreen and removed when the last is removed. I need to update some of the widgets from data received through the Google cloud GCM. I use the

[android-developers] AVDs and OpenGL ES 2.0

2012-09-21 Thread Mark
For a couple of days I've been scratching my head trying to get some simple OpenGL ES 2.0 code to work on a 4.0.3 or 4.1 AVD with GPU emulation (supposedly) enabled. While the code works on an actual device, none of my searches on the various warnings and error messages revealed why the GPU

[android-developers] Re: java.lang.IllegalStateException in Media.configure() with the new MediaCodec API

2012-09-21 Thread Kuanyu Chou
Hi, I also got the same error on Galaxy Nexus and Nexus S. Is there anything wrong for configure? MediaCodec codec = MediaCodec.createEncoderByType(video/avc); codec.configure(MediaFormat.createVideoFormat(video/avc, 640, 480), null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); codec.start();

[android-developers] Adding application settings(preferences) in the android system settings menu

2012-09-21 Thread rahul
Dear All, I want to add my application setting options(preferences) in the android system setting menu. This option should be vissible to the user even when the user dont launch my application/activity. I think I can do this once the bootup is compelted by listening the BOOT_COMPLETED. I want

[android-developers] No Vibrate option on side button volume down

2012-09-21 Thread Skylar
i got a replacement phone through verizon wireless. i got droid 4 and this droid 4 replacement does not have the option to go to vibrate using th side buttons for volume down. it goes from low volume straight to no sound..i use this option quite a bit and would like to know if there was a

[android-developers] AndroidManifest

2012-09-21 Thread Paulo
Well, I have this problem, I think maybe its easy and I dont know how I could fix.. When I use in AndroidManifest.xml provider android:authorities=android.customapp.quicknotesprovider android:name=.QuickNotesProvider = = pre= /provider I have this error The content of elements must

[android-developers] Search keyword within Google Play Store

2012-09-21 Thread Tokusei Noborio
Hi everyone, I would like to know how to obtain search keyword within Goole Play Store. I want to retrive the data (search keyword within Goole Play Store) using my program routine. Do you know how to get the information? Tokusei Noborio -- You received this message because you are

[android-developers] How to check connection for Bluetooth server?

2012-09-21 Thread Zenghua HUANG
Hi guys. I made a Bluetooth server on Galaxy tab (Android 3.1) following the codes of BluetoothChat. I succeed in connecting this bluetooth server from my PC (though Docklight). When the PC disconnect the service, I want to know it in my program, how can I do that? I tried the method

[android-developers] KeyChain.getPrivateKey(Context,String) on Android 4.1?

2012-09-21 Thread Meidey
I read that there is problem method KeyChain.getPrivateKey(Context,String) on Android 4.1 although on older versions it works. Does anybody has solution how to get private key on JellyBean? Code that does not work on 4.1, but works great on older versions. PrivateKey pk; try { pk =

[android-developers] Android App - Python+Eclipse

2012-09-21 Thread Prat
Hello, I am a beginner of android apps. I am using eclipse to develop an android app for samsung galaxy tab. I have installed pydev plugin for eclipse too. However, I am unsure of how to bundle my python files and create a new android app. Basically, I do not know, where to put my python files

[android-developers] Re: Android application pause/resume state.

2012-09-21 Thread wvoquine
How about having other activities in a shared library, from other developers? I have a native thread and I have to work with the assets directly from the native code (it is really a port of a complete game). Loading the whole archive is pretty slow and I have to reload it each time I

[android-developers] Can anybody tell me how can i disable BACK button on android?

2012-09-21 Thread Wajiha Kanwal
Can anybody tell me how can i disable BACK button on android? -- 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] marshall a parcel with bitmap

2012-09-21 Thread Ramin
Hi, i want to marshall a parcel which has got a bitmap but i got Runtime exception says that the parcel has got binder object.the error is :Tried to marshall a Parcel that contained Binder objects. how can i marshall it without the binder object? -- You received this message because you are

[android-developers] Launching my application from a widget

2012-09-21 Thread Yevgeny Chertov
Hey, I'm doing a task that, in my opinion should be relatively simple. I have an application on android, and I want to make a widget that, when clicked on, launches the application. I've followed many forum posts online, and yet have come up short. I would really appreciate any insight into

[android-developers] Can Bluetooth Server (on Andoid tablet) be connected server times?

2012-09-21 Thread Zenghua HUANG
On the topic of Android Bluetooth Server, I have many questions. I build a BluetoothService, which is connected as a server. Following the guide of Android developers: http://developer.android.com/guide/topics/connectivity/bluetooth.html#ManagingAConnection I simply the codes of BluetoothChat, in

Re: [android-developers] Re: Numberpicker vs Android 2.x

2012-09-21 Thread Károly Holczhauser
Hello ! There is no NumberPicker in Android 2.2, even via the Android Support Library. You have to do your own implementation :( Cheers, Karoly On 21 September 2012 03:45, 李海珍 banxi1...@gmail.com wrote: I also like to Know,If you have any solution.please tell me.Thanks 在

Re: [android-developers] Can anybody tell me how can i disable BACK button on android?

2012-09-21 Thread Parthi K
just call backpress method. ex public void onBackPressed() { } 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

Re: [android-developers] Can anybody tell me how can i disable BACK button on android?

2012-09-21 Thread ravi saini
just override this method- @override public void onBackPressed() { Toast.makeText(getApplicationContext(),back button click,1).show();} -- 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] Fragments inside a ListFragment

2012-09-21 Thread Raneez
I am using a *custom viewpager* which has Listfragment's loaded with * FragmentPagerAdapter*. Each ListFragment represents a *dual panel layout*, where each list item(Left) loads some other fragments to a *framelayout*(Right Panel). Is this a best practice? -- You received this message

Re: [android-developers] Fragments inside a ListFragment

2012-09-21 Thread Mark Murphy
Fragments inside of fragments is not supported: http://stackoverflow.com/questions/6847460/fragments-within-fragments/6847770#6847770 On Fri, Sep 21, 2012 at 6:51 AM, Raneez rane...@gmail.com wrote: I am using a custom viewpager which has Listfragment's loaded with FragmentPagerAdapter. Each

Re: [android-developers] Problems using GCM

2012-09-21 Thread Mark Murphy
GCM questions are best asked on the android-gcm Google Group. On Fri, Sep 21, 2012 at 4:51 AM, Jean-Luc TRESSET bigbob...@gmail.com wrote: Hi. I'm currently trying to use the Google Cloud Messaging service. First I tried to write my own code, looking at the Android doc tutorial, but it did

Re: [android-developers] Start GCM intent service from inside service?

2012-09-21 Thread Mark Murphy
GCM questions are best asked on the android-gcm Google Group. On Wed, Sep 19, 2012 at 1:39 PM, Ole Nissen m...@olenissen.com wrote: Hi All, I have a service which I use to update some widgets on my homescreen. This service is started when I place my very first widget on the homescreen and

Re: [android-developers] Can anybody tell me how can i disable BACK button on android?

2012-09-21 Thread Jim Graham
On Wed, Sep 19, 2012 at 11:10:52AM -0700, Wajiha Kanwal wrote: Can anybody tell me how can i disable BACK button on android? Remind me not to get any of your apps. That's a sure way to piss off a lot of would-be users. Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)

[android-developers] Re: Fragments inside a ListFragment

2012-09-21 Thread Raneez
Is there any alternate solution to implement this? On Friday, 21 September 2012 16:21:11 UTC+5:30, Raneez wrote: I am using a *custom viewpager* which has Listfragment's loaded with * FragmentPagerAdapter*. Each ListFragment represents a *dual panel layout*, where each list item(Left) loads

[android-developers] Additional functionality

2012-09-21 Thread Saurabh Khemka
After installing an android application, when one goes to settings option in the device, there are a lot of options with respect to the installed application. I want to know how to add some more options in the settings to my application. -- You received this message because you are subscribed

Re: [android-developers] Re: Fragments inside a ListFragment

2012-09-21 Thread Mark Murphy
On Fri, Sep 21, 2012 at 7:59 AM, Raneez rane...@gmail.com wrote: Is there any alternate solution to implement this? Do not put fragments in fragments. It is unclear to me that there should be *any* fragments in your solution. If nothing else, replace the ListFragments with plain ListViews in

Re: [android-developers] Additional functionality

2012-09-21 Thread Mark Murphy
Create your own settings activity and put it in your own application. You cannot affect what the Settings application displays for your app. On Fri, Sep 21, 2012 at 8:05 AM, Saurabh Khemka saurabh.khem...@gmail.com wrote: After installing an android application, when one goes to settings option

[android-developers] Re: Help

2012-09-21 Thread Saurabh Khemka
Thanks for the help. But when I am trying to open the pdf file after installing the application on my tablet, it is throwing an alert File Not Found: data/data/package-name/mypdf.pdf. How can I access a pdf stored private to my application after installing the application on a device? Please

[android-developers] How to create Androiod push notifications?

2012-09-21 Thread Sivakumar M
Hi How to create Androiod push notifications using Android Cloud to Device Messaging (C2DM)? . I try to singup C2DM account but that page forward to C2DM tutorial page. please explain how to use Android Cloud to Device Messaging (C2DM). By Siva -- You received this message because you are

[android-developers] Drag and drop a button or any view to ant psition og sumsung tablet screen position

2012-09-21 Thread Abhra Kar
Hi , I am new in android development , I have created a button and trying to drag and drop to any position on the tablet screen , but the view drop option is never called .Whenever the i drop the button any position it go back to it's original position. *activity_main.xml*

[android-developers] Android App Published But Not Visible in Google Play Store even after published

2012-09-21 Thread Nikhil Shah
Hi All, I had published the app on Google Play long back and it was visible on Google Play. Yesterday Night I just logged in to my developer account to check the errors. Today Morning I see that the app is no more visible on Google Play. Any idea... Help is appreciated Thank you Nikhil --

[android-developers] Re: Extract the call log and run it as a service

2012-09-21 Thread Bjorn Bertilsson
Hi, Im looking for an app that can do this. Is it done ? Whats the name of it ? // Den måndagen den 30:e januari 2012 kl. 07:07:37 UTC+1 skrev mithu: I'm developing an app that extracts the call log and store it in a local text file, then push this file to a server. Till now i'm able to

[android-developers] Re: ListView | Full Code | Cannot capture item click!

2012-09-21 Thread kj
Don't set click listeners directly on the items you are creating in getView(). Use ListView.setOnItemClickListener() and ListView.setOnItemLongClickListener() instead. If you need particular item data, the AdapterView given in those callbacks have methods to get items at positions from the

[android-developers] Re: I have the following error: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: at android.os.Parcel.readParcelable(Parcel.java:1958)

2012-09-21 Thread Marius Constantin
Or maybe there is another way to use Parcelable from your lib project into your main project regarding the classLoader ? Can someone help me on this matter ? Thanks. On Wednesday, July 25, 2012 5:54:36 PM UTC+3, Marius Constantin wrote: To be more specific, I have 2 projects and one of them

[android-developers] extra lifecycle events

2012-09-21 Thread Craig
My issue: whenever my app starts up, it then shuts down and restarts. Whenever it stops, it stops, gets destroyed, gets recreated, and then stops again. My app is basically a wrapper for a WebView that uses my webapp. I'm going to have a dedicated set of devices (Nexus 7 tables, yay!) to run

Re: [android-developers] How to create Androiod push notifications?

2012-09-21 Thread Mark Murphy
C2DM is deprecated. Please use Google Cloud Messaging (GCM): http://developer.android.com/guide/google/gcm/index.html For help with GCM, please use the android-gcm Google Group. On Fri, Sep 21, 2012 at 6:42 AM, Sivakumar M smsiv...@gmail.com wrote: Hi How to create Androiod push

[android-developers] how to send vector from one activity to another

2012-09-21 Thread rauf qureshi
hello friends I am trying to send Vector one activity to another activity how to do this can any body tell me. thanks -- 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

[android-developers] Android cursor issue...

2012-09-21 Thread Anoop C
Dear all, In my app i want to display data from SQLite in listview. Listview will activate while clicking the curresponding EditText. I coded those things. But problem arising is , while i click one item in listview i want to display another item in the TextView relate to that clicked

[android-developers] Re: Fragments inside a ListFragment

2012-09-21 Thread Raneez
I have used viewpager only with fragments, how to replace listfragments with listview in a viewpager? On Friday, 21 September 2012 16:21:11 UTC+5:30, Raneez wrote: I am using a *custom viewpager* which has Listfragment's loaded with * FragmentPagerAdapter*. Each ListFragment represents a

[android-developers] problem in service

2012-09-21 Thread rathod kantilal
Hi everyone. I use service in android, I want to do when my application is in background, my service is start automatically, but when my application is foreground, my service is stop automatically. Please if u have any idea or any code, reply me Thanks in advance. From, Kantilal Rathod --

Re: [android-developers] Re: expandable list group view

2012-09-21 Thread Mulsaniya Bhadresh
its ok buddy... -- 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

[android-developers] Media recorder stop

2012-09-21 Thread android_developer
in my camera app, the media recorder stop is called on the main UI thread. Both the developer reference at the android site, as well as android camera reference code seem to do the same thing (call stop on the main UI thread). However under certain scenarios, (SD card is slow, parallel IO is

Re: [android-developers] problem in service

2012-09-21 Thread Justin Anderson
What is the use case for this? Why would you want to stop the service when your activity starts? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Sep 21, 2012 at 6:52 AM, rathod kantilal rathod3...@gmail.comwrote: Hi everyone. I use service in

[android-developers] Housekeeping within Eclipse Juno

2012-09-21 Thread Daz
I am fairly new to Eclipse, and after numerous Java and Android tutorials I have found my package explorer rather overloaded with projects. I have tried countless times to try and divide everything up into 2 folders, 1 for Java and 1 for Android projects, but I keep getting errors. I have

[android-developers] Re: Housekeeping within Eclipse Juno

2012-09-21 Thread RichardC
Use Workspaces and set the package view to show Workspaces On Friday, September 21, 2012 2:32:30 PM UTC+1, Daz wrote: I am fairly new to Eclipse, and after numerous Java and Android tutorials I have found my package explorer rather overloaded with projects. I have tried countless times to

[android-developers] Re: Android App Published But Not Visible in Google Play Store even after published

2012-09-21 Thread RichardC
1. Check for email from Google. 2. Tell us the app name (and package name) so we can look 3. Or we can guess :) On Friday, September 21, 2012 12:21:49 PM UTC+1, Nikhil Shah wrote: Hi All, I had published the app on Google Play long back and it was visible on Google Play.

[android-developers] Re: Error While building android4.1 on Ubuntu12.04 in VMware.

2012-09-21 Thread RichardC
Platform support groups are here: http://source.android.com/community/index.html On Friday, September 21, 2012 7:18:59 AM UTC+1, Hilda Chen wrote: I have built the android develop environment and downloaded the android4.1-cts source code from the android develop website.But there is an

[android-developers] Re: Android App - Python+Eclipse

2012-09-21 Thread RichardC
What makes you think Android can run python? On Thursday, September 20, 2012 10:09:33 PM UTC+1, Prat wrote: Hello, I am a beginner of android apps. I am using eclipse to develop an android app for samsung galaxy tab. I have installed pydev plugin for eclipse too. However, I am unsure of

[android-developers] Re: how to send vector from one activity to another

2012-09-21 Thread Jay Howard
I'll assume you have a VectorFoo. 1. Make sure Foo implements Serializable or Parcelable. 2. Call toArray(Foo[]) on the Vector to get a Foo[]. 3. Set the Foo[] as an extra using Intent.putExtra(Serializable) or intent.putExtra(Parcelable[]). 4. In the resulting activity, get the array back using

[android-developers] consistent jpeg compression when using the camera api?

2012-09-21 Thread Jay Howard
My app uses the Camera to take high-res images, which are then jpeg compressed and sent over the network. Initially I relied on the jpeg quality setting in the Camera API: final Camera.Parameters params = mCamera.getParameters(); params.setPictureFormat(PixelFormat.JPEG);

[android-developers] Proper way to communicate service errors to activity

2012-09-21 Thread Cool Frood
Hi, I'm trying to implement a service that is started by an activity. When the service starts off, it spawns a worker thread that makes a socket connection. If the socket connection fails, I want to stop the service. All this is working fine, but I don't have a good handle of how to

[android-developers] Best Practive in Passing Objects through an Intent to either Activity, BroadcastRecievers or Services

2012-09-21 Thread LemonCodes
What is the best practices in passing Object? is it serializable or parceable? kinda confused which one to use, i'm just planning passing a single object not an array of Objects -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Re: Fragments inside a ListFragment

2012-09-21 Thread Mark Murphy
On Fri, Sep 21, 2012 at 8:55 AM, Raneez rane...@gmail.com wrote: I have used viewpager only with fragments, how to replace listfragments with listview in a viewpager? You would need to create your own PagerAdapter implementation that does not use fragments. This sample app primarily exists to

[android-developers] jar blues

2012-09-21 Thread bob
Eventually, I want to create a JAR library with my Android routines in it. So, I tried this test: package com.jar_test; public class Jar_Test { public static void jar_test() { System.out.println(This is a JAR test); } } I exported that to a JAR. Then, I made this test app: package

[android-developers] Re: Best Practive in Passing Objects through an Intent to either Activity, BroadcastRecievers or Services

2012-09-21 Thread Jay Howard
For simplicity's sake I like Serializable because it frees you from the work of implementing Parcelable. It's possible Parcleable could perform better, but if you're worried about performance when passing objects between activities then you should probably be storing them in a global location

[android-developers] Re: jar blues

2012-09-21 Thread Jay Howard
Guessing you need to have it in the lib directory in your Android project. Adding it as an external library in eclipse adds it to your eclipse classpath, so the build errors disappear in eclipse, but the android build process only packages the jars it finds in your project's lib dir. On

[android-developers] info on pixel format: OMX_TI_COLOR_FormatYUV420PackedSemiPlanar

2012-09-21 Thread Peter Kolarov
Hello, Does anyone have information about this: OMX_TI_COLOR_FormatYUV420PackedSemiPlanar pixel format? Or even how to convert NV21 (or any other more standard format) to this? thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Housekeeping within Eclipse Juno

2012-09-21 Thread Daz
Thanks for the reply, Couldn't quite get my head around that method, so I have moved all my Java folders that I wont be working on any longer to a new destination, created a new project, then a new folder within the project, clicked advance, and linked the folder to the new destination :-)

[android-developers] Can't get images to show on virtual device

2012-09-21 Thread Daz
I am trying to get some small jpeg images onto my virtual device by accessing the file explorer in the DDMS section of Eclipse. The images seem to be on the device, but are not in the Gallery as they are in a tutorial I am following. I've tried restarting the virtual device but no luck. I

[android-developers] using color.xml definitions in string.xml

2012-09-21 Thread Robert Greenwalt
Is there a syntax that allows me to reference a color defined in color.xml in my string.xml file? I can do: string name=my_stringfont fgcolor=#ff90STRING: /font/string but hardcoding is bad. I'd really like to do: string name=my_stringfont fgcolor=@color/my_color_defintionSTRING:

Re: [android-developers] KeyChain.getPrivateKey(Context,String) on Android 4.1?

2012-09-21 Thread Nikolay Elenkov
On Thu, Sep 20, 2012 at 4:24 PM, Meidey toms.med...@gmail.com wrote: I read that there is problem method KeyChain.getPrivateKey(Context,String) on Android 4.1 although on older versions it works. Does anybody has solution how to get private key on JellyBean? Not sure what you read, but there

Re: [android-developers] Re: Numberpicker vs Android 2.x

2012-09-21 Thread UgglyNoodle
SimonVT has created a backport of the NumberPicker to Android 2.1: https://github.com/SimonVT/android-numberpicker I haven't used it myself, but I hope it works for you! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Optimization distance using Dijkstra's algorithm

2012-09-21 Thread niko20
I'm not sure what you mean, this algorithm isn't specific to any one type of map. If you have the data needed, it can work with any type of map. If you were trying to do use it on a google maps type application, you would need access to road distances, road speed limit, etc. Dijkstra's algo is

[android-developers] Re: How does the Google Play cash flow work?

2012-09-21 Thread niko20
On play store, once you submit your app, it's available within 10 minutes Income is payed out once a month No difference except for different currencies will pay different rates of course Google's share is automatically removed on your end before you get paid. Customer doesnt have to do

[android-developers] Re: Lunar Lander Example - Thread Safety

2012-09-21 Thread niko20
Thread safety is only an issue if both threads are attempting to write to the variable. If one is only writing, and the other is only reading, then you don't have to worry about locks On Sunday, September 16, 2012 11:36:09 AM UTC-5, sdb wrote: I'm new to android development and have been

[android-developers] Re: Lunar Lander Example - Thread Safety

2012-09-21 Thread Lew
niko20 wrote: Thread safety is only an issue if both threads are attempting to write to the variable. If one is only writing, and the other is only reading, then you don't have to worry about locks That is completely wrong. -- Lew -- You received this message because you are subscribed

[android-developers] Re: Housekeeping within Eclipse Juno

2012-09-21 Thread Lew
Daz wrote: Thanks for the reply, Couldn't quite get my head around that method, so I have moved all my Java folders that I wont be working on any longer to a new destination, created a new project, then a new folder within the project, clicked advance, and linked the folder to the new

Re: [android-developers] Best Practive in Passing Objects through an Intent to either Activity, BroadcastRecievers or Services

2012-09-21 Thread Kristopher Micinski
On Fri, Sep 21, 2012 at 11:17 AM, LemonCodes mikram.lavin...@gmail.com wrote: What is the best practices in passing Object? is it serializable or parceable? kinda confused which one to use, i'm just planning passing a single object not an array of Objects What are you passing, and should it

[android-developers] Re: Housekeeping within Eclipse Juno

2012-09-21 Thread Daz
Thanks Lew, I'll look into the documentation when I get a minute, it's just I resorted to that method for the time being as I am really trying hard to get my head around the Android fundamentals, etc. Regards to Giving up, trust me.. I never, never give up regarding programming, or in fact

[android-developers] Re: jar blues

2012-09-21 Thread bob
Ok. I created a libs folder. I drag-and-dropped the jar into it. I did an Add JARs…. It didn't like that I had AndroidManifest.xml and an icon in the JAR, so I fiddled around till I pulled that stuff out. Then, it worked. Thanks. On Friday, September 21, 2012 10:56:17 AM

Re: [android-developers] Can't get images to show on virtual device

2012-09-21 Thread Salih Gündüz
I am not sure but maybe they must be in dcim folder. On Fri, Sep 21, 2012 at 7:11 PM, Daz daz1...@gmail.com wrote: I am trying to get some small jpeg images onto my virtual device by accessing the file explorer in the DDMS section of Eclipse. The images seem to be on the device, but are not

Re: [android-developers] Re: jar blues

2012-09-21 Thread Dalvinder Singh
Better approach is to create java project instead of android project if you want to create jar. If you want to have a common android code for multiple projects then go for android library project. ... Singh On Fri, Sep 21, 2012 at 11:45 PM, bob b...@coolfone.comze.com wrote: Ok. I created a

Re: [android-developers] Best Practive in Passing Objects through an Intent to either Activity, BroadcastRecievers or Services

2012-09-21 Thread Dalvinder Singh
Parcellable is android's way just like serializable of standard java. On Fri, Sep 21, 2012 at 11:14 PM, Kristopher Micinski krismicin...@gmail.com wrote: On Fri, Sep 21, 2012 at 11:17 AM, LemonCodes mikram.lavin...@gmail.com wrote: What is the best practices in passing Object? is it

Re: [android-developers] Best Practive in Passing Objects through an Intent to either Activity, BroadcastRecievers or Services

2012-09-21 Thread Kristopher Micinski
... http://www.mooproductions.org/node/6 kris On Fri, Sep 21, 2012 at 2:45 PM, Dalvinder Singh singh.dal...@gmail.com wrote: Parcellable is android's way just like serializable of standard java. On Fri, Sep 21, 2012 at 11:14 PM, Kristopher Micinski krismicin...@gmail.com wrote: On Fri, Sep

Re: [android-developers] Re: jar blues

2012-09-21 Thread bob
*android library project*? I don't have an Eclipse Project Wizard with a name like that. Can you clarify? On Friday, September 21, 2012 1:44:06 PM UTC-5, Dalvin wrote: Better approach is to create java project instead of android project if you want to create jar. If you want to have

Re: [android-developers] Re: jar blues

2012-09-21 Thread Kristopher Micinski
how about http://www.vogella.com/articles/AndroidLibraryProjects/article.html that tutorial? kris On Fri, Sep 21, 2012 at 3:30 PM, bob b...@coolfone.comze.com wrote: android library project? I don't have an Eclipse Project Wizard with a name like that. Can you clarify? On Friday,

[android-developers] Re: How to create time-lapse video from existing pictures?

2012-09-21 Thread Jay Howard
I'm in a similar situation, Alex. Did you ever find a solution to your problem? I found third-party libraries that support creating AVI and MOV (Quicktime) files from a series of JPEG images, but the compression isn't nearly as good as H.264. On Saturday, June 30, 2012 5:26:41 PM UTC-5, Alex

Re: [android-developers] Proper way to communicate service errors to activity

2012-09-21 Thread Kristopher Micinski
You can always maintain an error queue, so if you notice some errors before the activity is attached, you can propagate them back to the Activity. I've done this before, and had success doing so. (In fact, we do this a fair amount in the security libraries we write for our projects here, because

Re: [android-developers] Re: jar blues

2012-09-21 Thread bob
Looks good. Thanks. On Friday, September 21, 2012 2:35:14 PM UTC-5, Kristopher Micinski wrote: how about http://www.vogella.com/articles/AndroidLibraryProjects/article.html that tutorial? kris On Fri, Sep 21, 2012 at 3:30 PM, bob b...@coolfone.comze.comjavascript: wrote:

[android-developers] Re: Lunar Lander Example - Thread Safety

2012-09-21 Thread bob
Yes, it is wrong because you may read it when it's only half-written. On Friday, September 21, 2012 12:35:09 PM UTC-5, Lew wrote: niko20 wrote: Thread safety is only an issue if both threads are attempting to write to the variable. If one is only writing, and the other is only reading,

  1   2   >