Re: [android-developers] Re: google io

2012-03-29 Thread Zsolt Vasvari
I would have had to fly 18 hours just to get to San Fran. A $3000 trip minimum, so definitely the freebies weren't the motivation. On Thursday, March 29, 2012 10:48:48 AM UTC+8, Greg Donald wrote: On Wed, Mar 28, 2012 at 8:36 PM, Zsolt Vasvari zvasv...@gmail.com wrote: Honestly, I think a

[android-developers] Re: How to detect screen rotation through 180 degrees from landscape to landscape orientation?

2012-03-29 Thread Zsolt Vasvari
Just curious, why do you care which side of the screen is up? On Thursday, March 29, 2012 9:57:14 AM UTC+8, Mark Carter wrote: I've seen a few other questions similar to this but no answers. Rotating from portrait to landscape (either direction) and back again, we get the helpful call to

Re: [android-developers] Re: google io

2012-03-29 Thread Raghav Sood
Their organization or interaction skills clearly aren't even average. I'd written a mail to them, asking if an exception to the minimum age of sixteen could be made, as I would be 15 when the IO event happened. Never got a reply. Thanks Raghav Sood Sent from my Nexus S -- You received this

[android-developers] Re: How to detect screen rotation through 180 degrees from landscape to landscape orientation?

2012-03-29 Thread Mark Carter
In my case, I need to for the camera (otherwise the image will appear upside down). Some apps (like Paper Camera) get around this by not allowing the screen to rotate, and so the SurfaceView (used by the Camera) is more like a window (through the device). At risk of this post going off on a

[android-developers] Re: Which on is best?

2012-03-29 Thread Kirupa
Thanks. On Mar 29, 10:40 am, vamsi Vamsi va...@partialbits.in wrote: does your application needs features that are only available only in 4.0 ? On Thu, Mar 29, 2012 at 9:39 AM, Kirupa answerofandr...@gmail.com wrote: I want to do an project in android. Which platform is best? 2.2.3

[android-developers] Re: Getting Acquired: Selling Apps and Games to a Business/Investor

2012-03-29 Thread Mark Carter
Does Google currently facilitate the transfer of acquired apps/games from one developer account to another? Earlier this month I emailed Google to transfer my paid app from my personal Google account to my Google Apps for Business account. I was expecting it to take days or weeks so thought

Re: [android-developers] Re: Sending GPS coordinates to a server

2012-03-29 Thread Ankit Kasliwal
ok, First your create your Tracking Application with the use of Location Manager (Try to search over Google) many application there. in that application you found onchage method there you call your webservice or handler file using CustomHttpClient On Thu, Mar 29, 2012 at 11:20 AM, I-Sheng Lin

Re: [android-developers] Get an app's api level programmatically

2012-03-29 Thread Alger Lin
I release a tool to dumping all classes (includes disclosed and undocumented) at Android device, maybe this tool can help you to check if undocumented API was available at target Android version. You can get my tool by URL below.

[android-developers] Re: Detecting headset connection/disconnection on Android 3.0+

2012-03-29 Thread Alger Lin
I release a tool to dumping all classes (includes disclosed and undocumented) at device, maybe this tool can help you to check if undocumented API was available at target Android version. You can get it by URL below. https://play.google.com/store/apps/details?id=com.twrd.yulin.classminer

[android-developers] Re: Why is the SMS content provider still no included in the SDK?

2012-03-29 Thread Alger Lin
I release a tool to dumping all classes (includes disclosed and undocumented) at device, maybe this tool can help you to get undocumented API for SMS. You can get it by URL below. https://play.google.com/store/apps/details?id=com.twrd.yulin.classminer Sam Duke於

[android-developers] Re: Access Point Change detection

2012-03-29 Thread Hera
Thank you for your help, in my case is a Nexus One v2.3.6 (a bit old) and I have been doing a bit more of testing, this is the logcat when the access point change: 03-29 08:33:12.890 I/wpa_supplicant( 934): CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys 03-29 08:33:12.890

[android-developers] Re: DevicePolicyManager LockNow problem

2012-03-29 Thread Alger Lin
I release a tool to dumping all classes (includes disclosed and undocumented) at Android device, maybe this tool can help you to check if undocumented API was available at target Android version. You can get it by URL below.

