[android-developers] Re: Please help me to get a rid of this error - The type android.app.Fragment cannot be resolved

2013-02-27 Thread Nobu Games
If you compile the app with API level 8 (Android 2.2) then the class Fragment cannot be found because it does not exist there. It has been introduced with API level 11. Make sure to set the target API level to the highest your app can support and minSdkLevel to 8. On Wednesday, February 27,

Re: [android-developers] Re: Please help me to get a rid of this error - The type android.app.Fragment cannot be resolved

2013-02-27 Thread Manas Shah
Thanks Nobu for reply Yes, I have set minSdkLevel = 8 and targetSdkVersion =15 but still no luck... I am not able to understand why code is referring to android.app.Fragment class as I am no where using it. Thanks again, Manas On Wed, Feb 27, 2013 at 9:23 PM, Nobu Games

[android-developers] Re: Please help me to get a rid of this error - The type android.app.Fragment cannot be resolved

2013-02-27 Thread Jonathan S
android.support.v13 is for API Level 13+ only If you are doing Minimum API Level 8, you have to remove android.support.v13 On Wednesday, February 27, 2013 10:43:48 AM UTC-5, Manas wrote: Greeting, I am using android.support.v13 and android.support.v4 external JAR files. I have done

[android-developers] Re: please help me

2012-10-19 Thread bob
Sounds like you will want to launch the Adobe PDF Reader. I'm guessing you want something like this: Intent intent = new Intent(); intent.setPackage(com.adobe.reader); intent.setDataAndType(Uri.parse(doc), application/pdf); startActivity(intent); On Thursday, October 18, 2012 3:45:55 PM

Re: [android-developers] Re: please help me

2012-10-19 Thread bahmani iman
On Fri, Oct 19, 2012 at 6:45 PM, bob b...@coolfone.comze.com wrote: Sounds like you will want to launch the Adobe PDF Reader. I'm guessing you want something like this: Intent intent = new Intent(); intent.setPackage(com.adobe.reader); intent.setDataAndType(Uri.parse(doc),

Re: [android-developers] Re: please help me

2012-10-19 Thread TreKing
On Fri, Oct 19, 2012 at 3:24 PM, bahmani iman imanbahm...@gmail.com wrote: i want make a application like other application with text file no with adobe pdf you know i want create a application that this have a home page and other menu are you have a refrence or source for this work? Your

[android-developers] Re: please help me

2012-04-03 Thread Ali Chousein
Android documentation makes very good suggestions on this: http://developer.android.com/resources/faq/framework.html#3 - Ali Chousein http://socialnav.blogspot.com | http://twitter.com/socialnav1 http://weatherbuddy.blogspot.com |

[android-developers] Re: Please Help me! I have SQLiteDatabaseCorruption Error

2012-03-23 Thread lbendlin
Rename your 5MB database file to something Android does not recognize by the extension ( I used .db.jet ) and then use that raw resource as the source when copying. Works for me. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Please Help me! I have SQLiteDatabaseCorruption Error

2012-03-22 Thread Halil Enver Soylu
so what would you suggest? I checked if all bytes of db copied, any yes it copies all of it. what should I do now? how can I load my prefilled 5MB database? On Tuesday, March 13, 2012 11:30:11 AM UTC+2, Zsolt Vasvari wrote: I would very strongly advise you against doing this. There is no

[android-developers] Re: Please Help me! I have SQLiteDatabaseCorruption Error

2012-03-22 Thread Halil Enver Soylu
so what would you suggest? I checked if all bytes of db copied, and yes it copies all of it. what should I do now? how can I load my prefilled 5MB database? On Tuesday, March 13, 2012 11:30:11 AM UTC+2, Zsolt Vasvari wrote: I would very strongly advise you against doing this. There is no

[android-developers] Re: Please Help me! I have SQLiteDatabaseCorruption Error

2012-03-22 Thread Nadeem Hasan
How are you ensuring that they are being reassembled in the same order? From the code, it looks like you just get a list of all the files in the assets directory and concatenate them in the order they were returned by the API. This order may or may not be the same as the natural order of these

[android-developers] Re: Please Help me! I have SQLiteDatabaseCorruption Error

2012-03-22 Thread Halil Enver Soylu
nope, I can check which file read in which order by logs. They are in order. if they were not in order, it would not work in any phone. On Thursday, March 22, 2012 8:35:58 PM UTC+2, Nadeem Hasan wrote: How are you ensuring that they are being reassembled in the same order? From the code, it

[android-developers] Re: Please Help me! I have SQLiteDatabaseCorruption Error

