Re: [android-developers] Simulate UI Actions on device

2011-06-14 Thread Pepijn Van Eeckhoudt
On 11/06/2011 20:25, Mark Murphy wrote: On Fri, Jun 10, 2011 at 9:12 AM, Gorav Singaltechi...@gmail.com wrote: Actually, I want to have mobile application running in background. And, I have a java application running on desktop, which will send commands through socket. And, the device

[android-developers] Web service using ksoap

2011-06-14 Thread Look
hi, i am trying to access to server. but i'm getting an error in the HttpTransportSE. i have added the jar for ksoap also. Below i will mention the whole code. import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapSerializationEnvelope;

[android-developers] Activity and Method

2011-06-14 Thread Andrei
Good afternoon. I have work with Google maps. I want to boot card (when the user presses the call menu)determined by its location. As well I have a database with addresses and there is a button to see the map. I want to be when you click on this button, the user gets it to the address that he

[android-developers] Re: Reading PayWave (ISO14443-B format) track information using Android 2.3.3 NFC API

2011-06-14 Thread Shekhar
Hi Michael, I have a doubt.You mean to say that if the EMV card supports ISO 14443 standard then we can be able to read the payment details of the credit cards using APDU commands? Thanks, Shekhar On Apr 25, 5:09 pm, Michael Roland mi.rol...@gmail.com wrote: Hallo lal, I'm trying to Read

[android-developers] Re: Emulator .ini files

2011-06-14 Thread mlybrand
The scaling in the dialog works for me. I don't know how I overlooked that... I guess it's my proclivity for opening files in a text editor and mucking about with them :) I do so prefer that to windows and dialogs. -- You received this message because you are subscribed to the Google Groups

[android-developers] SipManager

2011-06-14 Thread dao
Hello, The developer guide says that SIP runs over wireless, but, is it possible to use other interface, for instance eth0? 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] Re: Your Opinion between android native app or HTML-5 Web App.

2011-06-14 Thread Doug
http://www.google.com/events/io/2011/sessions/html5-versus-android-apps-or-web-for-mobile-development.html On Jun 12, 11:20 pm, Ishwar Chawla chawla.ish...@gmail.com wrote: I just want your opinion which option is better I am about to start a project looking at ease of coding and UI which

[android-developers] Re: Android - SQLLite

2011-06-14 Thread Manuel R. Ciosici
Hi Sivaprakash, The best way to store that data is to encrypt it. No matter where you store the data the root user can get to it. Your only solution is to encrypt it. Manuel R. Ciosici On Jun 13, 8:38 am, Sivaprakash sivaprakashshanmu...@gmail.com wrote: It is like this, - I am creating

[android-developers] How to add APP icon to desktop automatically

