[android-developers] sqlite size capacity
what is the maximum size of sqlite on the mobiles phone (android, iPhone, blackberry, windows mobile) its the same on all of them and in wish of them sqlite more compatibility and the performance of it is high thx for answer -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Dynamically populating LinearLayout in an AppWidget
Oh well I gave it a shot :D Anyway, glad you found the problem/solution at the end ;) Cheers, Yuvi On Sat, Jan 28, 2012 at 7:22 AM, TreKing treking...@gmail.com wrote: On Fri, Jan 27, 2012 at 6:00 PM, YuviDroid yuvidr...@gmail.com wrote: I think I had a similar problem some time ago...unfortunately I don't remember exactly how I solved. However I think I used RemoteViews.removeAllViews(). Thanks. That didn't work (actually led to the default could not load widget error layout), but playing around with it a bit more I finally found the problem. As expected, I was missing something obvious: my linear_layout_entry layout that I have been inflating had its height set to match_parent ... So the first one was filling the parent and leaving no room for the rest ... I just couldn't tell due to the backgrounds being the same ... *face palm* Man I love posting to the group only to realize I'm being an idiot. Thanks for the help! - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X http://android.yuvalsharon.net/launchx.php (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: SQLiteDatabase.execSQL() not behaving as expected
It is definitely not a one to one mapping, especially when it comes down to handling transactions (as execSQL does an implicit one, etc) and doing C/Java mappings along with SQLIte's auto type conversions (NULL to int, etc). There's also no way to include in C functions either. One thing to note is that the flash drive on most Android devices is abysmally slow and SQLite is constantly doing fsyncs (especially on ext3 devices). execSQL(PRAGMA synchronous=OFF); can give up to a 4x speed boost depending on the device, YMMV. John On Jan 27, 9:33 am, Robert Hawkey rhaw...@gmail.com wrote: Yes you would be right if I was using MATCH for the SELECT from the temporary SearchResults table; however, I'm not doing that. I just select all the rows from that table as it is not an FTS3 table. Yes you're also correct, neither iOS nor Android seem to support FTS4 tables at the moment. My tables are FTS3 tables. I suspect it must have something to do with the internal implementation of execSQL(). It must not truly be a 1:1 mapping of the C sqlite3_exec() function in the SQLite3 library, I suspect they're doing something else. I suspect this because the documentation says not to include multiple statements separated with ;'s when calling execSQL(), whereas you can do that with sqlite3_exec(). Rob On Jan 26, 6:52 pm, John jsp...@gmail.com wrote: Oh and from the same session: sqlite sqlite CREATE VIRTUAL TABLE pages USING fts4(title, body); SQL error: no such module: fts4SQL error: near sqlite: syntax error sqlite On Jan 26, 3:15 pm, Robert Hawkey rhaw...@gmail.com wrote: SQlite supports FTS3 and FTS4 (full text searching). I've seen documentation (don't have it handy) that FTS3 is enabled in the build of SQLite shipped in the API level I'm using so MATCH is valid. I know MATCH does work because I do at least get one return value. Also, when I perform the work via rawQueries I get the full results. Rob On Jan 26, 2:23 pm, Mark Murphy mmur...@commonsware.com wrote: I have never used MATCH in SQLite. The LIKE operator uses %, not *, as the wildcard. http://sqlite.org/lang_expr.html On Tue, Jan 24, 2012 at 10:45 AM, Robert Hawkey rhaw...@gmail.com wrote: Hi everyone, I have an app I wrote for the iOS that makes extremely heavy use of a large database, I am now porting that app to the Android platform. I have a great deal of operations that follow this pattern: 1 db.execSQL(CREATE TEMPORARY TABLE SearchResults(Name text);); 2 db.execSQL(INSERT INTO SearchResults (Name) SELECT Name FROM ProductNames WHERE NameLower MATCH ' + term + *';); 3 db.execSQL(INSERT INTO SearchResults (Name) SELECT Name FROM BrandNames WHERE NameLower MATCH ' + term + *';); ... Cursor cursor = db.rawQuery(SELECT Name FROM SearchResults + myCount, null); cursor.moveToFirst(); if (!cursor.isAfterLast()) { Debug.log(DB, - Adding: + cursor.getString(0)); resultSet.add(cursor.getString(0)); cursor.moveToNext(); } cursor.close(); On iOS using the SQLite3 C API and sqlite3_exec() all of these statements work perfectly fine. However, on Android they are exhibiting strange behaviour. I seem to only ever gets one row, it seems from the very first INSERT (the line that starts with 2 above). My goal here is to wrap all of the above commands in a begin and end transaction so that I can prevent multiple transactions from being created, also I use a temporary in memory table rather than a rawQuery() with just the selects because that prevents the bridge from the database layer to the Java layer from happening until the very end which seems to result in much better performance. When I rewrite the above logic to look like this: Cursor cursor = db.rawQuery(SELECT Name FROM Table1 WHERE NameLower MATCH ' + term + *', null); cursor.moveToFirst(); while (!cursor.isAfterLast()) { resultSet.add(cursor.getString(0)); cursor.moveToNext(); } cursor.close(); cursor = db.rawQuery(SELECT Name FROM Table2 WHERE NameLower MATCH ' + term + *', null); cursor.moveToFirst(); while (!cursor.isAfterLast()) { resultSet.add(cursor.getString(0)); cursor.moveToNext(); } cursor.close(); ... It works perfectly returning all the proper results, however this is extremely slow. Could anyone explain to me why the execSQL() calls above would not work as I expect them too (and how they work on iOS)? Thanks! Rob -- 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] AutoScroll ListView at specified intervals without user intervention
Probably you want to take a look at: http://developer.android.com/reference/android/widget/ListView.html#smoothScrollByOffset(int) or http://developer.android.com/reference/android/widget/ListView.html#smoothScrollToPosition(int) Although I'm not sure exactly what you are trying to accomplish. For example you say I want to show the first item .., but being a ListView you will probably see much more than one item. On Sat, Jan 28, 2012 at 6:32 AM, Giants203 giants...@gmail.com wrote: I would like to auto scroll list view at specified time intervals without user intervention. The time intervals will be supplied in an array on integers say 1000, 4000, 5000 in millisecs I want to show the first list item as soon as the list launches and then wait 10 sec to show the next list item on top of the list (visible on the screen) and so on based on the time intervals shown above. What's the best way to accomplish this? I was going through this a href=http://groups.google.com/group/ android-beginners/browse_thread/thread/ea22a389eb900bbe?pli=1thread/ a but the getListView().setSelection() is taking directly to the end of the list. There is no incremental update happening. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X http://android.yuvalsharon.net/launchx.php (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to parse Json file (Which is output of http://maps.googleapis.com/maps/api/geocode/json.....)
After Lots of trial i got following solution. I am writing full solution,with the intention that everyone can take benefit of it.and getting solution without wasting valuable time,like me. package com.example.Jsonparse; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.InputStreamReader; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; import org.json.JSONArray; import org.json.JSONObject; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import android.widget.Toast; public class JsonparseActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); try { String Lat=Double.toString(22.508507985602836); String Long=Double.toString(73.474991977022533); String Address= ReadAddressFromWebService(Lat,Long); Toast.makeText(this,Address, Toast.LENGTH_LONG).show(); } catch(Exception e) { appendLog(Json parsing error :+ e.toString()); Toast.makeText(this,e.toString(), Toast.LENGTH_LONG).show(); } } public String ReadAddressFromWebService(String latitude, String longitude) { String Address=; StringBuffer sb=new StringBuffer(); sb.append(http://maps.googleapis.com/maps/api/geocode/json?latlng=+ latitude +,+longitude +sensor=false); String url=sb.toString(); HttpClient httpClient=new DefaultHttpClient(); appendLog(HTTP client created); String responseData=; try { HttpResponse response=httpClient.execute(new HttpGet(url)); response.addHeader(Accept-Language, en-US); HttpEntity entity=response.getEntity(); appendLog(HTTP Response arrived); BufferedReader bf=new BufferedReader(new InputStreamReader((entity.getContent()),UTF-8)); String line=; appendLog(Start buffre reading); while((line=bf.readLine())!=null){ responseData=responseData+line; } JSONObject jsonObj = new JSONObject(responseData); JSONArray resultArry = jsonObj.getJSONArray(results); Address =resultArry.getJSONObject(0).getString(formatted_address).toString(); } catch (Exception e) { // TODO Auto-generated catch block appendLog(Parsing Problem: +e.toString()); } return Address; } public void appendLog(String text) { File logFile = new File(sdcard/exception.txt); if (!logFile.exists()) { try { logFile.createNewFile(); } catch (Exception e) { // TODO Auto-generated catch block e.toString(); } } try { //BufferedWriter for performance, true to set append to file flag BufferedWriter buf = new BufferedWriter(new FileWriter(logFile, true)); buf.append(text); buf.newLine(); buf.close(); } catch (Exception e) { // TODO Auto-generated catch block e.toString(); } } } On 1/28/12, Dhaval Varia dhavalkva...@gmail.com wrote: Thanks for reply.. Will get back to you after plugging the code.. On Jan 28, 2012 10:54 AM, Shubhangi shubhangidesa...@gmail.com wrote: hello first of all let me tell u regarding ur track for JSON parsing and getting address using a web service is right.. now here I'm sending u code that how I am used to parse the JSON data.. All you have to do is check this specified URL and change the rest of the code according your requirements.. code is given below ArrayListHashMapString, String mylist = new ArrayListHashMapString, String(); JSONObject json = JSONfunctions.getJSONfromURL( http://api.geonames.org/earthquakesJSON?north=44.1south=-9.9east=-22.4west=55.2username=demo ); try{ JSONArray earthquakes = json.getJSONArray(earthquakes); for(int i=0;iearthquakes.length();i++){ HashMapString, String map = new HashMapString, String(); JSONObject e = earthquakes.getJSONObject(i); map.put(id, String.valueOf(i)); map.put(name, Earthquake name:
[android-developers] Crash after StartActivity
I am working on an app for andoid 2.1-update 1 (API Level 7). After calling context.startActivity(new Intent(context, WakeActivity.class)); the app crashes. The stack is then ActivityThread.handleReceiver(ActivityThread$ReceiverData) line: 2639 This may be unable to start receiver, but why? -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Eclipse find error
Dear All : One day I can't run the eclipse to edit the android api. The message is that JRE error occurred while run. So I new install jdk, then I can run the eclipse. But there is an error flag is on my old project, I can't find any error in my source res. Can anyone help me to fix this problem? Thanks in advanced. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Lunch and Accessible only to a Specific location-Within State.
Hi Developers , Could you please help me out with this query. Can we only launch the application to a specific location in india ? Ex : Application should be only available in India in only one state ? Andhra Pradesh. My Client requirement is to lunch the application only in Andhra Pradesh- India ! -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Crash after StartActivity
Can you post the entire stack trace? First thing that pops to my mind is: have you declared your WakeActivity in the android manifest? On Sat, Jan 28, 2012 at 11:48 AM, Rudolf Polzer rudolf.pol...@i-r-p.dewrote: I am working on an app for andoid 2.1-update 1 (API Level 7). After calling context.startActivity(new Intent(context, WakeActivity.class)); the app crashes. The stack is then ActivityThread.handleReceiver(ActivityThread$ReceiverData) line: 2639 This may be unable to start receiver, but why? -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X http://android.yuvalsharon.net/launchx.php (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to parse Json file (Which is output of http://maps.googleapis.com/maps/api/geocode/json.....)
Hi, I suggest you to take a look at the Gson library from Google to parse the JSON response from the service: http://code.google.com/p/google-gson/ It has a very competitive performance according to this resource: http://martinadamek.com/2011/02/01/adding-gson-to-android-json-parser-comparison/ It also will improve a lot the beauty and readability of your code, it will be something simpler: http://www.javacodegeeks.com/2011/01/android-json-parsing-gson-tutorial.html And last one, but more important from my perspective, it allows you to use a mixed approach between streaming and object model access which is the right combination for performance and code readability: https://sites.google.com/site/gson/streaming I hope it helps. Regards, Greivin. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
hi pskink, Sorry, you have give me the link of how to write the file, but i want the example, that show how to write the ftyp and moov atom to the file.Can you share me a link. Regards, umer Date: Fri, 27 Jan 2012 03:25:12 -0800 Subject: Re: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: hi pskink, Thanks for your help,It gives more concept. Please can you show me the example that how can i implement these moov atom and ftyp while writing the file to the server side. http://docs.oracle.com/javase/1.4.2/docs/api/java/io/RandomAccessFile.html pskink -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: AutoScroll ListView at specified intervals without user intervention
I'm trying to automatically scroll the list view based on the playing of an audio file. The listview items will have English translation of what is being played in the audio which will be in a foreign language. So as the audi progresses, i need to keep the listview scrolling down. I will maintain a mapping file with timestamps to directly the scroll. On Jan 28, 5:01 am, YuviDroid yuvidr...@gmail.com wrote: Probably you want to take a look at:http://developer.android.com/reference/android/widget/ListView.html#s...) orhttp://developer.android.com/reference/android/widget/ListView.html#s...) Although I'm not sure exactly what you are trying to accomplish. For example you say I want to show the first item .., but being a ListView you will probably see much more than one item. On Sat, Jan 28, 2012 at 6:32 AM, Giants203 giants...@gmail.com wrote: I would like to auto scroll list view at specified time intervals without user intervention. The time intervals will be supplied in an array on integers say 1000, 4000, 5000 in millisecs I want to show the first list item as soon as the list launches and then wait 10 sec to show the next list item on top of the list (visible on the screen) and so on based on the time intervals shown above. What's the best way to accomplish this? I was going through this a href=http://groups.google.com/group/ android-beginners/browse_thread/thread/ea22a389eb900bbe?pli=1thread/ a but the getListView().setSelection() is taking directly to the end of the list. There is no incremental update happening. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X http://android.yuvalsharon.net/launchx.php (a widget to quickly access your favorite apps and contacts!)http://android.yuvalsharon.net -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Encoder???
Use writeInt(int v) pskink -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Help with Emacs - Anyone?
I have gotten further now. I can compile with the android(-mode) tools, and run emulator, ddms etc. However, I am lacking the code completion features. Anyone know how to do this. Thank you. Regards, Brian -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: AutoScroll ListView at specified intervals without user intervention
Ok, now it's clearer :) The two links I gave you should help with auto-scroll part. With the time intervals you might use a Timer ( http://developer.android.com/reference/java/util/Timer.html), or make use of the AlarmManager ( http://developer.android.com/reference/android/app/AlarmManager.html). I'm not sure though if any of these will be precise enough, so that you remain perfectly in sync with the audio being played. Maybe there are some classes/methods that allow to do that better directly in the MediaPlayer (or SoundPool). Ciao, Yuvi On Sat, Jan 28, 2012 at 3:50 PM, Giants203 giants...@gmail.com wrote: I'm trying to automatically scroll the list view based on the playing of an audio file. The listview items will have English translation of what is being played in the audio which will be in a foreign language. So as the audi progresses, i need to keep the listview scrolling down. I will maintain a mapping file with timestamps to directly the scroll. On Jan 28, 5:01 am, YuviDroid yuvidr...@gmail.com wrote: Probably you want to take a look at: http://developer.android.com/reference/android/widget/ListView.html#s...) orhttp:// developer.android.com/reference/android/widget/ListView.html#s...) Although I'm not sure exactly what you are trying to accomplish. For example you say I want to show the first item .., but being a ListView you will probably see much more than one item. On Sat, Jan 28, 2012 at 6:32 AM, Giants203 giants...@gmail.com wrote: I would like to auto scroll list view at specified time intervals without user intervention. The time intervals will be supplied in an array on integers say 1000, 4000, 5000 in millisecs I want to show the first list item as soon as the list launches and then wait 10 sec to show the next list item on top of the list (visible on the screen) and so on based on the time intervals shown above. What's the best way to accomplish this? I was going through this a href=http://groups.google.com/group/ android-beginners/browse_thread/thread/ea22a389eb900bbe?pli=1thread/ a but the getListView().setSelection() is taking directly to the end of the list. There is no incremental update happening. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X http://android.yuvalsharon.net/launchx.php (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X http://android.yuvalsharon.net/launchx.php (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: android accelerometer to measure distance
i want to measure distance by android. can u give me idea? just near distance. On Fri, Jan 27, 2012 at 12:32 AM, TomL tomlo...@gmail.com wrote: Not all Android devices have the proximity sensor. In the ones that do, most only give a yes/no response to whether something is near the sensor, so not really suitable for accurately measuring distance. What exactly are you trying to do? Tom -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Digest Email not working for over a week
The Android Developers Digest Email, each summarizing around 25 messages to this group, suddenly stopped coming through around a week ago. Does anyone else have the same issue, or is it confined to my account? It happened a few months before, but started again after a few days, so I assumed it was a problem on the Google end. But this has gone on a lot longer. I dont see any emails in my gmail spam directory, anyone got any other ideas, or is it a general issue for everyone? Regards James -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: android help
okkk. For my first application...Emergency Sms which send msg at one tab of application or key,as you said long pressed on application is not possible.so is there any method to do code on numeric keypadlike speed diali want to send message from my numeric keylike when one is pressed.A message should be sent to specified number..if yes provide me with that help also For my second application ,i'll need Gps values so I'm just trying to retrieve values of latitude and longitude values from my basic applicationand display them to Text view.in above post of mine i have provided with the code of the samethere are no errors.it do get launch on emulator...but application is not retrieving the values of longitude and latitudeso... is there any kinda mistake in my code???...or what are the other reason of not getting latitude and longitude ..i have tried providing values from Emulator and command line..but it is not able to retain the values of latitude and longitude... thanks... On Jan 28, 11:26 am, TreKing treking...@gmail.com wrote: On Sat, Jan 28, 2012 at 12:04 AM, ajay talreja ajayt...@gmail.com wrote: Is that “View.OnClickListener” listener only restricted to Layouts i.e. button Events etc Yes. You can look through the docs to see where it's used. or it can be used to application click event…….example when application is double clicked ,dialer gets opened and when same application is single clicked , should get open... There is no concept of clicking an application. You application, when it's running, has some UI to display to the user - these UI elements can be clicked, as described by the various listeners I linked you to. is it possible…if yes….kindly help me with the code of the same….. Kindly explain what you're trying to do. I have done coding to retrieve the latitude and longitude using gps but its not workinglocation is showing null value and finally it do not have any values of latitude and longitude. You need to explain this better. Maybe a SMALL sample of code where this is not working. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] admod request
Hello friend, I done simple application. so i wanna add admod. bu it doesn't request. I use this code; AdView adview = (AdView)findViewById(R.id.adView); AdRequest req = new AdRequest(); req.setGender(AdRequest.Gender.MALE); adview.loadAd(req); What is wrong? is there any idea? Salih SELAMETOĞLU Teknopalas RFID Yazılım Çözümleri / Yazılım Uzman Yardımcısı İstanbul Üni. Bil. Müh. 4. Sınıf http://www.linkgizle.com +90 537 279 6412 -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: android help
On Sat, Jan 28, 2012 at 12:43 PM, ajay talreja ajayt...@gmail.com wrote: is there any method to do code on numeric keypadlike speed diali want to send message from my numeric keylike when one is pressed.A message should be sent to specified number..if yes provide me with that help also No. Not that I'm aware of. it do get launch on emulator...but application is not retrieving the values of longitude and latitude Emulator does not have an actual GPS radio. You have to simulate it with the tool. See the documentation: http://developer.android.com/guide/developing/debugging/ddms.html#using-ddms - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: android help
On Sat, Jan 28, 2012 at 1:43 PM, ajay talreja ajayt...@gmail.com wrote: okkk. For my first application...Emergency Sms which send msg at one tab of application or key,as you said long pressed on application is not possible.so is there any method to do code on numeric keypadlike speed diali want to send message from my numeric keylike when one is pressed.A message should be sent to specified number..if yes provide me with that help also No. Not unless you modify the firmware. For my second application ,i'll need Gps values so I'm just trying to retrieve values of latitude and longitude values from my basic applicationand display them to Text view.in above post of mine i have provided with the code of the samethere are no errors.it do get launch on emulator...but application is not retrieving the values of longitude and latitudeso... is there any kinda mistake in my code???...or what are the other reason of not getting latitude and longitude ..i have tried providing values from Emulator and command line..but it is not able to retain the values of latitude and longitude... You mean by forcing a geo fix with mock locations or using a fake gps type application? FYI, any time you're wondering if you can modify the platform beyond your app the answer is usually no. kris -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: android accelerometer to measure distance
You didn't understand his question. It's obvious you want to measure near distance, but why do you want to do this? Basically, the sensors on the phone aren't accurate enough to measure within 20/30cm. On Sat, Jan 28, 2012 at 12:37 PM, heri_hahihu heri.pc...@gmail.com wrote: i want to measure distance by android. can u give me idea? just near distance. On Fri, Jan 27, 2012 at 12:32 AM, TomL tomlo...@gmail.com wrote: Not all Android devices have the proximity sensor. In the ones that do, most only give a yes/no response to whether something is near the sensor, so not really suitable for accurately measuring distance. What exactly are you trying to do? Tom -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: admod request
ok. it is running. Error is about server. 2012/1/28, Salih Selametoglu barbooni...@gmail.com: Hello friend, I done simple application. so i wanna add admod. bu it doesn't request. I use this code; AdView adview = (AdView)findViewById(R.id.adView); AdRequest req = new AdRequest(); req.setGender(AdRequest.Gender.MALE); adview.loadAd(req); What is wrong? is there any idea? Salih SELAMETOĞLU Teknopalas RFID Yazılım Çözümleri / Yazılım Uzman Yardımcısı İstanbul Üni. Bil. Müh. 4. Sınıf http://www.linkgizle.com +90 537 279 6412 -- Salih SELAMETOĞLU Teknopalas RFID Yazılım Çözümleri / Yazılım Uzman Yardımcısı İstanbul Üni. Bil. Müh. 4. Sınıf http://www.linkgizle.com http://selametoglu.blogspot.com/ +90 537 279 6412 -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to get utf-8 encode page with HTTP request?
Thanks Mark, But, it didn't help, they all are related to json. I tried to make it work with my case, no luck Any other suggestions are welcome. Regards TM -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] login problem
Hi in the first activity am givning the uname and pass values in the intent...and get that data in the second activity String login = getIntent().getStringExtra(Username); and this data login value i have to pass to the UsernamePasswordCredentials creds = *new* UsernamePasswordCredentials( login, logpass); here how to place the login value in the credential.. firstactivity: Intent intent = *new* Intent(getApplicationContext(), SecondScreen.*class*); intent.putExtra(Username, uname.getText().toString()); System.*out*.println(username: + uname); intent.putExtra(Password, pass.getText().toString()); System.*out*.println(password: + pass); startActivity(intent); Second Activity String login = getIntent().getStringExtra(Username); System.*out*.println(login entered:+login); String logpass = getIntent().getStringExtra(Password); System.*out*.println(password entered:+logpass); *try* { HttpClient httpclient = *new* DefaultHttpClient(); UsernamePasswordCredentials creds = *new* UsernamePasswordCredentials( login, logpass); ((AbstractHttpClient) httpclient).getCredentialsProvider() .setCredentials( *new* AuthScope(AuthScope.*ANY_HOST*, AuthScope.*ANY_PORT*), creds); -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Any good backends for managing Checkins and/or User sign/ins?
Hi Guys, Does anyone know of any good off-the-shelf backend solutions for managing checkin or user sign in data appropriate for use in an Android app? Some web app that supports and Android app managing user signin process or product checkin via RESTful http service calls? If anyone has opinions mucho appreciato! Best, pawpaw17 -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Any good backends for managing Checkins and/or User sign/ins?
https://www.parse.com/ I've been wanting to try those guys for a long time now.., kris On Sat, Jan 28, 2012 at 6:29 PM, pawpaw17 georgefraz...@yahoo.com wrote: Hi Guys, Does anyone know of any good off-the-shelf backend solutions for managing checkin or user sign in data appropriate for use in an Android app? Some web app that supports and Android app managing user signin process or product checkin via RESTful http service calls? If anyone has opinions mucho appreciato! Best, pawpaw17 -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android - Rename Application Package feature broke
I love the Android Tools Rename Application Feature in Eclipse. However it recently broke for me (I think it stopped working after I imported a library as a reference - using the lvl library), every time I try to rename a package, I input the new package name, click ok and I get an error message below: A fatal error occured while performing the refactoring. An unexpected exception occured while creating a change object. See the error log for mroe details. The log details are: java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2642) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.createChange(RefactoringWizard.java:631) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.computeUserInputSuccessorPage(RefactoringWizard.java:470) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.getStartingPage(RefactoringWizard.java:440) at org.eclipse.jface.wizard.WizardDialog.showStartingPage(WizardDialog.java:1272) at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:610) at org.eclipse.jface.window.Window.create(Window.java:431) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:172) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:193) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:116) at com.android.ide.eclipse.adt.internal.refactorings.renamepackage.RenamePackageAction.initiateAndroidPackageRefactoring(RenamePackageAction.java:164) at com.android.ide.eclipse.adt.internal.refactorings.renamepackage.RenamePackageAction.promptNewName(RenamePackageAction.java:147) at com.android.ide.eclipse.adt.internal.refactorings.renamepackage.RenamePackageAction.run(RenamePackageAction.java:103) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) Caused by: java.lang.NullPointerException at com.android.ide.eclipse.adt.internal.refactorings.renamepackage.ApplicationPackageNameRefactoring.updateJavaFileImports(ApplicationPackageNameRefactoring.java:151) at com.android.ide.eclipse.adt.internal.refactorings.renamepackage.ApplicationPackageNameRefactoring$JavaFileVisitor.visit(ApplicationPackageNameRefactoring.java:427) at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:106) at
[android-developers] Poll: how many of you use a backend service or roll your own
All, This is to you developers who want to backend communication in your apps. This need pops up naturally in many apps because there just isn't any other way to do it. (For example, file exchange, syncs with a server, etc..) Right now I think that there are a few up and coming libraries and backend services, but my guess is that many of you roll your own backends using rest and json. It feels to me like this probably causes a lot of people problems, because there interface between your app and your backend isn't really baked in to the semantics of the programming language or Android platform, so you have to develop the protocol and follow your nose while debugging to get it right. Do people run into this problem, or is it in practice a nonissue because you test it once and it's obviously right? (Same question for security!) kris -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Eclipse find error
At 03:17 AM 1/28/2012, you wrote: ,,,So I new install jdk, then I can run the eclipse. But there is an error flag is on my old project, i assume you tried a clean. maybe delete the cache ~/.android. failing that, make a new project and copy your old files into it. thanks --- co-chair http://ocjug.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 For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: android accelerometer to measure distance
i am sorry.. i want to measure distance object by phone camera like smart measure app. but i want to measure object without entering data of object like height of object. in my mehtode I do twice the measurement and here I must know the distance of displacement measurement of the first and second measurements. i am sorry if my question wrong. i hope you can understand my explanation On Sun, Jan 29, 2012 at 3:14 AM, Kristopher Micinski krismicin...@gmail.com wrote: You didn't understand his question. It's obvious you want to measure near distance, but why do you want to do this? Basically, the sensors on the phone aren't accurate enough to measure within 20/30cm. On Sat, Jan 28, 2012 at 12:37 PM, heri_hahihu heri.pc...@gmail.com wrote: i want to measure distance by android. can u give me idea? just near distance. On Fri, Jan 27, 2012 at 12:32 AM, TomL tomlo...@gmail.com wrote: Not all Android devices have the proximity sensor. In the ones that do, most only give a yes/no response to whether something is near the sensor, so not really suitable for accurately measuring distance. What exactly are you trying to do? Tom -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: AutoScroll ListView at specified intervals without user intervention
Thanks for your input. On Jan 28, 10:55 am, YuviDroid yuvidr...@gmail.com wrote: Ok, now it's clearer :) The two links I gave you should help with auto-scroll part. With the time intervals you might use a Timer (http://developer.android.com/reference/java/util/Timer.html), or make use of the AlarmManager (http://developer.android.com/reference/android/app/AlarmManager.html). I'm not sure though if any of these will be precise enough, so that you remain perfectly in sync with the audio being played. Maybe there are some classes/methods that allow to do that better directly in the MediaPlayer (or SoundPool). Ciao, Yuvi On Sat, Jan 28, 2012 at 3:50 PM, Giants203 giants...@gmail.com wrote: I'm trying to automatically scroll the list view based on the playing of an audio file. The listview items will have English translation of what is being played in the audio which will be in a foreign language. So as the audi progresses, i need to keep the listview scrolling down. I will maintain a mapping file with timestamps to directly the scroll. On Jan 28, 5:01 am, YuviDroid yuvidr...@gmail.com wrote: Probably you want to take a look at: http://developer.android.com/reference/android/widget/ListView.html#s...) orhttp:// developer.android.com/reference/android/widget/ListView.html#s...) Although I'm not sure exactly what you are trying to accomplish. For example you say I want to show the first item .., but being a ListView you will probably see much more than one item. On Sat, Jan 28, 2012 at 6:32 AM, Giants203 giants...@gmail.com wrote: I would like to auto scroll list view at specified time intervals without user intervention. The time intervals will be supplied in an array on integers say 1000, 4000, 5000 in millisecs I want to show the first list item as soon as the list launches and then wait 10 sec to show the next list item on top of the list (visible on the screen) and so on based on the time intervals shown above. What's the best way to accomplish this? I was going through this a href=http://groups.google.com/group/ android-beginners/browse_thread/thread/ea22a389eb900bbe?pli=1thread/ a but the getListView().setSelection() is taking directly to the end of the list. There is no incremental update happening. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X http://android.yuvalsharon.net/launchx.php (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X http://android.yuvalsharon.net/launchx.php (a widget to quickly access your favorite apps and contacts!)http://android.yuvalsharon.net -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: android help
@treking : thanks...but have tried them as well @kris : thanks. @kris : You mean by forcing a geo fix with mock locations or using a fake gps type application? No, I'm not trying to modify the locationsI'm just passing the values from emulator control which are default present in EditText of Emulator controland also tried to pass from command line...by Telnet methodbut both are not working for me...i donno why???.Sir ,did u referred to my code in above post.there may be a possibility of having a bug in my code...please check...then lemme know On Jan 29, 1:09 am, Kristopher Micinski krismicin...@gmail.com wrote: On Sat, Jan 28, 2012 at 1:43 PM, ajay talreja ajayt...@gmail.com wrote: okkk. For my first application...Emergency Sms which send msg at one tab of application or key,as you said long pressed on application is not possible.so is there any method to do code on numeric keypadlike speed diali want to send message from my numeric keylike when one is pressed.A message should be sent to specified number..if yes provide me with that help also No. Not unless you modify the firmware. For my second application ,i'll need Gps values so I'm just trying to retrieve values of latitude and longitude values from my basic applicationand display them to Text view.in above post of mine i have provided with the code of the samethere are no errors.it do get launch on emulator...but application is not retrieving the values of longitude and latitudeso... is there any kinda mistake in my code???...or what are the other reason of not getting latitude and longitude ..i have tried providing values from Emulator and command line..but it is not able to retain the values of latitude and longitude... You mean by forcing a geo fix with mock locations or using a fake gps type application? FYI, any time you're wondering if you can modify the platform beyond your app the answer is usually no. kris -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: android help
Sorry, at this point I've lost track of what you're trying to debug.. ? kris On Sun, Jan 29, 2012 at 1:22 AM, ajay talreja ajayt...@gmail.com wrote: @treking : thanks...but have tried them as well @kris : thanks. @kris : You mean by forcing a geo fix with mock locations or using a fake gps type application? No, I'm not trying to modify the locationsI'm just passing the values from emulator control which are default present in EditText of Emulator controland also tried to pass from command line...by Telnet methodbut both are not working for me...i donno why???.Sir ,did u referred to my code in above post.there may be a possibility of having a bug in my code...please check...then lemme know On Jan 29, 1:09 am, Kristopher Micinski krismicin...@gmail.com wrote: On Sat, Jan 28, 2012 at 1:43 PM, ajay talreja ajayt...@gmail.com wrote: okkk. For my first application...Emergency Sms which send msg at one tab of application or key,as you said long pressed on application is not possible.so is there any method to do code on numeric keypadlike speed diali want to send message from my numeric keylike when one is pressed.A message should be sent to specified number..if yes provide me with that help also No. Not unless you modify the firmware. For my second application ,i'll need Gps values so I'm just trying to retrieve values of latitude and longitude values from my basic applicationand display them to Text view.in above post of mine i have provided with the code of the samethere are no errors.it do get launch on emulator...but application is not retrieving the values of longitude and latitudeso... is there any kinda mistake in my code???...or what are the other reason of not getting latitude and longitude ..i have tried providing values from Emulator and command line..but it is not able to retain the values of latitude and longitude... You mean by forcing a geo fix with mock locations or using a fake gps type application? FYI, any time you're wondering if you can modify the platform beyond your app the answer is usually no. kris -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Lunch and Accessible only to a Specific location-Within State.
On Sat, Jan 28, 2012 at 6:04 AM, kumar varma kkvarm...@gmail.com wrote: My Client requirement is to lunch the application only in Andhra Pradesh- India ! http://support.google.com/androidmarket/developer/bin/answer.py?hl=enanswer=113469topic=16285ctx=topic - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Lunch and Accessible only to a Specific location-Within State.
At the same time.. Once somebody gets your apk, there's no way to stop them from installing it outside of that region, but you're probably just most worried about market distribution anyway. kris On Sun, Jan 29, 2012 at 2:25 AM, TreKing treking...@gmail.com wrote: On Sat, Jan 28, 2012 at 6:04 AM, kumar varma kkvarm...@gmail.com wrote: My Client requirement is to lunch the application only in Andhra Pradesh- India ! http://support.google.com/androidmarket/developer/bin/answer.py?hl=enanswer=113469topic=16285ctx=topic - TreKing - Chicago transit tracking app for Android-powered devices -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en