2012-03-22 Thread Nadeem Hasan
Then copy the corrupted file to your desktop and do a binary compare with the original. This may give you some clues about what is going wrong. -- 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: Please Help me! I have SQLiteDatabaseCorruption Error

2012-03-13 Thread moktarul anam
Hi Soylu, First u check whether myContext.getAssets().open(ASSETS_DB_FOLDER+/+dbFiles[i]); files exists or not then then copy method do it in asyntask Moktarul On Tuesday, 13 March 2012 03:30:16 UTC+5:30, Halil Enver Soylu wrote: I have a 5MB database. I split it into 1MB chuck

[android-developers] Re: Please Help me! I have SQLiteDatabaseCorruption Error

2012-03-13 Thread Zsolt Vasvari
I would very strongly advise you against doing this. There is no guarantee that the binary database file will be compatible across Android version and much less across all custom ROMs. On Tuesday, March 13, 2012 6:00:16 AM UTC+8, Halil Enver Soylu wrote: I have a 5MB database. I split it

[android-developers] Re: Please help me out with problem of indefinite service

2011-12-08 Thread Soma
Hi, Please let me know.. how do we make the service still run even though the Activity that launched it is killed.. I tried STICK_SERVICE, but of no use.. I still find the service being killed... -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: Please help me out with problem of indefinite service

2011-12-08 Thread Mark Murphy
Services are not designed to live forever. Users detest developers who create such services, in cases where the *user* does not want the service to run forever. Users will attack you with task killers and the Force Stop option in Settings. And so on. If you believe that the user truly wants a

[android-developers] Re: please help me...

2011-10-19 Thread Ali Chousein
Try Android groups in LinkedIn. They have job posting on daily basis. You won't find any job postings in this group. - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com/ | http://twitter.com/weather_buddy Geo-Filtered Assistant

[android-developers] Re: Please help me with this issue

2011-06-27 Thread Jatin Salla
Thanks for the reply. I realized this that I had Login activity 2 times in my manifest file and that really resolved me issue. Thanks a lot for the reply, how come the catlog do not show property error message here. Anyway the problem is resolved and thanks to all. On Jun 23, 10:14 pm, Ed

[android-developers] Re: Please help me with this issue

2011-06-23 Thread Ed
you have this twice: activity android:name=.Login may or may not be the issue -- 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

Re: [android-developers] Re: Please Help ME!!

2011-03-14 Thread vikash srivastava
Windows 7 Its Not Working Fine Still On Sat, Mar 12, 2011 at 9:37 AM, lbendlin l...@bendlin.us wrote: Just compiled this and it ran just fine. What is your desktop environment? On Mar 11, 12:15 pm, Vikash srivastava.vikash.bs...@gmail.com wrote: This is Coding I am Running It Error

[android-developers] Re: Please Help ME!!

2011-03-11 Thread lbendlin
Just compiled this and it ran just fine. What is your desktop environment? On Mar 11, 12:15 pm, Vikash srivastava.vikash.bs...@gmail.com wrote: This is Coding I am Running It Error Occuring : ActivityManager: - exec '/system/bin/sh' failed: Exec format error (8) - Please Help ME!! public

[android-developers] Re: Please help me with calculating direction from point A to B

2010-09-23 Thread Per
hmm.. Have you checked the numerical values that you get (mHeading, mBearing, angleDegrees) ? Log them and check if they look reasonable (assuming that you know where north is :). Expect some deviation caused by your surroundings. Not only the Earth is magnetic... If that looks ok, I'd suggest

Re: [android-developers] Re: Please help me with calculating direction from point A to B

2010-09-23 Thread Frank Weiss
Sounds like writing some unit test cases would help. Of course, you may need to refactor the code to make it testable. The advantage would be that you will see more clearly the input parameters and the constraints. It would divide and conquer the problem. The test cases would be the theory of

[android-developers] Re: Please help me with calculating direction from point A to B

2010-09-22 Thread Per
this works for me: 1: listen to location changes. Store the most recent location. You need it below. 2: listen to orientation changes. Store the most recent heading (azimuth) in mHeading - that's the compass direction corresponding to your viewing direction when holding your phone horizontally in

Re: [android-developers] Re: Please help me with calculating direction from point A to B

2010-09-22 Thread Pedro Teixeira
I'll try this method you described. I have 1. 2. and the destinations coordinates of 3.So I guess I can use it PS: I just want this for landscape mode, I've set it on the Manifest already. On Sep 22, 2010, at 1:12 PM, Per wrote: this works for me: 1: listen to location changes. Store