[android-developers] Re: Which on is best?

2012-03-29 Thread EhyehAsherEhyeh
ICS is is quite superior in terms of available features (in fact, anything after 3.0 has a slew of improvements which you sorely miss when developing for lower versions), however, ICS also has abysmal adoption, with less than 2% of users, and 2.1-2.3.7 accounting for ~90% of users (2.1 ~7%, 2.2

Re: [android-developers] GPS Fix Status

2012-03-29 Thread Alger Lin
I release a tool to dumping all classes (includes disclosed and undocumented) at device, maybe this tool can help you to check if undocumented API was available at target Android version. You can get it by URL below. https://play.google.com/store/apps/details?id=com.twrd.yulin.classminer

[android-developers] Re: How can I know removed non-public API in Gingerbread

2012-03-29 Thread Alger Lin
I release a tool to dumping all classes (includes disclosed and undocumented) at device, maybe this tool can help you to check if undocumented API was available at target Android version. You can get it by URL below. https://play.google.com/store/apps/details?id=com.twrd.yulin.classminer

[android-developers] Writing files in UTF-8

2012-03-29 Thread Dirk Vranckaert
In my application users can export their data (or a subset of it) to a CSV file (to be used in Excel or any other spreadsheet app). However some of my users are reporting that if they export some that contains non-western characters (like chinese or hebrew writings) the text is not correctly in

[android-developers] Re: Different sized images, arrangement and layout problem

2012-03-29 Thread EhyehAsherEhyeh
ScrollView can only hold one view, so put a LinearLayout in there (orientation horizontal). Put three LinearLayouts in that LinearLayout, use layout_weight to give them equal spacing (doesn't matter what you set each weight to as long as they each get equal weight and as long as those three are

[android-developers] Re: Access Point Change detection

2012-03-29 Thread Hera
Thank you for your help, in my case is a Nexus One v2.3.6 (a bit old). Theoretically the socket should continue working anyway and application should not stop ant start again the socket? I have been doing a bit more of testing, this is the logcat when the access point change: 03-29

Re: [android-developers] Writing files in UTF-8

2012-03-29 Thread Bin Yang
try to flush! 在 2012年3月29日 下午3:25,Dirk Vranckaert dirkvrancka...@gmail.com写道: In my application users can export their data (or a subset of it) to a CSV file (to be used in Excel or any other spreadsheet app). However some of my users are reporting that if they export some that contains

[android-developers] Detect SMS sending limitation

2012-03-29 Thread Jawwad Farooq
Hi All, Is there still a limitation on sending SMS in Android 2.2+ versions? In Android 2.2, an App can't send more than 100 messages in an hour. And if this limitation is removed in later versions of Android, is there any standard way to detect that if the phone can send more than 100 messages

[android-developers] Tool to dump available API at Android device

2012-03-29 Thread Alger Lin
Android is a source opened OS, and Google release API at web-side. However, still has many function can't be implemented by public APIs. Many developer has to take risk to use undocumented API. So I release a tool to dumping all classes (includes disclosed and undocumented) at Android device,

Re: [android-developers] Writing files in UTF-8

2012-03-29 Thread Dirk Vranckaert
When I debug the result.toString() value I see that it's correctly stored in the String. However adding the out.flus(); just after the out.write(...); doesn't change anything! Kr, Dirk Op donderdag 29 maart 2012 09:32:33 UTC+2 schreef bin yang het volgende: try to flush! 在 2012年3月29日

[android-developers] datepicker in android

2012-03-29 Thread Kirupa
Can we reduce the size of datapicker in android? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Which on is best?

2012-03-29 Thread Kirupa
Thanks sir. On Mar 29, 12:18 pm, EhyehAsherEhyeh jacobsen.ar...@gmail.com wrote: ICS is is quite superior in terms of available features (in fact, anything after 3.0 has a slew of improvements which you sorely miss when developing for lower versions), however, ICS also has abysmal adoption,

[android-developers] Dynamic check box

2012-03-29 Thread Rahul Vijay
Hi, Friends I have a new problem, how to to generate a dynamic checkbox as well as fiind each checkbox id(Position of checkbox) for example- There are 4 checkbox in AVD click any one of Checkbox or one or more check box . it generate a corresponding checked id(position) Suppose I am select first

[android-developers] strange blue boxes with ? instead of images in my Android app...

2012-03-29 Thread Stuart B
https://lh5.googleusercontent.com/-B1sU3tiWMZg/T3QbVMPcn3I/AN0/V2_45P9uxKg/s1600/Screenshot_2012-03-27-18-16-30.png Can you help? I have an app that runs great on iPhone/Pad, but on a few Android devices the images show up as question marks in a blue box. Anyone know why? Thanks! --

[android-developers] app sales dropped dramatically in the past few days

2012-03-29 Thread Mat Jones
Has anyone seen a fallen in their app sales through on app billing in the past few days? The past two days in app billing sales are down 90% We have around 800 New users a day and the same amount viewing the extra features page, so don't understand the issue Regards -- You received this

Re: [android-developers] datepicker in android

2012-03-29 Thread jagruti sangani
2 down vote accepted No. You cannot reduce the size of a view beyond their minimum size. Using wrap_content ensures that the DatePicker is just big enough to enclose its contents. DatePicker android:layout_width=wrap_content android:layout_height=wrap_content / On Thu, Mar 29, 2012 at

Re: [android-developers] Dynamic check box

2012-03-29 Thread jagruti sangani
refer this link might be get solution... http://stackoverflow.com/questions/4666870/android-dynamic-checkbox-issue http://stackoverflow.com/questions/5105463/setonclicklisteners-for-dynamic-created-checkboxes On Thu, Mar 29, 2012 at 1:50 PM, Rahul Vijay rahul.vija...@gmail.comwrote: Hi, Friends

[android-developers] Multiple Alarm problem

2012-03-29 Thread Ajay Sharma
http://stackoverflow.com/questions/9921189/multiple-alarm-fire-at-same-time -- 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] Re: Different sized images, arrangement and layout problem

2012-03-29 Thread Farhan Tariq
In that case, I would have to add to one of the 3 linear layouts usings their id, no? I would also need to keep track of which linear layout I added to first, so that I add the next image to the next one. There would be a lot of 'if's executing at run time. Can I have a gridView with different

[android-developers] Tab in Android.

2012-03-29 Thread Kirupa
I created three tab in one activity. Now I want to go new activity when click on tab. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Image loading in Gridview

2012-03-29 Thread Febi.M.Felix Maliakkal
I have a gridview and i need images from my website to get loaded on to this gridview fastly..there should not be any delay..that means, downloading action should be in background while the gridview get populated..i have implemented a method..but it takes more time...Only after downloading the

[android-developers] Tab in Android.

2012-03-29 Thread Kirupa
I created three tab in one activity. Now I want to go new activity when click on tab. is it possible? please show source? -- 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: Writing files in UTF-8

2012-03-29 Thread Remote Red
    out = new BufferedWriter(new OutputStreamWriter( new FileOutputStream(file), UTF-8     )); Why are you using FileOutputStream AND OutputStreamWriter AND BufferedWriter?     out.write(result.toString()); What is the type of result? How did you put content in it? You are not checking

Re: [android-developers] Tab in Android.

2012-03-29 Thread jagruti sangani
ya you can do that.just apply onclicklistener and onclick() write the intent for opening new activity. On Thu, Mar 29, 2012 at 3:01 PM, Kirupa answerofandr...@gmail.com wrote: I created three tab in one activity. Now I want to go new activity when click on tab. is it possible? please show

[android-developers] Android HID bluetooth profile

2012-03-29 Thread I-Sheng Lin
Hi Android developers, I have done that the porting of HID profile onto Android 2.3 as the host. My Android device(Gingerbread) now is able to connect to the Bluetooth mouse/kb and it works really nice! However, my question is that it seems very lack of information about to make Android device

[android-developers]Android Bluetooth HID profile

2012-03-29 Thread I-Sheng Lin
Hi Android developers, I have done that the porting of HID profile onto Android 2.3 as the host. My Android device(Gingerbread) now is able to connect to the Bluetooth mouse/kb and it works really nice! However, my question is that it seems very lack of information about to make Android device

Re: [android-developers] app sales dropped dramatically in the past few days

2012-03-29 Thread Anirudh Loya
Same thing happened to my app ! On Thu, Mar 29, 2012 at 2:10 PM, Mat Jones mashable...@gmail.com wrote: Has anyone seen a fallen in their app sales through on app billing in the past few days? The past two days in app billing sales are down 90% We have around 800 New users a day and the

[android-developers] Re: app sales dropped dramatically in the past few days

2012-03-29 Thread Mat Jones
How long has you billing been in place? Whats the percentage drop? Have any users reported errors during checkout? Mine is for 2 months and the past few days are the worst -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: app sales dropped dramatically in the past few days

2012-03-29 Thread Mat Jones
How long as your billing been active for? Have you had any users email you about payment issues? Regards On Mar 29, 11:05 am, Anirudh Loya loya.anir...@gmail.com wrote: Same thing happened to my app ! On Thu, Mar 29, 2012 at 2:10 PM, Mat Jones mashable...@gmail.com wrote: Has

[android-developers] Re: Accessing a class function from another class

2012-03-29 Thread Matt Green
Hi Lew, Yeah, my terminology was a bit off. I've got a class, an instance of which is run at program start: public class ServerPushActivity extends Activity { ListView listView1; LogItemAdapter logItemAdapter; ArrayListLogRecord logs; public void updateList(){

[android-developers] Re: Accessing a class function from another class

2012-03-29 Thread Matt Green
Hi Lew, Yeah, my terminology was a bit off. I've got a class, an instance of which is run at program start: public class ServerPushActivity extends Activity { ListView listView1; LogItemAdapter logItemAdapter; ArrayListLogRecord logs; public void updateList(){

[android-developers] Re: Different sized images, arrangement and layout problem

2012-03-29 Thread EhyehAsherEhyeh
I don't believe so, but I am not absolutely certain it's impossible. As for keeping track of which layout to add to in my example, I'd just use an array of LinearLayouts, which you find on Activity creation, then keep an int to increment each time you add an image and use that modulus 3 (or

[android-developers] Re: Writing files in UTF-8

2012-03-29 Thread Dirk Vranckaert
Why are you using FileOutputStream AND OutputStreamWriter AND BufferedWriter? I need the OutputStreamWriter to specify the encoding, however that doesn't seem to work... What is the type of result? How did you put content in it? The result is a CSV file, I just loop over some DB

[android-developers] Re: GPS Fix Status

2012-03-29 Thread lbendlin
It may not be a good solution but it may be a viable solution. On Thursday, January 5, 2012 10:17:17 PM UTC-5, gotok wrote: The solution to this issue that was proposed by a poster in that thread was to issue another requestLocationUpdates, which doesn't seem like a good solution to me.

Re: [android-developers] How to get the TextView values in ListView

2012-03-29 Thread Mahabaleshwara Adiga
Hi, If you want to access textview values from ListView, then you should use this code: public void onItemClick(AdapterView? arg0,View arg1,int position,long id) { TextView tv=(TextView) arg1.findViewById(R.id.videoId); String value=tv.getText().toString(); }

[android-developers] populating a Spinner with various types of Listxxx class

2012-03-29 Thread Jim Graham
While working on my current app, I find myself needing to populate a spinner (and a MultiSpinner, but that one's easy---feed it the list directly) from data that's stored in various types of Lists (ListString, ListInteger, ListCamera.Size, and probably Listint[]). So far, I've read all kinds of

Re: [android-developers] Re: Access Point Change detection

2012-03-29 Thread Kostya Vasilyev
Yes -- have the server confirm each message (or a batch of messages) to the client. The client would only removes from its queue those messages that have been confirmed. Now you won't have dropped messages, but you may have some messages being sent twice - if the network disconnects at the

[android-developers] Re: Writing files in UTF-8

2012-03-29 Thread Remote Red
On 29 mrt, 13:03, Dirk Vranckaert dirkvrancka...@gmail.com wrote: Why are you using FileOutputStream AND OutputStreamWriter AND BufferedWriter? I need the OutputStreamWriter to specify the encoding, Ok. But then why also a BufferedWriter? The result is a CSV file, Sorry but you did not

Re: [android-developers] populating a Spinner with various types of Listxxx class

2012-03-29 Thread Kostya Vasilyev
The issue is that you're trying to cast *the array* whereas you intent was probably to cast *each element of the array*. You could try this: for (Camera.Size size : cameraSizeList) { stringArray.add(size.toString()); } ... etc Or you could combine the arrays into one Object[] array. The

[android-developers] Server response

2012-03-29 Thread arun kumar
am having a button in the activity (button) ...if i click the button then it fetches data from the server .if data is sucess then i has to show toast as sucess...after if i click button while fetching data from the server if net or wifi disconnect then it has to show (wifi or net disconnect

[android-developers] How to get the APN name in java/NDK layer

2012-03-29 Thread Vikas KM
Hi, How can i get the APN name in java layer? OK ‘AT+CGDCONT=1,”IP”,”internet”’ --internet 為中華電信 APN name To use here... -- Regards Vikas KM http://arowboat.org -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Writing files in UTF-8

2012-03-29 Thread Remote Red
Just a thougth: does the produced file have a BOM (Byte Order Mark) as the first bytes? If not you have to write them yourself. -- 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] retrieving dialogue box value

2012-03-29 Thread shihab shiha
Hi All, I want to pass the edittext value in a dialogue box to listview when i click the save button of the dialogue box. -- 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: Writing files in UTF-8

2012-03-29 Thread Dirk Vranckaert
Ok. But then why also a BufferedWriter? The BufferedWriter is indeed obsolete but leaving it out doesn't change anything... so of what type is result in result.toString()? Result is of type StringBuilder. Do characters like ö, é come through ok? These do indeed come through

[android-developers] Re: Writing files in UTF-8

2012-03-29 Thread Dirk Vranckaert
Oups, forgot the file ;) But update: I was wrong, ö ë é are not working either! File is now attached! :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Writing files in UTF-8

2012-03-29 Thread Dirk Vranckaert
Allright it works now! Thank you for poiting out to me the Byte Order Mark. I've added out.write('\ufeff'); to write the Byte Order Mark and you can see in the attachment the export now works fine! :) This is my code now: out = new OutputStreamWriter( new FileOutputStream(file), UTF-8

[android-developers] Re: Looking for Jersey/Restlet/REST recommendations

2012-03-29 Thread gc
I've implemented REST using Jersey on several projects and it's very lightweight and easy to use. On Wednesday, March 28, 2012 3:44:44 PM UTC-5, Mark Phillips wrote: I forgot to include a subject line. On Wed, Mar 28, 2012 at 11:38 AM, Mark Phillips m...@phillipsmarketing.biz wrote:

[android-developers] How to serialize a Class that includes a Bitmap?

2012-03-29 Thread saex
Hi I have a simple class that implements Serializable, because i'm serializating the class storing it on the sdcard into a file. The class haves a Bitmap inside, and the bitmap is not bening Serialized because when i recover the class from the sdcard binary file the bitmap is NULL How

[android-developers] Re: Writing files in UTF-8

2012-03-29 Thread Remote Red
I've added out.write('\ufeff'); to write the Byte Order Mark That is not the bom for utf-8. You wrote the bom for UTF-16. http://en.wikipedia.org/wiki/Byte_order_mark The bom for utf-8 is 0xEF, 0xBB, 0xBF. ... and you can see in the attachment the export now works fine! :) Those attachment

[android-developers] my apk file download in internet explorer as zip file

2012-03-29 Thread Aryan
when download My apk file from internet explorer is being by default saved as .zip file. the hyper link mentions .apk, but only when the save as dialog comes, it prompts to be saved as .zip. if i rename it to .apk, it works just fine. How will I prevent this file from being saved as zip file ? --

Re: [android-developers] populating a Spinner with various types of Listxxx class

2012-03-29 Thread Jim Graham
On Thu, Mar 29, 2012 at 03:37:19PM +0400, Kostya Vasilyev wrote: The issue is that you're trying to cast *the array* whereas you intent was probably to cast *each element of the array*. I was just trying to directly convert the List (in this case, ListString) to an array of strings (String[]).

[android-developers] Wifi and phone sleep state

2012-03-29 Thread Put_tiMe
I have a situation where in I use AlarmManager to wake up once in a few minutes, and switch on/off wifi. If I don't use the device for a while, then the wifi never connects to the preferred wifi network. Is there anything happening with the wifi if the phone is in a sleep state? And how

Re: [android-developers] Wifi and phone sleep state

2012-03-29 Thread Mark Murphy
On Thu, Mar 29, 2012 at 9:02 AM, Put_tiMe putt...@gmail.com wrote: I have a situation where in I use AlarmManager to wake up once in a few minutes, and switch on/off wifi. If I don't use the device for a while, then the wifi never connects to the preferred wifi network. Is there anything

Re: [android-developers] my apk file download in internet explorer as zip file

2012-03-29 Thread Mark Murphy
Change the MIME type that your Web server uses for the file. On Thu, Mar 29, 2012 at 8:45 AM, Aryan aryantiwari...@gmail.com wrote: when download My apk file from internet explorer is being by default saved as .zip file. the hyper link mentions .apk, but only when the save as dialog comes, it

Re: [android-developers] Detect SMS sending limitation

2012-03-29 Thread Mark Murphy
On Thu, Mar 29, 2012 at 3:33 AM, Jawwad Farooq jawwad.far...@gmail.com wrote: Is there still a limitation on sending SMS in Android 2.2+ versions? In Android 2.2, an App can't send more than 100 messages in an hour. AFAIK, yes. -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: Writing files in UTF-8

2012-03-29 Thread Dirk Vranckaert
Ooh yeah, I will have a look tomorrow for the UTF-8. But the question marks in the in the file i attached are because google groups did not get it right the document... Locally it works and I can send it through mail without issues. Kr, Dirk Op donderdag 29 maart 2012 14:43:33 UTC+2 schreef

[android-developers] Flash issue

2012-03-29 Thread bob
I attempted to do some Flash on an Android device like so: String html = html\nhead\nstyle\n + body {margin: 0px;}\n/style\n + /head\nbody\n + object width=+width+ height=+height+ data='file:///mnt/sdcard/test.swf'\n + param name=scale value=exactfit\n/object\n/body\n/html;

[android-developers] Re: release keys do not work

2012-03-29 Thread i b
When I recently switched to a new computer and created a new keystore and various alias keystores, my release keys no longer work. The debug key is OK (for debugging only) For example, I gave their site this MD5 fingerprint: C0:28:EE:1F:D7:59:C3:5F:4B:5F:4F:F4:40:8F:6B:78 and was given this:

Re: [android-developers] Flash issue

2012-03-29 Thread Mark Murphy
If the same HTML works with an http:// URL, then perhaps the Flash Player plugin cannot handle local files. On Thu, Mar 29, 2012 at 10:28 AM, bob b...@coolfone.comze.com wrote: I attempted to do some Flash on an Android device like so: String html = html\nhead\nstyle\n +     body {margin:

[android-developers] Re: mediascannerconnection.scanFile does not update album_art

2012-03-29 Thread androidmediadeveloper
Let me clarify the code, the post from last night was in sheer exhaustion after having looked at it for hours on end. Now, I have the mediascanner invoked from inside a thread to pick up the new metadata and art that has been written to the file Thread

[android-developers] 5 free chapters from the previous editions of Pro Android

2012-03-29 Thread Satya Komatineni
I have made available some valuable published content from the previous editions of Pro Android for free. we had to remove these chapters from our latest edition ProAndroid 4 (http://androidbook.com/proandroid4) due to size and other reasons. The chapters are OpenGL Search API Live Folders Text

[android-developers] Activity Intent-Filter configuration

2012-03-29 Thread rk
Hi All, My application is having an launcher activity with following intent- filter Action - android.intent.action.VIEW Category - android.intent.category.DEFAULT Mime-type -image/jpeg From 'Dual File Manger', When I try to open a file, which is not having proper

Re: [android-developers] Activity Intent-Filter configuration

2012-03-29 Thread Mark Murphy
On Thu, Mar 29, 2012 at 11:19 AM, rk ramakrishnar...@gmail.com wrote: My application is having an launcher activity with following intent- filter        Action - android.intent.action.VIEW        Category  - android.intent.category.DEFAULT        Mime-type -image/jpeg From 'Dual File

[android-developers] Get and save GPS location while i am walking

2012-03-29 Thread Spica
Guys, How i can save GPS locations while i am walking? I will be displaying my walking track which i will recording while walking. Where i would be saving all those huge number of locations on my phone? There are few apps in the market who are doing that, please share your ideas how and where they

Re: [android-developers] Re: release keys do not work

2012-03-29 Thread Justin Anderson
When I recently switched to a new computer and created a new keystore and various alias keystores, my release keys no longer work. Why did you do that? I have switched computers multiple times but have never done that. Just keep a copy of your original release .keystore file backed up

[android-developers] Re: Get and save GPS location while i am walking

2012-03-29 Thread lbendlin
Nothing huge about it. You only get one data row per second max. SQLite is laughing at that. On Thursday, March 29, 2012 12:22:47 PM UTC-4, Spica wrote: Guys, How i can save GPS locations while i am walking? I will be displaying my walking track which i will recording while walking. Where

[android-developers] XML Parsing w/ DocumentBuilder

2012-03-29 Thread Bozzified
Hello everyone. I am trying to get a hang of XML parsing and can't get this to show me the right elements as I'm fairly new to Android/Java dev. Would appreciate some guidance. I've build a class that gets the custom xml url and needs to parse it and fill ArrayList with values. After trying

Re: [android-developers]Android Bluetooth HID profile

2012-03-29 Thread Justin Anderson
Please don't post the same message multiple times... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Mar 29, 2012 at 3:43 AM, I-Sheng Lin ckjboy2...@gmail.com wrote: Hi Android developers, I have done that the porting of HID profile onto

[android-developers] How do I view Android application specific cache?

2012-03-29 Thread Karim Varela
Is there any way to dynamically view the application specific cache in Android? I'm saving images to the cache (/data/data/my_app_package/cache) and I'm 99% sure they're saving there, but not sure how long they're staying around. When I look in the cache using the DDMS File Explorer within

Re: [android-developers] Stop listview from updating previous items and only update current items

2012-03-29 Thread Justin Anderson
I had a problem with designing chat custom listview but when i update list when user send or receive message it update all previous rows with the name of new sender/receiver and seems like one person send/receive all messages!! That code doesn't make a lot of sense... We don't know what

[android-developers] Re: Writing files in UTF-8

2012-03-29 Thread Lew
Remote Red wrote: Dirk Vranckaert wrote: I've added out.write('\ufeff'); to write the Byte Order Mark That is not the bom for utf-8. You wrote the bom for UTF-16. http://en.wikipedia.org/wiki/Byte_order_mark The bom for utf-8 is 0xEF, 0xBB, 0xBF. And that same article reminds us,

Re: [android-developers] populating a Spinner with various types of Listxxx class

2012-03-29 Thread Lew
Spooky wrote: Kostya Vasilyev wrote: The issue is that you're trying to cast *the array* whereas you intent was probably to cast *each element of the array*. I was just trying to directly convert the List (in this case, I was just trying ... implies that the rules of Java should

[android-developers] Re: Stop listview from updating previous items and only update current items

2012-03-29 Thread Nadeem Hasan
The MarkChat.Name.get() returns the same value for all your list items. That is causing the name to be the same for all items. It should return the name based on the position of the item in the adapter. Also, as Justin noted, your ViewHolder usage seems to be incorrect. Try something like

[android-developers] Re: my apk file download in internet explorer as zip file

2012-03-29 Thread JackN
I would just rename. MS does that in IE when they want to suppress something they don't like. Same with EPS files and others. APK is zip, but by renaming, MS gets to complicate anyone's life that is trying to download via IE and isn't aware. On Mar 29, 6:30 am, Mark Murphy mmur...@commonsware.com

Re: [android-developers] populating a Spinner with various types of Listxxx class

2012-03-29 Thread Jim Graham
On Thu, Mar 29, 2012 at 11:35:32AM -0700, Lew wrote: Spooky wrote: Kostya Vasilyev wrote: The issue is that you're trying to cast *the array* whereas you intent was probably to cast *each element of the array*. I was just trying to directly convert the List (in this case, I was

Re: [android-developers] Re: Stop listview from updating previous items and only update current items

2012-03-29 Thread Justin Anderson
The MarkChat.Name.get() returns the same value for all your list items. That's what I thought at first as well... But I think this list view represents a chat between two people... And so, depending on the item in the list, the OP only wants to return one of two names... I may be wrong, but

[android-developers] Re: Get and save GPS location while i am walking

2012-03-29 Thread Spica
Hmm... would be expenssive on battery coz GPS would be working all that time. Any different idea? On Mar 29, 12:59 pm, lbendlin l...@bendlin.us wrote: Nothing huge about it. You only get one data row per second max.  SQLite is laughing at that. On Thursday, March 29, 2012 12:22:47 PM

Re: [android-developers] Re: Get and save GPS location while i am walking

2012-03-29 Thread Kristopher Micinski
Yes, having GPS going on a lot will be bad for your battery..., you have to live with it. You can try getting the location from a passive provider, but that's somewhat spotty, of course..., If you want to use GPS, you have to be willing to pay the price.. kris On Thu, Mar 29, 2012 at 3:29 PM,

Re: [android-developers] Re: Stop listview from updating previous items and only update current items

2012-03-29 Thread Nadeem Hasan
Justin, You are right. In that case, I think the culprit is the flag. It is supposed to be true for incoming and false for outgoing. But, it remains static while listview is building its items. I think this flag should be in the adapter along with message. -- You received this message

Re: [android-developers] populating a Spinner with various types of Listxxx class

2012-03-29 Thread Lew
Spooky wrote: Lew wrote: Spooky wrote: Kostya Vasilyev wrote: The issue is that you're trying to cast *the array* whereas you intent was probably to cast *each element of the array*. I was just trying to directly convert the List (in this case, I was just trying ...

Re: [android-developers] Re: Stop listview from updating previous items and only update current items

2012-03-29 Thread Justin Anderson
That its what I was thinking as well... On Mar 29, 2012 2:16 PM, Nadeem Hasan nha...@nadmm.com wrote: Justin, You are right. In that case, I think the culprit is the flag. It is supposed to be true for incoming and false for outgoing. But, it remains static while listview is building its

[android-developers] item tag requires a 'drawable' attribute

2012-03-29 Thread Pinheiro
I have this simple XML in the drawable folder: selector xmlns:android=http://schemas.android.com/apk/res/android; item android:drawable=@drawable/dark_pressed android:state_pressed=true / item android:drawable=@drawable/dark_focused android:state_focused=true

[android-developers] Re: Stanford U WhiteBoard apps

2012-03-29 Thread mike digioia
Anyone out there worked with the Maven tools? I am having trouble adding jar files since I can't locate the necessary parameter needed by mvn install:install-file command. I Google it but no one says where to get this info? Do I need to look at the binary JAR file? I attempted to make up the

Re: [android-developers] Stanford U WhiteBoard apps

2012-03-29 Thread Kristopher Micinski
These are fairly basic questions, and are all answered at the SDK website. http://developer.android.com/sdk/index.html You then have to set an appropriate API level for your app, to make sure you're not including things you don't want, etc.., kris On Mon, Mar 26, 2012 at 2:14 PM, mike digioia

Re: [android-developers] Stanford U WhiteBoard apps

2012-03-29 Thread mike digioia
I am not using eclipse where it is all detailed at this site. I am using the Maven environment instead that uses command line. Have you used Maven before? On Thu, Mar 29, 2012 at 2:13 PM, Kristopher Micinski krismicin...@gmail.com wrote: These are fairly basic questions, and are all answered

Re: [android-developers] populating a Spinner with various types of Listxxx class

2012-03-29 Thread Kostya Vasilyev
29 марта 2012 г. 23:07 пользователь Jim Graham spooky1...@gmail.comнаписал: Kostya answered my question with a perfectly useable solution, and I thought, in my response, that I made my appreciation for that clear. Apparently, I didn't make that as clear as I thought I did. Apologies,

Re: [android-developers] Re: Stop listview from updating previous items and only update current items

2012-03-29 Thread Kostya Vasilyev
Note that there are two layouts being used here: R.layout.evenbubble R.layout.oddbubble Without overriding getViewTypeCount / getItemViewType in the adapter and returning the right item type... .. the list view will mix up those two layouts when recycling, which would appear as a list of send

Re: [android-developers] Re: Stop listview from updating previous items and only update current items

2012-03-29 Thread Justin Anderson
Good catch Kostya... I didn't notice the two different layouts until you mentioned it. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware 2012/3/29 Kostya Vasilyev kmans...@gmail.com Note that there are two layouts being used here: R.layout.evenbubble

  1   2   >