Re: [android-developers] how to distribute a Library Project WITHOUT source code (as jar file) as some sort of SDK?

2012-01-26 Thread Klier Rainer
Am 26.01.2012 18:03, schrieb Mark Murphy: > On Thu, Jan 26, 2012 at 11:25 AM, Klier > Rainer wrote: >> ahh, do you mean like suggested here: >> http://blog.sofisoftware.com/post/2011/10/05/Android-Library-projects-and-Jars > >> > Considering that's referencing some of my early work on the subjec

Re: [android-developers] Re: AlarmManager does not fire?

2012-01-26 Thread Kostya Vasilyev
Ah, so your alarm receiver is an inner class within the activity? The name in the manifest is wrong then, and the receiver isn't found when the alarm fires. 27.01.2012 11:08 пользователь "Rudolf Polzer" написал: > "adb shell dumpsys alarm" tells the following about my alarm: > > irp.plan >1

[android-developers] Re: SQLiteDatabase.execSQL() not behaving as expected

2012-01-26 Thread Jonathan S
if it is slow, you can run it under loadermanager like CursorLoader that will run cursor query in background thread. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Android AVD simulator won't run Apps with XML Readers`

2012-01-26 Thread Jonathan S
java.lang. ClassNotFoundException: ca.mobicartel.BlogTOActivity It looking for a class but it is not found. -- 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 unsub

[android-developers] Re: AlarmManager does not fire?

2012-01-26 Thread Rudolf Polzer
"adb shell dumpsys alarm" tells the following about my alarm: irp.plan 17ms running, 1 wakeups 1 alarms: flg=0x4 cmp=irp.plan/.PlanActivity$OnAlarmReceiver which is not present after a call of am.cancel(pi); So I guess that the setting of the alarm works, but the broadcast message does n

Re: [android-developers] Re: NFC Secure Element

2012-01-26 Thread Fernando Miguélez
There must be an error with patches since other person had the same issue. Just copy it manually to the /system/lib directory of the phone (you have to remount the system partition as RW). 2012/1/27 malls > Dear Fernando > > I tried to patch as per your instructions and root the device. I get er

[android-developers] Re: Best way to distribute app outside of Market

2012-01-26 Thread Giuseppe
publish your apk to a public server. send the link via SMS to your user. all work well. -- 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 grou

[android-developers] how to achieve call-out in android

2012-01-26 Thread cindy
Hi All, In iphone's siri application, speech recognition result has been put into callout. How could android achieve the callout efffect? Thanks! cindy -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to

Re: [android-developers] Eclipse launch emulator error...

2012-01-26 Thread Omollo Ateng
You are working on which platform windows or linux? On Thu, Jan 26, 2012 at 10:53 PM, Greg Krimer wrote: > Try creating a new workspace. > On Jan 26, 2012 10:06 AM, "stringa" wrote: > >> Hello. There was a time where I tried to setup an emulator launch >> option in Eclipse, since then, I have

[android-developers] Unfortunately the activity has stopped

2012-01-26 Thread newtoandroid
i tried a simple login page which gets the gps location if the login condition is satisfied,while running it shows ünfortunately,the activity has stopped "with an ok button. i have created the avd with gps support supporting android 4 with google Inc and even set the gps manually in ddms perspectiv

[android-developers] Re: how to filt image into image button.