2011-06-14 Thread June_Hello
Hi folks, I find that when switch on the mobile, some icon of the application (for example. Mms , Phone, Contacts) has been added on desktop by default, so my question is if I write a new application, how can I add the icon to desktop like that (I do development on source code ,so need to

[android-developers] Re: opening a url in browser with post data from an activity

2011-06-14 Thread Jens
WebView webView = ; ListNameValuePair parameters = new ArrayListNameValuePair(); parameters.add(new BasicNameValuePair(parameter1, someValue)); parameters.add(new BasicNameValuePair(id, 12345)); parameters.add(new BasicNameValuePair(encodingTest, \;)); UrlEncodedFormEntity entity = new

[android-developers] Re: Your Opinion between android native app or HTML-5 Web App.

2011-06-14 Thread Ishwar Chawla
Many Thanks for your replies! I need to develop a video chat application I thought of using websockets feature of HTML-5. I dont have good command over HTML-5 but I am very in native Java.For developing Video chat like application is it sane to switch to HTML-5 or to use Opentok API for

Re: [android-developers] Re: SSL Socket Connection fails after network cut

2011-06-14 Thread Lorie Pisicchio
Thanx Kostya for you suggestion. I will try to have a look at this session caching : I think the issue could come from this. I'm not using HTTP : I use socket. But I was using apache because it simplifies a bit the code for certificate validation. @IndicatorVeritatis : the read method on a

Re: [android-developers] Services and Alarm Manager

2011-06-14 Thread appel
If you force close the alarm clock it will not wake you up. Just because it isn't running doesn't mean it has been force closed. To force close an app use the settings - applications - manage applications activity. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to customize the list view...list view resource id is invalid???

2011-06-14 Thread Atik
Thanks vijay. for helping me out. it worked Thanks Atik On Jun 13, 4:01 pm, νιנαソkum@r iamvijayaku...@gmail.com wrote:    ListView lv= (ListView) findViewById(R.id.listview);          lv.setAdapter(new ArrayAdapterString(this, R.id.listview, COUNTRIES));

[android-developers] Google removed 10 mallware apps - I'm affected. Please help

2011-06-14 Thread n.a
Hello Guys and Google, I'm the developer of the most popular flashlight application on the Android Market - Tiny Flashlight + LED (over 6.5 million downloads, top 50 in the overall applications ranking). Today I found that Google have deleted my developer account without any notice and removed

[android-developers] Fwd: gstreamer got SIGSEGV when run on android

2011-06-14 Thread Xu Peter
-- Forwarded message -- From: Xu Peter xzpe...@gmail.com Date: Tue, Jun 14, 2011 at 5:05 PM Subject: gstreamer got SIGSEGV when run on android To: Discussion of the development of and with GStreamer gstreamer-de...@lists.freedesktop.org Hi, all, With the help of gstreamer wiki,

[android-developers] apps inventer example

2011-06-14 Thread νιנαソkum
http://iamvijayakumar.blogspot.com/2011/06/app-inventor-create-your-own-android.html -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala)

[android-developers] Google App engine and android

2011-06-14 Thread gaara
Hi everyone, Can any one has finish an application which store informations in google app engine via an android application, or any one have suggestions about this subject,, Peace, Gaara -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Google removed 10 mallware apps - I'm affected. Please help

2011-06-14 Thread Donal Rafferty
I'm assuming your using some sort of code hacks to get the LED to work on some devices? Maybe some expose some potential security leaks to malware? Maybe your doing something that Google don't approve of? Some applications on the market aren't actually malware but use security loops to do what

[android-developers] NFC Foreground Dispatch System

2011-06-14 Thread Ferit T
Hi, i'm a relatively new to the android development so there could be some dummy question. Sry for that. My problem is that i have an android application with 3 different activities; first activity is more like a container, one activity is responsible for some browsing and the third one has more

[android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help

2011-06-14 Thread n.a
Yes, I'm using hacks on some devices to start the led. The hacks include: 1. Using private APIs for some old motorola devices 2. On some old samsung devices I have a native library, which sends ioctl calls directly to the camera driver. Everything is being executed in the application's process.

[android-developers] Cannot handle exception in a thread

2011-06-14 Thread Droid
I am spinning a thread to go online and get data. But if phone is in a network hole (no signal) it throws an exception. In the exception I try to call Toast or finish() the activity but both those cause a crash. Here's the error and my code: error is: 06-14 11:32:01.691:

[android-developers] Re: Google App engine and android

2011-06-14 Thread Droid
Its easy and works well - just post (or get) http data and have some python or java in the app engine that picks up the data. On Jun 14, 10:37 am, gaara amellal.kamili...@gmail.com wrote: Hi everyone, Can any one has finish an application which store informations in google app engine via an

[android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help

2011-06-14 Thread Yahel
Sorry that you only found out now about google's ways of doing things. That is true to everything Google and that's the best advice I can give you : Never ever rely on one of their ecosystems to be your only source of income. Actually you can broaden this : Never ever rely on anyone ecosystem to

Re: [android-developers] Re: Google App engine and android

2011-06-14 Thread Nikolay Elenkov
On Tue, Jun 14, 2011 at 7:42 PM, Droid rod...@gmail.com wrote: Its easy and works well - just post (or get) http data and have some python or java in the app engine that picks up the data. Only downside is that it shuts down your instance after a few minutes of inactivity. The first access

[android-developers] Re: Diagram of Android internals

2011-06-14 Thread Droid
Love your internals diagram http://www.makelinux.net/android/internals/ I am trying to make it bigger and clearer - the idea is great. Thanks. On Jun 13, 4:05 pm, Constantine conan...@gmail.com wrote: Hi Android developers, I am designing detailed diagram of Android internals. You can find

[android-developers] Camera capture area selection

2011-06-14 Thread ikalbeniz
Hi, When i take a photo i want to define the campture area like Google Googles app do pushing # button... any idea about how to do this? I wan to mantain a 1:1 ratio to take square photos.. Regards. -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: Google App engine and android

2011-06-14 Thread kamilia amellal
Thanks for replay, What i want to do is the store data from a form in an android application in my google app engine datastore ,i tried to use Restlet to create web services and Objectify for the persistance but it seems that there is no connection between the two applications. Peace, Gaara

[android-developers] Re: Diagram of Android internals

2011-06-14 Thread Droid
ps If you make the picture about 1400 pixels square I would put it in an App as a lovely zoomable pic and into the Android market. Probably just a freeby, but it would be popular I am sure. Get back to me with a bigger pic pls. On Jun 13, 4:05 pm, Constantine conan...@gmail.com wrote: Hi Android

[android-developers] Regarding Google Maps

2011-06-14 Thread yogendra G
Hi All, In my app am using map view for displaying some locations based on longitude and latitude values but before that tried to implement basic map example but am able to get only grid lines but not displaying any map.So,please help me out in this query. My api key and other uses-permissions

Re: [android-developers] Services and Alarm Manager

2011-06-14 Thread Mark Murphy
On Tue, Jun 14, 2011 at 1:17 AM, Simon Platten simonaplat...@googlemail.com wrote: Ok, so how do  you schedule an alarm in the same way the alarm clock does? So that once scheduled the application can be killed, but the alarm remains ? You can't. The alarm clock itself can have its alarms

Re: [android-developers] Regarding Google Maps

2011-06-14 Thread νιנαソkum
Hi,, in mapview you hae to give proper *api key* On Tue, Jun 14, 2011 at 4:34 PM, yogendra G yogi2...@gmail.com wrote: Hi All, In my app am using map view for displaying some locations based on longitude and latitude values but before that tried to implement basic map example but am able to

Re: [android-developers] NFC Foreground Dispatch System

2011-06-14 Thread Mark Murphy
You need to enableForegroundDispatch() on every activity that is supposed to be watching for NFC tag events. From what I've read, if Activity A enables dispatch and Activity B is in the foreground, the dispatch doesn't happen. Also, to get onNewIntent() to work, make sure your Intent inside the

Re: [android-developers] Re: Google App engine and android

2011-06-14 Thread Nikolay Elenkov
On Tue, Jun 14, 2011 at 7:58 PM, kamilia amellal amellal.kamili...@gmail.com wrote: Thanks for replay, What i want to do is the store data from a form in an android application in my google app engine datastore ,i tried to use Restlet to create web services and Objectify for the persistance

Re: [android-developers] Cannot handle exception in a thread

2011-06-14 Thread Mark Murphy
Use runOnUiThread() around your code in the catch block, to have that stuff be done on the main application thread. On Tue, Jun 14, 2011 at 6:40 AM, Droid rod...@gmail.com wrote: I am spinning a thread to go online and get data. But if phone is in a network hole (no signal) it throws an

[android-developers] Re: NFC Foreground Dispatch System

2011-06-14 Thread Ferit T
And how is it with external classes which are not implementing the class Activity. the application on which i'm working on is a bit more complex and all nfc-related stuff is realized in an extra class NfcManager. If i'm understanding it right: - first i have to detect which activity (activities)

[android-developers] Camera bitmap too small

2011-06-14 Thread Fina Perez
Hi all! I'm using the built-in camera app and in every phone I test it, I receive a bitmap really small (for example, samsung galaxy mini: 256x192, htc wildfire: 324x244). How can I get the picture in the real size? I searched in Google but nothing seems to be clear, some people says it is a bug.

[android-developers] value of timer

2011-06-14 Thread souissi haythem
Hi, I have create a new timer: Timer t=new Timer(); than i lunch my timer: t.schedule(new TimerTask() { public void run() { } },1000); how can i have the value of my timer t, so i can do tests?? (if t==

[android-developers] Google API key working with emulator but it doesn't work with device?

2011-06-14 Thread ABS
Hello Everyone I am working on one map application, used mapview with google api key it works fine with emulator but not not working while deployed it on device. i stuck there, expecting early response. thanks in advance -- You received this message because you are

Re: [android-developers] Re: NFC Foreground Dispatch System

2011-06-14 Thread Mark Murphy
On Tue, Jun 14, 2011 at 7:27 AM, Ferit T fokus.fe...@googlemail.com wrote: And how is it with external classes which are not implementing the class Activity. They are obviously being passed something that responds to enableForegroundDispatch(). - first i have to detect which activity

Re: [android-developers] value of timer

2011-06-14 Thread Mark Murphy
On Tue, Jun 14, 2011 at 7:32 AM, souissi haythem haythe...@gmail.com wrote: Hi, I have create a new timer:  Timer t=new Timer(); than i lunch my timer: t.schedule(new TimerTask() {                                public void run() {                                }                        

[android-developers] Re: Using jbcrypt in app

2011-06-14 Thread Simon
Its the same on an actual device and on the emulators. On Jun 13, 11:08 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Is the slowness on an actual device or on the emulator. Anyways...it seems that you need to calculate the hash on a background thread as not to hang your app and risk an

[android-developers] Re: When will android automatically launch a process when force closed?

2011-06-14 Thread gunanar...@gmail.com
Hi Treking, But that's not the behaviour I see. I do see that the process is getting auto-started when killed. On Jun 14, 1:33 am, TreKing treking...@gmail.com wrote: On Mon, Jun 13, 2011 at 8:44 AM, gunanar...@gmail.com gunanar...@gmail.comwrote: Can you please let me know under what

[android-developers] when to use aidl?

2011-06-14 Thread Hitendrasinh Gohil
Hi, I m working on music application which requires widget also on the home screen.the details of the current playing track is displayed at the statusbar notification with icon.so notification would be updated from both player view as well as widget app. for the above scenario should i use aidl

[android-developers] Re: NFC Foreground Dispatch System

2011-06-14 Thread Ferit T
So now, i got same problem as before: 06-14 14:16:21.894: INFO/NfcService(7235): Dispatching to override intent PendingIntent{405801c8: android.os.BinderProxy@40543860} Nothing else occurs. No entry into the onNewIntent()-method. Currently the two main activities both are realizing

Re: [android-developers] Re: NFC Foreground Dispatch System

2011-06-14 Thread Mark Murphy
On Tue, Jun 14, 2011 at 8:19 AM, Ferit T fokus.fe...@googlemail.com wrote: So now, i got same problem as before: 06-14 14:16:21.894: INFO/NfcService(7235): Dispatching to override intent PendingIntent{405801c8: android.os.BinderProxy@40543860} Nothing else occurs. No entry into the

[android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help

2011-06-14 Thread n.a
Apple, at least, gives you 5 days to fix your issues and doesn't suspend the whole account. This is a bad situation to be in. I've sent an e-mail to android- market-support AT google.com but if they answer me after 2 weeks all will be lost. I'll lose my ranking position and will never be able to

[android-developers] Is it possible to automatically open a browser when an NFC tag is scanned?

2011-06-14 Thread Joshua Partogi
Hi there, Maybe this is more like a request than a question. Is it possible for the Tags application to automatically open a browser when the data inside the NFC tag is an URI type data? We are thinking to create a tag where our application will be automatically downloaded when user uses his/her

Re: [android-developers] Is it possible to automatically open a browser when an NFC tag is scanned?

2011-06-14 Thread Mark Murphy
On Tue, Jun 14, 2011 at 8:32 AM, Joshua Partogi joshua.part...@gmail.com wrote: Maybe this is more like a request than a question. Is it possible for the Tags application to automatically open a browser when the data inside the NFC tag is an URI type data? The standard Tags application, when

[android-developers] Re: value of timer

2011-06-14 Thread souissi haythem
i don't understand, how can i do this? On Jun 14, 1:55 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jun 14, 2011 at 7:32 AM, souissi haythem haythe...@gmail.com wrote: Hi, I have create a new timer:  Timer t=new Timer(); than i lunch my timer: t.schedule(new TimerTask() {  

[android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help

2011-06-14 Thread Yahel
I'm sorry to be that guy, but you really should start thinking that they really just deleted everything about your account, not just hid it somewhere and are able to put it back up for you. That's the thing about general intervention and not case by case intervention : Fire and forget. I really

[android-developers] Re: Is it possible to automatically open a browser when an NFC tag is scanned?

2011-06-14 Thread Shekhar
Hi, I could not able to understand your request.What difficulty you are facing in implementing it? When you get the Tag data check for the data type and launch browser app.This is what I opine. Could you elaborate your question? Regards, Shekhar On Jun 14, 5:32 pm, Joshua Partogi

Re: [android-developers] Re: NFC Foreground Dispatch System

2011-06-14 Thread Ferit Topcu
Thanks. Perhaps it has something to do with my PendingIntent, again. All nfc-logic, reading a tag etc. is realized in an external class. After that every Activity is only invoking the method of this external class. The enableForegroundDispatch() invoke is realized in this class and the activity

[android-developers] Re: Is it possible to automatically open a browser when an NFC tag is scanned?

2011-06-14 Thread Joshua Partogi
Hi Mark, Thank you very much for the explanation. We actually want the default NFC application to automatically download our app without them having to tap the entry in the New tag collected. Maybe this is too much to ask, but we just want to make it easy for our user. Maybe this is more like a

Re: [android-developers] Re: NFC Foreground Dispatch System

2011-06-14 Thread Mark Murphy
On Tue, Jun 14, 2011 at 9:05 AM, Ferit Topcu fokus.fe...@googlemail.com wrote: Perhaps if i'm using a PendingIntent: mPendingIntent = PendingIntent.getActivity(con.getApplicationContext(), 0, new Intent(con.getApplicationContext(), getClass()).addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP), 0)

[android-developers] Re: Option to unlock the boot loader for Sony Ericsson Android Gingerbread phones now available.

2011-06-14 Thread Carl
Hi We have seen in some forums that customers unlocking the boot loader on their phones have experienced problems when they accept a FOTA (Firmware upgrade Over The Air) update. The issue has been reproduced and we are working on a solution. For customers that have unlocked the boot loader - do

[android-developers] capture image programmatic

2011-06-14 Thread Hamdy Ghanem
Dear Group members I need a protype project of how capture image programmatic and show it in pc program Hamdy Ghamem Best Regards -- 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: Is it possible to automatically open a browser when an NFC tag is scanned?

2011-06-14 Thread Mark Murphy
On Tue, Jun 14, 2011 at 9:07 AM, Joshua Partogi joshua.part...@gmail.com wrote: Thank you very much for the explanation. We actually want the default NFC application to automatically download our app without them having to tap the entry in the New tag collected. Maybe this is too much to ask,

[android-developers] Re: Camera bitmap too small

2011-06-14 Thread Streets Of Boston
Instead of getting the raw (but very small) bitmap data, get the Uri of the (full-sized) bitmap instead. The Uri is part of the result of an ACTION_PICK intent, if i'm not mistaken. Then, given the Uri, read the full bitmap data yourself. -- You received this message because you are

[android-developers] Re: Using jbcrypt in app

2011-06-14 Thread Streets Of Boston
Then you're stuck with what you have. Re-hashing can be expensive indeed... -- 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

[android-developers] Loading a Class from an APK file with dependency on other Jars

2011-06-14 Thread Mahender
Hi, I am trying to load a class from apk file and create an instance of that class, but the problem is when the class is depending on other JARS then the loading of class is failing. I was loading the class using DexClassLoader as show below. DexClassLoader dxLoader = new

[android-developers] Re: Loading a Class from an APK file with dependency on other Jars

2011-06-14 Thread Streets Of Boston
You have to make sure that the class resolves properly. - Don't change the class and load the JAR as well - Change the class (if that's possible) to remove dependencies on that jar, and recompile. -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] when to use aidl?

2011-06-14 Thread Marcin Orlowski
On 14 June 2011 14:18, Hitendrasinh Gohil hitendra.virtuei...@gmail.comwrote: Hi, I m working on music application which requires widget also on the home screen.the details of the current playing track is displayed at the statusbar notification with icon.so notification would be updated from

[android-developers] Re: Activity and Method

2011-06-14 Thread Andrei
Help me, please On 14 июн, 10:33, Andrei entre...@gmail.com wrote: Good afternoon. I have work with Google maps. I want to boot card (when the user presses the call menu)determined by its location. As well I have a database with addresses and there is a button to see the map. I want to be

Re: [android-developers] Re: When will android automatically launch a process when force closed?

2011-06-14 Thread TreKing
On Tue, Jun 14, 2011 at 7:00 AM, gunanar...@gmail.com gunanar...@gmail.comwrote: Hi Treking, But that's not the behaviour I see. I do see that the process is getting auto-started when killed. What process are we talking about?

[android-developers] Re: Device Serial #

2011-06-14 Thread Brill Pappin
I'd like to know too. Maybe this is a hidden property? I've seen code that looks like this to get it: String serial = null; try { Class? c = Class.forName(android.os.SystemProperties); Method get = c.getMethod(get, String.class); serial = (String) get.invoke(c,

Re: [android-developers] Re: Google App engine and android

2011-06-14 Thread kamilia amellal
i tried with the most simple example but still have no link between what i code in eclipse , i tested it locally but no response what could be the problem Peace,, Gaara 2011/6/14 Nikolay Elenkov nikolay.elen...@gmail.com On Tue, Jun 14, 2011 at 7:58 PM, kamilia amellal

[android-developers] Re: Working with Activities

2011-06-14 Thread Felix Garcia Lainez
Ok it is one of the options i am thinking on.. Thanks! On 13 jun, 21:17, TreKing treking...@gmail.com wrote: On Mon, Jun 13, 2011 at 3:19 AM, Felix Garcia Lainez fgarcialai...@gmail.com wrote: Any ideas or suggestions on how to do it? Some kind of static data holder should work just

Re: [android-developers] Simulator very slow

2011-06-14 Thread Oscar Marques
Try usin a SD card with 8mb in simulator. It slow cuz you are using a big SD card to emulate it. 2011/6/14 Felix Garcia Lainez fgarcialai...@gmail.com Hi, The case is that my simulator is terrible slow, not only starting, else for instance doing actions as simple as scrolling a listview, or

[android-developers] Simulator very slow

2011-06-14 Thread Felix Garcia Lainez
Hi, The case is that my simulator is terrible slow, not only starting, else for instance doing actions as simple as scrolling a listview, or click on a tab. I am working with Eclipse + ADT plugin on a Mac Book Pro very new. I think it is performance problem of the simulator, but may be could be

Re: [android-developers] Re: When will android automatically launch a process when force closed?

2011-06-14 Thread Prakash Iyer
Is this a Service as opposed to an activity? Or is there a BroadcastReceiver? A plain Activity needs an Intent to start so if you are positive you have an Activity then you should print out the Intent in the onCreate and see if you find something. On Tue, Jun 14, 2011 at 8:00 AM,

[android-developers] Android: app incompatible with Huawei?

2011-06-14 Thread Ab
I have two apps listed on the marketplace. One of them is a free demo application, and the second is a second key application that unlocks the full version of the first application. I received a report from a user that the demo installs on their Huawei, but the market lists they application as

Re: [android-developers] Cannot handle exception in a thread

2011-06-14 Thread Prakash Iyer
And when you return from the run method the thread will stop/die by itself. Ideally your main Activity which started this thread off will be the one notifying the user and if needed calling finish... On Tue, Jun 14, 2011 at 7:10 AM, Mark Murphy mmur...@commonsware.comwrote: Use runOnUiThread()

[android-developers] [SOLVED] Custom Widget Will Not Fill Parent View

2011-06-14 Thread Robert
I managed to fill the toolbar_item within the toolbar by adding another LinearLayout inside of the toolbar.xml: ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=match_parent

[android-developers] Using .so

2011-06-14 Thread perumal316
Hi All, If I have a linux .so library, how do I call the functions in my Eclipse Android project? Is it the same as external JAR libraries? I have tried that way and it is not working. Is there any other method? Thanks In Advance, Perumal -- You received this message because you are

[android-developers] Re: value of timer

2011-06-14 Thread souissi haythem
ok, can i get the time of the system directly. I have tried getTime(), so i got the error: The method getTime() is undefined for the type SMSReceiver. please did some one know what's rong hir??? On Jun 14, 2:43 pm, souissi haythem haythe...@gmail.com wrote: i don't understand, how can i do

[android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help

2011-06-14 Thread a1
I really doubt it has anything to do with this malaware report, judging on appbrain page your app/account was removed because you violated Market Content Policies (http://www.android.com/us/developer-content-policy.html): Product descriptions should not be misleading or loaded with keywords in

[android-developers] Re: Simulator very slow

2011-06-14 Thread Felix Garcia Lainez
Doing this simulator loads faster but it is still very slow doing easy actions like scrolling a list.. On 14 jun, 16:23, Oscar Marques osca...@gmail.com wrote: Try usin a SD card with 8mb in simulator. It slow cuz you are using a big SD card to emulate it. 2011/6/14 Felix Garcia Lainez

[android-developers] Re: NFC Secure Element

2011-06-14 Thread Marcus
Ok thanks for advices Michael, I will try to modify the mifare area of the Nexus in order to reproduce my badge. Best regards Marcus On Jun 11, 11:33 am, Michael Roland mi.rol...@gmail.com wrote: Hallo Marcus, At time, I'm able to put my devices into emulation mode. I'm getting ATR and

Re: [android-developers] Re: Simulator very slow

2011-06-14 Thread sippy zenma
3.0 working ( 8 mib not support) (9 mib is minimum) with minimum working good but 3.1 is so much delay On Tue, Jun 14, 2011 at 9:21 PM, Felix Garcia Lainez fgarcialai...@gmail.com wrote: Doing this simulator loads faster but it is still very slow doing easy actions like scrolling a list..

[android-developers] Re: Using .so

2011-06-14 Thread Chris
Learn how to use the NDK here: http://developer.android.com/sdk/ndk/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@googlegroups.com To unsubscribe from this group, send

[android-developers] problems with fopen in native code

2011-06-14 Thread Frank
Hi All, I am experiencing a strange problem of using fopen in native code. I have a few files in /mnt/sdcard/Download and all of them have -rw privileges. However, when I call my native function which in turns uses fopen to open them, I got null returns for some files, but valid returns for

[android-developers] Re: problems with fopen in native code

2011-06-14 Thread Chris
Frank, There's a android-ndk group that you may want to try. -- 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] problems with fopen in native code

2011-06-14 Thread Nikolay Elenkov
On Wed, Jun 15, 2011 at 1:42 AM, Frank frank.android@gmail.com wrote: Hi All, I am experiencing a strange problem of using fopen in native code. I have a few files in /mnt/sdcard/Download and all of them have -rw privileges. However, when I call my native function which in turns uses

[android-developers] Will an application's SQLite database be cleared when an application is uninstalled?

2011-06-14 Thread Greg Siano
I am making a game and I want to be able to save the user's progress so even if they uninstall and reinstall they will be at the same point in the game. Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Display.getRotation() incompatible with accelerometer data

2011-06-14 Thread Marcin Mikosik
I exchanged emails with producer of this tablet and service person acknowledged that's a bug in its firmware. They are not planning any fixes/updates. Based on that I claimed my money back in store where I originally bought this device. On Thu, Jun 9, 2011 at 10:45 AM, Marcin Mikosik

[android-developers] Re: Will an application's SQLite database be cleared when an application is uninstalled?

2011-06-14 Thread Chris
Yes, you have to plan for this if you want to persist across installations. -- 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

Re: [android-developers] Will an application's SQLite database be cleared when an application is uninstalled?

2011-06-14 Thread Nikolay Elenkov
On Wed, Jun 15, 2011 at 1:43 AM, Greg Siano gregmsi...@gmail.com wrote: I am making a game and I want to be able to save the user's progress so even if they uninstall and reinstall they will be at the same point in the game. Look at Android's data backup (post 2.2 only) or create a similar

[android-developers] Re: problems with fopen in native code

2011-06-14 Thread Frank
Thanks, Chris. I will definitely do that. On Jun 14, 9:49 am, Chris crehb...@gmail.com wrote: Frank, There's a android-ndk group that you may want to try. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Accelerometer problem. Compass not rotating.

2011-06-14 Thread Raghav Sood
Hi all, According to the book I am learning from the following code should create a sad looking, but working, compass. All I have managed to get is the sad lookout of it. The compass draws correctly but doesn't rotate. I am testing it on a real device with a accelerometer. The rest of the files

[android-developers] SQLite problem

2011-06-14 Thread Simon Platten
I have written a class 'clsDB', please see source below. I'm testing it in the emulator and the first time around it runs fine without error, then on the second run eclipse jumps into the Class File Editor for SQLiteCursor.class. The application continues to run without exception or error, but

[android-developers] Re: problems with fopen in native code

2011-06-14 Thread Frank
Thanks, Chris. I've done that. On Jun 14, 9:49 am, Chris crehb...@gmail.com wrote: Frank, There's a android-ndk group that you may want to try. -- 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] Reading from CERT.RSA from META-INF directory

2011-06-14 Thread Nate Totura
Is it possible to read files in the META-INF directory such as the CERT.RSA file? I have tried the following: AssetFileDescriptor afd = am.openNonAssetFd(META-INF/CERT.RSA); but I get the exception: java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is

[android-developers] Re: Using jbcrypt in app

2011-06-14 Thread Simon
Yeah, this unfortunately seems to be the case. I'm still curious as to why its so much slower running in the Davlik VM as compared to a standard Java VM, however. Is it simply less available memory causing the issue? On Jun 14, 9:19 am, Streets Of Boston flyingdutc...@gmail.com wrote: Then

[android-developers] Facebook Like SDK For Gmail and OpenId

2011-06-14 Thread NilAndroid
Hi All, I wish to get users information from the Email. ie user should login to gmail via my application in android and onces he sign up I should be able to get the Users First Name, Last Name etc same as we can do using Android SDK where onces user approves my application we can update status,

Re: [android-developers] Re: Using jbcrypt in app

2011-06-14 Thread Kostya Vasilyev
What is the standard Java VM - your desktop computer? If so, you really can't compare processor performance clock for clock. You might want to try using the crypto stuff built into Android. -- Kostya 2011/6/14 Simon simon.wilkin...@gmail.com Yeah, this unfortunately seems to be the case. I'm

Re: [android-developers] SQLite problem

2011-06-14 Thread Kostya Vasilyev
When you see Eclipse stuck like this, just press Resume a few times, to let the application crash (or recover) completely. Then check the logcat for a message and a stack trace. In this particular case, the code in getImgResource leaves the cursor open, so there is a warning when it's finalized.

Re: [android-developers] SQLite problem

2011-06-14 Thread Simon Platten
Thank you, adding cursor.close(); fixed the problem. On Tue, Jun 14, 2011 at 8:06 PM, Kostya Vasilyev kmans...@gmail.com wrote: When you see Eclipse stuck like this, just press Resume a few times, to let the application crash (or recover) completely. Then check the logcat for a message and a

[android-developers] Cancelling and Alarm

2011-06-14 Thread Simon Platten
When I update an alarm I call the alarm manager cancel method before setting it up...However this doesn't always cancel the old alarm and sometimes I seem to get more than one alarm scheduled at different rates. In my activity I let the user change the alarm time interval, this is then applied to

Re: [android-developers] Cancelling and Alarm

2011-06-14 Thread Kostya Vasilyev
The parameters are definitely used. The second one uniquely identifies the pending intent. The fourth one controls what happens when there is / is not an existing pending intent just like the one being created. Canceling the old pending intent before setting a new alarm is not necessary, the

  1   2   >