Re: [android-developers] Re: Please help me with calculating direction from point A to B

2010-09-22 Thread Pedro Teixeira
Per can you explain your example a little bit further? My code seems fine but the direction of the arrow doesnt seem accurate: public void onSensorChanged(SensorEvent event) { double mLatitude = (mLocation.getLatitude()); // lat1 location manager double mLongitude =

[android-developers] Re: Please help me on Android.

2010-08-30 Thread Dev Android
On Mon, Aug 30, 2010 at 4:53 PM, Dev Android devandroid1...@gmail.comwrote: Hi, I have written an application and i want to measure the performance of each module. Can you please suggest me the good approach to do this. Currently, i'm following traditional approach by calculating system's

Re: [android-developers] Re: Please help me on Android.

2010-08-30 Thread Mark Murphy
On Mon, Aug 30, 2010 at 7:44 AM, Dev Android devandroid1...@gmail.com wrote: I have written an application and i want to measure the performance of each module. Can you please suggest me the good approach to do this. Use traceview:

[android-developers] Re: Please help me with permission problems

2010-04-03 Thread Brion Emde
Thanks Mark, that's helpful. What I was trying to do was to get that example to work that I posted a link to. Then I was going to try to figure out what I actually need. So far, I'm pretty stupid as far as Android permissions go. On Apr 3, 1:15 pm, Mark Murphy mmur...@commonsware.com wrote:

[android-developers] Re: Please help me with permission problems

2010-04-03 Thread Brion Emde
I discarded the permissions on the Activities, as I didn't know why they were there either, I was trying out that example. If I go with a permission entry on my ContentProvider, I cannot query the data. If I change the android:permission on my ContentProvider like so: provider

[android-developers] Re: Please help me with permission problems

2010-04-03 Thread Brion Emde
Ok, I was wrong. Apparently, changing the security on the ContentProvider resulted in a new database being created. I was thrown off by the empty screen of my ListView that I was getting a security failure. But there was no message. So, I can create, update, delete and read the data in the new

[android-developers] Re: Please help me find documentation on actions for the manifest file

2009-12-23 Thread Alberto
I'm adding to this thread because I too was looking at using the Gmail content provider. I understand it's not documented as part of the API (and I think it should be) but that hasn't stopped popular apps like SMS Popup from using and building apps on the undocumented SMS API for example. Of

[android-developers] Re: please help me with opengl exception.

2009-12-14 Thread Nightwolf
It should be allocateDirect instead of allocate. On 14 дек, 02:22, billconan billco...@gmail.com wrote: hello guys, i'm trying to draw a very simple 2D triangle with opengl. but i have exception illegal parameters the problematic line is         gl.glVertexPointer(3, GL11.GL_FLOAT, 0,

[android-developers] Re: Please Help me find why htt pclient.execute(httppost);always throws IOException

2009-12-10 Thread Alex Tang
how is the header of httppost. is it correct? On Dec 11, 3:29 am, LeeMoon tanmi...@hotmail.com wrote: hi is there someone troubled the same  issue,please try to help me . i am waiting for you , thanks the code in run();//a thread class         reqEntity = new

[android-developers] Re: Please Help me find why htt pclient.execute(httppost);always throws IOException

2009-12-10 Thread LeeMoon
thanks i will show you the code , i have try to connect httpserver with j2me .it works.the httpserver is running in my tomcat. part 1 :...i have created two TextView to input userid and password;so i try to get the InpustStream code: switch(v.getId()) { case

[android-developers] Re: Please Help me find why htt pclient.execute(httppost);always throws IOException

2009-12-10 Thread Samuh
I think, one of the problems could be with the use of localhost in your server URL: http://localhost:8080/J2ME/servlet/HelloServlet; Try specifying the IP address of your machine instead and see if it helps. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Please Help me find why htt pclient.execute(httppost);always throws IOException

2009-12-10 Thread Samuh
My opinion was based on this: http://code.google.com/p/android/issues/detail?id=133 -- 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] Re: Please Help me find why htt pclient.execute(httppost);always throws IOException

2009-12-10 Thread LeeMoon
thanks Alex and Samuh now,i will try it . it is helpful http://code.google.com/p/android/issues/detail?id=133 thanks again On 12月11日, 上午11时58分, Samuh samuh.va...@gmail.com wrote: My opinion was based on this:http://code.google.com/p/android/issues/detail?id=133 -- You received this

RE: [android-developers] Re: Please Help me find why httpclient.execute(httppost);always throws IOException

2009-12-10 Thread 李淼
) and the response of httpServer must be wrong . ah,that bothers me. also thank you for your advice. my friend . Date: Thu, 10 Dec 2009 19:58:10 -0800 Subject: [android-developers] Re: Please Help me find why httpclient.execute(httppost);always throws IOException From: samuh.va...@gmail.com

[android-developers] Re: Please Help me find why htt pclient.execute(httppost);always throws IOException

2009-12-10 Thread LeeMoon
hey friend thanks httppost.setEntity(reqEntity); //it is ok now ,not thorws IOException again, but i try it in debug. find these error,can i detain you some time to see this log: 12-10 12:41:07.719: ERROR/AndroidRuntime(1454): Uncaught handler: thread Thread-9 exiting due to uncaught exception

[android-developers] Re: Please help me !!

2009-12-07 Thread Phil V
Do you mean like an android exclusive chatroom? On Dec 7, 1:44 pm, IPEG Student ipeg.stud...@gmail.com wrote: Hi       Can any one tell me is group messaging is possible in android or not. If yes then please tell me something like how can i implement this? Thanks, Suman -- You received

Re: [android-developers] Re: Please help me !!

2009-12-07 Thread IPEG Student
On Tue, Dec 8, 2009 at 12:29 AM, Phil V trainstro...@gmail.com wrote: Do you mean like an android exclusive chatroom? On Dec 7, 1:44 pm, IPEG Student ipeg.stud...@gmail.com wrote: Hi Can any one tell me is group messaging is possible in android or not. If yes then please tell me

[android-developers] Re: Please help me !!

2009-12-07 Thread Phil V
Yes. Just select multiple contacts when creating a text message. On Dec 7, 4:01 pm, IPEG Student ipeg.stud...@gmail.com wrote: On Tue, Dec 8, 2009 at 12:29 AM, Phil V trainstro...@gmail.com wrote: Do you mean like an android exclusive chatroom? On Dec 7, 1:44 pm, IPEG Student

[android-developers] Re: Please help me to choose Android Phones (For Android development)

2009-11-19 Thread kolel2
Hi Ash, I work for a company called PerfectoMobile (used to be Nexperience). See www.perfectomobile.com. We enable access to real mobile devices via the web. You can install your app on the device and test it as if you were holding the device in your hands. We just launched a campaign especially

[android-developers] Re: Please help me to choose Android Phones (For Android development)

2009-11-11 Thread android-coder
Unless you have 1000 students at a time to cater for, I see no need to buy 20 phones. Just buy one of each of the 5 most popular phones at the time, and save the budget for future releases. Developing on the emulator is perfectly fine and is easier than transferring to the device each time. You

Re: [android-developers] Re: Please help me to choose Android Phones (For Android development)

2009-11-11 Thread dan raaka
If you are not using sensors or openGL, you can pretty much get away with emulator. -Dan On Tue, Nov 10, 2009 at 11:41 PM, android-coder ahutchin...@gmail.comwrote: Unless you have 1000 students at a time to cater for, I see no need to buy 20 phones. Just buy one of each of the 5 most

[android-developers] Re: Please help me to choose Android Phones (For Android development)

2009-11-10 Thread Pankaj Godbole
This is a good analysis of which phones to consider for development. I also am ready to purchase a phone for testing of real-world apps (i.e. not for educational purposes). I have been advised by a couple of people to consider purchasing the ADP1 from Google. What are your views on using the

[android-developers] Re: Please help me to choose Android Phones (For Android development)

2009-11-10 Thread Ash
Thank you so much Scott, Patrick, Pankaj and others... This thread is of great help to me and to others like me. Please keep this thread going adding your viewpoints and comments. And also could you please help me find where can we order the Motorola Droid and some HTC phones. As we are

[android-developers] Re: Please help me to choose Android Phones (For Android development)

2009-11-10 Thread CyberQat
If you are a university I would contact Motorola and HTC directly. In general these sorts of large corporations have University liaison programs in place. In fact you might get it cheaper for academic purposes then you could on the street or through normal channels. On Nov 10, 4:32 pm, Ash

[android-developers] Re: Please help me to choose Android Phones (For Android development)

2009-11-10 Thread ander...@phdgaming.com
Note: According to a Google Employee, using the Motorola Droid without service might cause problems. See individual message at: http://groups.google.com/group/android-discuss/msg/fb2066c22b44f5c9 or the thread at:

Re: [android-developers] Re: Please help me to choose Android Phones (For Android development)

2009-11-10 Thread SoftwareForMe.com SoftwareForMe.com
The ADP1 is a great phone, but essentially the same thing as a T-Mobile G1. We've done most of our development on these phones, and they're powerful, robust and reliable. But, as I said, it's unlikely they'll get Android 2.0, and they are HVGA. @Nightwolf: my understanding is that the Galaxy

[android-developers] Re: Please help me to choose Android Phones (For Android development)

2009-11-10 Thread Eric Wong (hdmp4.com)
I would say get at least one unit for each Android models out there? Since every unit seems to have slight variation of Android implementation and apk tested on one may not work on the other. Hope this spreadsheet would help

[android-developers] Re: Please help me to choose Android Phones (For Android development)

2009-11-10 Thread PJ
I can't agree more with Eric. Why get 20 phones that are all identical? Get some variety so that you write apps that work as expected for multiple devices. You can't put a price tag on quality. It's not worth saving $50 per phone if you end up writing an app that breaks on a particular device

[android-developers] Re: Please help me to choose Android Phones (For Android development)

2009-11-10 Thread Pankaj Godbole
I agree that quality is priceless. I know this first-hand from spending several years in testing and quality assurance. It might be possible for an institution to purchase 20 different phone models to test on. But how is an independent individual developer like me supposed to purchase so many

[android-developers] Re: Please help me to choose Android Phones (For Android development)

2009-11-10 Thread PJ
Pankaj, I'm in the same boat as you are: I'm an independent developer that doesn't have funding to buy 20 phones. The emulator comes with a lot of options, so that could be used to some extent to simulate different devices. You can simulate slower devices with -cpu-delay, set the resolution with

[android-developers] Re: Please help me to choose Android Phones (For Android development)

2009-11-09 Thread Nightwolf
What's wrong with Samsung Galaxy in terms of 3D? On 10 ноя, 08:17, SoftwareForMe.com SoftwareForMe.com softwareforme@gmail.com wrote: Personally, I find all Android phones to be excellent for development. However, here are some things I would consider before deciding. Let's consider

[android-developers] Re: Please help me to choose Android Phones (For Android development)

2009-11-09 Thread Patrick
There is one more thing to take in to account, are they just learning to develop or will they actually produce software that others can use? As it is now most Users have a HTC Magic or Hero which means for that something the runs on a new phone might not do as well for the general public also

[android-developers] Re: Please help me !

2009-09-21 Thread Smelly Eddie
please help me is a useless topic title. You are not going tom get valuable help this way. Please trya clear title that rel;ates to ty7our problem. and in the text describe what you ahve tried or read until this point, and why that may not be working. This is not a 'code my app' forum On Sep

[android-developers] Re: Please help me !

2009-09-21 Thread Eduardo Gonçalves
*Try this!* package org.apache.maps; import android.graphics.Canvas; import android.graphics.Paint; import com.google.android.maps.Overlay; import com.google.android.maps.Point; import com.google.googlenav.Placemark; import com.google.googlenav.Search; public class MyOverlay extends Overlay {

[android-developers] Re: Please help me !

2009-09-21 Thread Jason Proctor
we have this thing called Google now. a simple search led me to this article -- http://developer.android.com/guide/tutorials/views/hello-mapview.html -- which was enough for me to get Maps and Overlays going. hth I want to display a overlay in maps ( as Overlay of MyLocation - The circle

[android-developers] Re: please help me?

2009-07-01 Thread Dianne Hackborn
You can't. You need to have your UI displayed and in focus to receive input events. On Tue, Jun 30, 2009 at 11:06 PM, Dorj b.dor...@gogo.mn wrote: hello all, How to detect key event without activty in android? How to detect key event in broadcastReceiver in android? -- Dianne Hackborn

[android-developers] Re: please help me:

2009-06-09 Thread Mark Murphy
manoj wrote: Hi, I written a small app also to play youtube video as shown below startActivity(new Intent(Intent.ACTION_VIEW,Uri.parse(youtubeUrl))); I got an alert saying sorry, this video cannot be played. can any one please help me. Thanks, Manoj. On Jun 9, 5:11 pm, manoj

[android-developers] Re: please help me:

2009-06-09 Thread manoj
Hi Murphy, I used youtube application on device. It didn't work. for some urls youtube application is working. see my second mail, I written the code like you mentioned activating the youtube app. But it didn't work. can you please try on your device with the link which I provide in first mail.

[android-developers] Re: please help me:

2009-06-09 Thread manoj
Hi, I think some of you guys already might have experienced this kind of behaviour. and also some might solve this. can any one please help me. Thanks, Manoj. On Jun 9, 5:32 pm, manoj manojkumar.m...@gmail.com wrote: Hi Murphy, I used youtube application on device. It didn't work. for