2012-01-26 Thread aparna rani
String myFileUrl =new URL(" http://i778.photobucket.com/albums/yy65/amyjayne10/Flowers/6d2b25051.gif";); try { HttpURLConnection conn= (HttpURLConnection)myFileUrl.openConnection(); conn.setDoInput(true); conn.connect(); int length = conn.getContentLength(); int[] bitmapData =new int[length]; byte

[android-developers] how to filt image into image button.

2012-01-26 Thread aparna rani
hiii all i am implementing image button in android. problem is my image button area is small but my image is larger than the screen. i am taking image from URL. I know only one method resize image and fit into the image button. Is there any other solution for thisplease help me thanks in

[android-developers] How to check SNS(twitter,Google+,google talk) functionality in Android4.0(ICS)

2012-01-26 Thread rakesh kumar
Hi, can Anyone tell me how we can check SNS(twitter,Google+,google talk) functionality in Android4.0(ICS). I am using the emulator. I have done the following steps to add the account Settings > Accounts and Sync->Email and provide the user Credentials. but when I ha

Re: [android-developers] Best way to distribute app outside of Market

2012-01-26 Thread Greg Donald
On Thu, Jan 26, 2012 at 1:03 PM, RLScott wrote: > 1. Send an e-mail with the APK file attached.  User taps on the > attachment and app installs. That method only works for me if the recipient is using the Gmail app. The other mail readers on Android don't seem to know what an apk file is. An ev

[android-developers] Dynamically populating LinearLayout in an AppWidget

2012-01-26 Thread TreKing
Folks, I'm getting my feet wet on app widgets so I'm probably missing something obvious, but I've hit a snag that's got me stumped. Basically, I cannot seem to dynamically add more than one instance of the same layout to a LinearLayout living in a RemoteViews object. Only the * first* item gets ad

[android-developers] Re: Android AVD simulator won't run Apps with XML Readers`

2012-01-26 Thread Wenshan
something like -- 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.co

[android-developers] Re: Android AVD simulator won't run Apps with XML Readers`

2012-01-26 Thread Wenshan
Have you declared "BlogTOActivity" in your AndroidManifest.xml ? -- 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

Re: [android-developers] Setting screen on/off

2012-01-26 Thread Rick Alther
I'm running into the exact same problem. Is the the answer still the same at this time - no support for it in the SDK? What about an NDK solution? Thanks, - Rick Alther -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

[android-developers] ViewPager MotionEvent changes between onInterceptTouchEvent and onTouchEvent

2012-01-26 Thread harvinder
Setup: I am using a custom ViewGroup withing ViewPager(horizontal scroll) . custom viewgroup provides vertical scrolling and has implemented OnGestureListener with the help of GestureDetector. I am using android.support.v4.view (revision 6) with android 4.03 +ViewPager (horizontal scrolling)

[android-developers] Changing contact photo problem

2012-01-26 Thread shmulik-sharon
i'm trying to change contact's photo by using this code: public void setContactPhoto(byte[] bytes, long personId) { ContentValues values = new ContentValues(); int photoRow = -1; String where = ContactsContract.Data.RAW_CONTACT_ID + " = "

[android-developers] Re: Still unclear -- subscriptio model using paypal

2012-01-26 Thread MB
In-app Billing in Android market does not support automatically renewing subscriptions. Users would have to re-purchase your in app items at the end of your billing cycle. My understanding is that publications as big as NYT use their own subscription payment/authorization system. This help them

[android-developers] can't open keycharmap file

2012-01-26 Thread kiros88
Can't open keycharmap file Error loading keycharmap file '/system/usr/keychars/qtouch- touchscreen.kcm.bin'. Using default keymap: /system/usr/keychars/qwerty.kcm.bin What does this error Mean exactly. -- You received this message because you are subscribed to the Google Groups "Android

[android-developers] Re: SQLiteDatabase.execSQL() not behaving as expected

2012-01-26 Thread John
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 wrote: > SQlite supports FTS3 and FTS4 (full text searching).  I've seen > documentati

[android-developers] Re: SQLiteDatabase.execSQL() not behaving as expected

2012-01-26 Thread John
It's because of the use of the TEMPORARY TABLE clause I think. # MATCH clause variance http://www.sqlite.org/fts3.html # iOS sqlite support http://stackoverflow.com/questions/3142575/iphone-ios-2-0-to-ios-4-0-sqlite-compatibility # Android sqlite support http://stackoverflow.com/questions/242118

[android-developers] AndroidManifest xml not exported

2012-01-26 Thread Subanand Thiruppathirajan
I'm using Eclipse with ADT 16. For some reason, when I Export the Signed Androind Application, the Android Manifest file is missing. Also the APK file is not in standard format. Let me know if any one had similar problems and how to resolve it. This is stopping me uploading new application. Regar

Re: [android-developers] Re: how to distribute a Library Project WITHOUT source code (as jar file) as some sort of SDK?

2012-01-26 Thread Mark Murphy
On Thu, Jan 26, 2012 at 5:25 PM, joebowbeer wrote: > Mark Murphy writes: > >> You have to rewrite your [library] code to avoid using R. values, as they >> will be wrong. > > The resource compiler was changed in r14 so that the identifiers in a > library project's R.java are no longer declared "fi

Re: [android-developers] Still unclear -- subscriptio model using paypal

2012-01-26 Thread Roberts, Miriam
Well, I just emailed the developers of the NYT Android app to try to get an answer -- I'm wondering if they'll respond. We need to release an app with a subscription model that doesn't violate the Android TOS. When we developed our iphone app, we had no problem with understanding their terms of ser

[android-developers] Re: how to distribute a Library Project WITHOUT source code (as jar file) as some sort of SDK?

2012-01-26 Thread joebowbeer
Mark Murphy writes: > You have to rewrite your [library] code to avoid using R. values, as they > will be wrong. The resource compiler was changed in r14 so that the identifiers in a library project's R.java are no longer declared "final". This prevents the constants from being inlined into libr

Re: [android-developers] GridView application keeps crashing

2012-01-26 Thread TreKing
On Thu, Jan 26, 2012 at 9:37 AM, Sudheer wrote: > Any idea what is causing the problem? Did you read the stack trace you posted? 01-26 19:50:45.820: E/AndroidRuntime(963): *java.lang.NullPointerException* * * Something is null. Make it not null. ---

Re: [android-developers] Creating an application to edit photos

2012-01-26 Thread TreKing
On Tue, Jan 24, 2012 at 11:52 PM, Soorie wrote: > I request you all to please provide answers for above queries as I > am stuck at this start level :( > If you don't get a response, I would suggest you back up and try something a little more reasonable for your experience level. Practice, learn,

Re: [android-developers] Android AVD simulator won't run Apps with XML Readers`

2012-01-26 Thread TreKing
On Tue, Jan 24, 2012 at 5:59 PM, duadinam wrote: > If anybody has any ideas about what I should do to fix this, I > would really appreciate your help. > Read the stack trace, find the "Caused by..." line, and fix the problem it reports. ---

Re: [android-developers] Help please. nand renamed sdcard

2012-01-26 Thread Kristopher Micinski
This is a question that seems to have been translated using an online translation service... OP, you should try to phrase your question in better English.. kris On Thu, Jan 26, 2012 at 3:42 PM, TreKing wrote: > On Wed, Jan 25, 2012 at 5:03 PM, pers348 pers348 wrote: >> >> I have a problem afte

Re: [android-developers] Re: system/bin/dalvikvm command/

2012-01-26 Thread nir apple
i am sorry for the inconvenience, i didn't know that this is the forum focus Nir 2012/1/25 Mark Murphy > On Wed, Jan 25, 2012 at 4:09 PM, nir apple wrote: > > in general i want to open a new process, not forked from the zygote > > process... > > do you know of way to do this? > > This has noth

Re: [android-developers] Questions about Permission

2012-01-26 Thread Kristopher Micinski
On Thu, Jan 26, 2012 at 4:25 PM, TreKing wrote: > On Tue, Jan 24, 2012 at 7:20 PM, john an wrote: >> >> My ultimate purpose is to recognize operating functions and features in >> the phone by only checking permission list when appls are using. > > > That doesn't really make sense. Just because an

Re: [android-developers] Questions about Permission

2012-01-26 Thread TreKing
On Tue, Jan 24, 2012 at 7:20 PM, john an wrote: > My ultimate purpose is to recognize operating functions and features in > the phone by only checking permission list when appls are using. > That doesn't really make sense. Just because an app have a given permission in no way implies what it's a

Re: [android-developers] android help

2012-01-26 Thread TreKing
On Wed, Jan 25, 2012 at 2:04 PM, ajay talreja wrote: > please help ..how to distinguish between single click and long > pressed events via coding. > http://developer.android.com/reference/android/view/package-summary.html -

Re: [android-developers] Still unclear -- subscriptio model using paypal

2012-01-26 Thread TreKing
On Tue, Jan 24, 2012 at 10:23 AM, Miriam Raphael Roberts < mrobe...@miamiherald.com> wrote: > I have looked at numerous posts and there is still some ambiguity.-- > Yup. > Is it possible to have a subscription model using either Paypal or the > in-app billing model? > If we use in-app billing,

Re: [android-developers] Hi

2012-01-26 Thread TreKing
On Tue, Jan 24, 2012 at 3:27 AM, siri wrote: > Dear all i started to learn android plz guide me http://www.googleguide.com/about/ http://developer.android.com/index.html http://www.catb.org/~esr/faqs/smart-questions.html Also, the word is spelled "please".

Re: [android-developers] Re: AlarmManager does not fire?

2012-01-26 Thread Kostya Vasilyev
Use "adb shell dumpsys alarm" to check the system's list of pending alarms and find out if the alarm was set in the first place. It also seems a little weird to me that you're not using a broadcast action and a matching in the receiver. Maybe that's not the issue, but I'm not sure a broadcast wi

[android-developers] Re: AlarmManager does not fire?

2012-01-26 Thread Rudolf Polzer
I have replaced every c by this.getApplicationContext(). The setting of the alarm is executed, I checked this with the debugger. LogCat says nothing about alarms or broadcast messages during the time of interest and LogCat also displays no warnings. So what is wrong? -- You received this message

[android-developers] Re: NfcAdapter.enableForegroundNdefPush(Activity, NdefMessage message) and Serial Number

2012-01-26 Thread Michael Roland
Hallo, > When sharing a virtual tag using the enableForegroundNdefPush of an > NfcAdapter instance object, i try to read the so-shared ndef message > with my desktop reader (ID ISC CPR 40.30 USB). > > Well, it won't work. Correct. Foreground NDEF push & Android Beam don't use "tags" to exchange d

Re: [android-developers] setting radio button text by xml tag contents

2012-01-26 Thread TreKing
On Tue, Jan 24, 2012 at 12:26 AM, mayur wrote: > how to set the text of radio button by xml tag exactly > Read the docs for RadioButton. - TreKing

Re: [android-developers] Help please. nand renamed sdcard

2012-01-26 Thread TreKing
On Wed, Jan 25, 2012 at 5:03 PM, pers348 pers348 wrote: > I have a problem after climbing into androide 2.3. I renamed nand in > sdcard how is this possible? Can you help me get her back > I have no idea how you "climbed into androide 2.3", what "androide" is, who "nand" is, or why you need "her

Re: [android-developers] getting started

2012-01-26 Thread Todd Grigsby
On Jan 26, 2012 10:05 AM, "Android Developer" wrote: > > when did you guys get started working on android and why did you > start? I got started out of curiosity and a desire to try something new. I've been coding for twenty years - it wasn't a big leap. Is it possible to be a serious Android d

Re: [android-developers] Best way to distribute app outside of Market

2012-01-26 Thread TreKing
On Thu, Jan 26, 2012 at 1:03 PM, RLScott wrote: > But it seems that there is a wide variety of browsers and e-mail clients > in the various Android devices (phones and tablets). I find it difficult > to give my customers instructions that are specific enough to do them any > good, but still gene

[android-developers] Pause and Resume in Audio recording

2012-01-26 Thread Raneez
Is there any way to pause and resume audio recording in android? I used MediaRecorder for recording amr and AudioRecord for wav, now i want to pause and insert a new audio after pausing and continue the recorded audio after resume. -- You received this message because you are subscribed to the G

[android-developers] Re: SQLiteDatabase.execSQL() not behaving as expected

2012-01-26 Thread Robert Hawkey
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

Re: [android-developers] Read XML file in android application

2012-01-26 Thread TreKing
On Thu, Jan 26, 2012 at 1:24 PM, Mai Al-Ammar wrote: > I'm a beginner in Android. http://developer.android.com/guide/topics/data/data-storage.html Then keep reading. A lot. - TreKing

Re: [android-developers] Read XML file in android application

2012-01-26 Thread Mai Al-Ammar
I deal with java and c++ previously :) but I'm a newer just in an Android. I put the test.xml file in the res/xml directory and I clean the project and it will be added in R.java but the result is the same :( Please help me On Thu, Jan 26, 2012 at 10:53 PM, Kristopher Micinski < krismicin...@gmai

Re: [android-developers] Eclipse launch emulator error...

2012-01-26 Thread Greg Krimer
Try creating a new workspace. On Jan 26, 2012 10:06 AM, "stringa" wrote: > Hello. There was a time where I tried to setup an emulator launch > option in Eclipse, since then, I have removed the string. I keep > getting the following error. I've reinstalled the SDK, I've deleted > and re-created

Re: [android-developers] Read XML file in android application

2012-01-26 Thread Kristopher Micinski
You are trying to read the file: new File("C:\\Users\\Mai\\workspace\\Test\\res\\xml\test.xml") But the file ("C:\\Users\\Mai\\workspace\\Test\\res\\xml\test.xml" does *not* exist when you run the code! You can't open a file which does't exist. Your question suggests you are extremely new to pr

Re: [android-developers] Re: Encoder???

2012-01-26 Thread skink
step #1: see normal .3gp (written by your MediaRecorder) file header, for instance: # hexdump -C normal_file.3gp | less 001c66747970 336770340300 |ftyp3gp4| 0010 336770346d703431 336770360007a42f |3gp4mp413gp6.../| 0020 6d6461743c911716 be6679e1e001e7af |mdat<

Re: [android-developers] Read XML file in android application

2012-01-26 Thread Mai Al-Ammar
Thanks Marks, but I did not understand your response since I'm a beginner in Android. On Thu, Jan 26, 2012 at 10:20 PM, Mark Murphy wrote: > Your Android device does not have a C: drive. > > On Thu, Jan 26, 2012 at 2:14 PM, Mai Al-Ammar > wrote: > > Thank you very much for your responding. > > >

[android-developers] Re: Gallery Intent to pick image --- Picasa-based images are invalid (Android 4.0+)

2012-01-26 Thread Mark Andrachek, Jr.
That workaround doesn't work for me. When I try getContentResolver().getInputStream(imageUri) on the picasa URI's, I get (the picasa item id has been removed, FYI): 01-26 13:37:11.660: E/com.getpicture.MainActivity(9007): java.io.FileNotFoundException: No content provider: content://com.android.

Re: [android-developers] Delayed modification of ListView row causing a rebuild of the entire list when scrolling

2012-01-26 Thread mattcoz
Well I figured out a workaround. It seems that this was occurring in onMeasure when it was measuring the children of the list. I subclassed ListView with an override, forcing the MeasureSpec to EXACTLY so it doesn't attempt to measure the children. Now it only calls getView for the new row a

Re: [android-developers] Read XML file in android application

2012-01-26 Thread Mark Murphy
Your Android device does not have a C: drive. On Thu, Jan 26, 2012 at 2:14 PM, Mai Al-Ammar wrote: > Thank you very much for your responding. > > This is one way which I tried with it but it did not return a result and not > throw an exception : > > try { > >             DocumentBuilderFactory do

Re: [android-developers] Read XML file in android application

2012-01-26 Thread Mai Al-Ammar
Thank you very much for your responding. This is one way which I tried with it but it did not return a result and not throw an exception : try { DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = docBuilderFactor

Re: [android-developers] creating and reading files

2012-01-26 Thread TreKing
On Tue, Jan 24, 2012 at 4:25 PM, agostino aless wrote: > can enyone say me why my snippet locks on File.createNewFile(); > It "locks" ? > General.getPath(); is a static method that returns "listaBigliettini.txt". > That's not going to work. http://developer.android.com/guide/topics/data/data-s

[android-developers] Best way to distribute app outside of Market

2012-01-26 Thread RLScott
I have an app that I am planning on distributing outside the Market. So far I have found two ways to do it: 1. Send an e-mail with the APK file attached. User taps on the attachment and app installs. 2. User browses my website where he can download the APK file. Then in the browser, use Menu to

Re: [android-developers] Read XML file in android application

2012-01-26 Thread TreKing
On Wed, Jan 25, 2012 at 12:05 PM, Mai Al-Ammar wrote: > the R.java which is generated automatically did not refresh itself and put > xml folder as for other folders. Refresh or clean your project. -

Re: [android-developers] Re: Hardware accleration slow down every Canvas app. Why?

2012-01-26 Thread Kristopher Micinski
On Wed, Jan 25, 2012 at 4:44 PM, Tobias wrote: > Would it be possible to have the framework batch rendering operations > automatically by using some kind of retained mode rendering, to make > life easier for developers? > > /Tobias > This would be making a choice that would change the semantics e

Re: [android-developers] Re: javax.management

2012-01-26 Thread Kristopher Micinski
On Wed, Jan 25, 2012 at 8:53 AM, jb wrote: > I guess I found a simple solution: > > Implementing a subclass of android.app.Application and reacting > on public void onTrimMemory (int level). From the documentation: > >     "Called when the operating system has determined that it >      is a good t

Re: [android-developers] Adding new language support

2012-01-26 Thread Mark Murphy
This list is for developing applications with the Android SDK. You cannot add a language to a device via the Android SDK. You have to create custom firmware that contains the language support and apply that firmware to your device. To learn how to create custom firmware, visit http://source.androi

Re: [android-developers] SQLiteDatabase.execSQL() not behaving as expected

2012-01-26 Thread Mark Murphy
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 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

Re: [android-developers] External Data Storage

2012-01-26 Thread Mark Murphy
On Tue, Jan 24, 2012 at 5:40 AM, Punam Mahajan wrote: > -How to create directory within directory on external storage? like > directory MyFile in that different types of directory like > songs,pictures,etc Use Java file I/O: http://exampledepot.com/egs/java.io/CreateDir.html > -can I see It on

Re: [android-developers] How to change the behaviour of an activity at runtime?

2012-01-26 Thread Mark Murphy
On Wed, Jan 25, 2012 at 1:41 AM, david wang wrote: >  I need to start a target activity at runtime, and disable some > buttons (such as "BACK" and "HOME" button) for it, these button are > enabled by default in the implementation of the target activity. You cannot disable the HOME button. >  Sin

Re: [android-developers] AlarmManager does not fire?

2012-01-26 Thread Mark Murphy
Nothing leaps out at me as being wrong, other than getApplicationContext() (just use this instead of c). But that should not cause a problem. Make sure that this section of code is being executed, and make sure there are no warnings of note in LogCat. On Thu, Jan 26, 2012 at 3:50 AM, Rudolf Polzer

Re: [android-developers] How to pass information to motoprint.

2012-01-26 Thread Mark Murphy
For questions about MOTOPRINT, you are probably better served with the MOTODEV support boards: http://community.developer.motorola.com/ On Wed, Jan 25, 2012 at 11:13 PM, Matt Glover wrote: > I am very new to coding for android. My senior project is a new > android app and I am having an issue wi

Re: [android-developers] SDK for FM radio

2012-01-26 Thread Mark Murphy
No, sorry, there is no support for FM radio in the Android SDK. Not all Android phones have FM radio tuners. Manufacturers who do offer a tuner might have their own SDK add-ons for FM radio control, but you would have to check with them. On Thu, Jan 26, 2012 at 3:27 AM, LazyDeveloper wrote: > I a

Re: [android-developers] My First android programming

2012-01-26 Thread Mark Murphy
http://developer.android.com/guide/developing/device.html On Thu, Jan 26, 2012 at 8:44 AM, Sahar Harati wrote: > Hi! > > I'm new in android programming. > I've developed a program that works perfectly on android emulator but > I don't know how can I install it on my android device. > > thank you

[android-developers] Help please. nand renamed sdcard

2012-01-26 Thread pers348 pers348
I have a problem after climbing into androide 2.3. I renamed nand in sdcard how is this possible? Can you help me get her back. -- 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@googlegr

[android-developers] getting started

2012-01-26 Thread Android Developer
when did you guys get started working on android and why did you start? Is it possible to be a serious Android developer and also hold another non-related 9-5 job? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] HorizontalScrollView with Scrolbar

2012-01-26 Thread chimouch
i have a horizontalscrollview but i want disable the scrolling when touching on items, and the scroll will be done only by the scrolbar,because i would like to use a multiselection. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] GridView application keeps crashing

2012-01-26 Thread Sudheer
Hi, I am new to android, my application keeps crashing with the following errors. I am using API Level 15. `01-26 19:50:45.820: E/AndroidRuntime(963): FATAL EXCEPTION: main 01-26 19:50:45.820: E/AndroidRuntime(963): java.lang.NullPointerException 01-26 19:50:45.820: E/AndroidRuntime(963): at

[android-developers] NfcAdapter.enableForegroundNdefPush(Activity, NdefMessage message) and Serial Number

2012-01-26 Thread snoopy
Hello! When sharing a virtual tag using the enableForegroundNdefPush of an NfcAdapter instance object, i try to read the so-shared ndef message with my desktop reader (ID ISC CPR 40.30 USB). Well, it won't work. As I got by debugging, my reader works in addressed mode. That is, I first run the i

[android-developers] AutoCompleteTextView suggestions select take user to the interface.

2012-01-26 Thread Kenneth Lor
So say i am tring to use the AutoCompleteTextView suggestions to be able to bring user to the .xml i have created. If you cant understand please have a look here http://stackoverflow.com/questions/8997684/autocompletetextview-or-searchdialog Here are my codes, i marked errors in comment // impor

[android-developers] USB communication on Samsung Galaxy y with Android 2.3.5

2012-01-26 Thread Muhammad Ghandour
I'm Developing an Android app to communicate with a USB peripheral, The App is designed for a non-commercial purpose so it is gonna run only on a Samsung Galaxy young with Android 2.3.5. After a bit of searching i used the Google APIs add-on library com.android.future.usb i went through the tut

[android-developers] My First android programming

2012-01-26 Thread Sahar Harati
Hi! I'm new in android programming. I've developed a program that works perfectly on android emulator but I don't know how can I install it on my android device. thank you in advanced :) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Eclipse launch emulator error...

2012-01-26 Thread stringa
Hello. There was a time where I tried to setup an emulator launch option in Eclipse, since then, I have removed the string. I keep getting the following error. I've reinstalled the SDK, I've deleted and re-created the project from my SVN sources and I keep getting this error in Eclipse. [2012-0

[android-developers] Connect Android 2.3.4 Tablet to SMART Board interactive whiteboard

2012-01-26 Thread bitxin
Hello to everybody: I'm trying to connect my Android 2.3.4 Tablet to a SMART Board interactive whiteboard (SMART Technologies/www.smarttech.com) through an USB OTG cable. I just want to turn the SMART Board interactive whiteboard into my Tablet's desktop and manage everything as if it were my tab

[android-developers] ICS 4.0.3 SimpleJNI apk does not contain classes.dex

2012-01-26 Thread pk_android
Hi, I have downloaded ICS 4.0.3. source from repo and built SDK in ubuntu 10.04 (64 bit). I built SimpleJNI apk from development/samples. When i try to install SimpleJNI.apk into emulator it does not install because apk does not contain classes.dex But if i build in gingerbread SDK ( source downl

[android-developers] NDEF_DISCOVERED intent-filter in ICS

2012-01-26 Thread bcntouchkk
Hi there, I've discovered a strange behaviour in Android Ice Cream Sandwich. Previously a discovery of an NFC tag containing URL was passing through the intent-filter and showing possible applications for handling this content. In ICS 4.0.3 URI's are handled directly in the browser and intent- fil

[android-developers] SDK for FM radio

2012-01-26 Thread LazyDeveloper
I am interested in building a FM radio app. Does Android SDK provides any related API? -- 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] How to pass information to motoprint.

2012-01-26 Thread Matt Glover
I am very new to coding for android. My senior project is a new android app and I am having an issue with part of the functionality. In its most basic form, I need to pass a sqllite "New Entry" to a wireless motoprint printer. A little deeper: I will be updating a database in the application. Ever

[android-developers] AlarmManager does not fire?

2012-01-26 Thread Rudolf Polzer
Please give me a hint why the AlarmManager does not fire. In my app, the AlarmManager is set after a user action: Context c = this.getApplicationContext(); AlarmManager am = (AlarmManager)c.getSystemService(Context.ALARM_SERVICE); Intent i = new Intent(c, OnAlarmReceiver.class); Pendin

[android-developers] Installation Troubleshooting SDK Manager inside Eclipse

2012-01-26 Thread DragonPaul
Hi all, thanks for this forum- it's great to see so many people helping each other out. I am installing several platforms (4.0.3, 2.3, and 2.2) and am running into trouble when downloading certain components within Eclipse's SDK mgr. Mainly, when downloading and installing 'Dual-screen APIs by KYOC

[android-developers] How to set a keylayout file?

2012-01-26 Thread Kathrin-J.
Hi, I'm using the DDMS for debugging my application. Each time I press a button a warning is thrown: *No keyboard for id 0 Using default keymap: /system/usr/keychars/qwerty.kcm.bin* I found commands to set the keychar and keylaout to a specific file, but it does not work :( I'm typing this co

[android-developers] Creating an application to edit photos

2012-01-26 Thread Soorie
Hi All, I want to create an application where I can edit user's photos. Editing here will involve many options like painting eye brows, changing face color, applying lipstick of different colors in lips, applying eye liner, changing hair style etc. I have tried to search for android APIs to do th

[android-developers] Questions about Permission

2012-01-26 Thread john an
I am unfamilier with android and programming. I want to know about what each permission implies. I already found out the descriptions of them on the website of android developer, but it is really difficult for me to understand unfamiliar and expert words exactly. My ultimate purpose is to recognize

[android-developers] unabke to browse site in urdu

2012-01-26 Thread Rizwan Arif
Hi m unable to browse following website on galaxy s2. It opens bt body is blank . its www.express.com.pk -- 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

[android-developers] Read XML file in android application

2012-01-26 Thread Mai Al-Ammar
Hello every one, Could you please help me with a way to read an XML file in android application, I use Android SDK with eclipse and I tried number of ways but unfortunately I did not obtain any result. Almost all ways said put the xml file under the directory res/xml/ , but when I put it and refer

[android-developers] Re: Hardware accleration slow down every Canvas app. Why?

2012-01-26 Thread Tobias
Would it be possible to have the framework batch rendering operations automatically by using some kind of retained mode rendering, to make life easier for developers? /Tobias On 17 Jan, 00:47, Romain Guy wrote: > > I Romain I really appreciate your effort to help me, really thanks for > > this >

[android-developers] Re: Gallery Intent to pick image --- Picasa-based images are invalid (Android 4.0+)

2012-01-26 Thread Anton
Workaround is described here: http://jimmi1977.blogspot.com/2012/01/android-api-quirks-getting-image-from.html -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To u

[android-developers] android help

2012-01-26 Thread ajay talreja
hii i'm an beginner in android... My problem in android... i want to send sms from a numeric touch pad via programming.. i m not able to find how to put up the code for numeric pad.i did google many times but im unable to find the same.the application should work same as speed dia

[android-developers] Re: Gallery Intent to pick image --- Picasa-based images are invalid (Android 4.0+)

2012-01-26 Thread Anton
Workaround is here: http://jimmi1977.blogspot.com/2012/01/android-api-quirks-getting-image-from.html On Jan 8, 7:57 pm, John wrote: > I can confirm having this same bug only with picasa images on > Honeycomb and ICS. > > Code: > > file = new File(getPath(intent.getData())); > > java.lang.Runtime

[android-developers] creating and reading files

2012-01-26 Thread agostino aless
File file = new File(General.getPath()); if(!file.exists()) { file.createNewFile(); } System.out.println("path del file: " + file.

[android-developers] GPS multipath errors filtering?

2012-01-26 Thread Dmitry Zhadan
Hello! I'm develop an application which uses GPS to periodically determine user location. The problem is that when the user is stationary, the successive locations comes with a large "jumps" in latitude and longitude (up to 100 meters). Is there any way to filter out these "jumps" (also known as "

[android-developers] Fragments with custom list adapter causing crash on inflate view

2012-01-26 Thread Ste
I am attempting to convert one of my apps to use Fragments to improve how the app looks and works on ICS / Honeycomb but I've come across a problem which although I've spent many hours Googleing and reading answers on here I can't seem to find a fix for. I have a custom list adapter which is used

[android-developers] sending mms

2012-01-26 Thread Norman Rosano
dear friends, looking for help.. earlier i'm sending mms and i did it.. but this few day i'll try to send another mms.. and nothing happened.. until this time the message still sending.. i send this message last Jan 20 What happened?! my unit is samsung Y.. what should i do for this.. thanks an

[android-developers] How to set a keylayout file?

2012-01-26 Thread Kathrin-J.
Hi, I'm using the DDMS for debugging my application. Each time I press a button a warning is thrown: No keyboard for id 0 Using default keymap: /system/usr/keychars/qwerty.kcm.bin I found commands to set the keychar and keylayout to a specific file, but it does not work :( I'm typing this comman

  1   2   >