[android-developers] Re: APK that is not zip aligned

2016-06-22 Thread Jonathan S
Known Issue. On Tuesday, June 21, 2016 at 11:25:57 PM UTC-4, Pasan Eramusugoda wrote: > > Hi All, > > I'm facing an issue as mention in subject (more on attached image). I have > tried to manually zipalign but failed. > Plz help me out on this. > > Note: There are two apk which having the same

[android-developers] Re: Linking SDK Manager to Android Studio

2016-05-21 Thread Jonathan S
I don't see anything on the Android SDK Locations textbox. On Saturday, May 21, 2016 at 6:48:15 AM UTC-4, Karthik wrote: > > This is the error I get > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and

[android-developers] Re: Need Eclipse Support for development

2016-04-21 Thread Jonathan S
Eclipse support is obsolete. On Thursday, April 21, 2016 at 9:02:53 AM UTC-4, TCY Team wrote: > > Hi Team > > I have an old project which was made in eclipse. Now I want to execute it > on Eclipse but it is not showing me support due to support libraries. > Kindly help me out with the same

[android-developers] Re: WebView Slow Page Load

2015-12-21 Thread Jonathan S
Are you going to just view web page or modified a page content? On Monday, December 21, 2015 at 2:09:28 AM UTC-5, Parimal Muli wrote: > > Hi, > I am using a webview in my app. The problem is that it takes a lot of time > (10-25 > secs) for the sites to render in the webview. Can you please

[android-developers] Re: Google licensing service on a Phonegap Build application

2015-12-11 Thread Jonathan S
https://build.phonegap.com/plugins/920 On Friday, December 11, 2015 at 6:45:47 AM UTC-5, isa.a...@gmail.com wrote: > > Hello, > could anyone tell me if Google licensing service can be used on an > application built on the Phonegap Build website. As a member with a Google > developer's account,

[android-developers] Re: Missing Tools SDK

2015-11-30 Thread Jonathan S
Sorry, it is Gradle instead "Grundle." AS needs to point the correct SDK directory to order it to work. it looks like Platform-tools is missing. Recheck SDK Manager. On Monday, November 30, 2015 at 3:46:58 PM UTC-5, Kimberly Crawley wrote: > > I would really appreciate anyone with experience

[android-developers] Re: Intel Virtualization Technology (Intel VT).

2015-11-30 Thread Jonathan S
Did you run that HAXM Installer? On Monday, November 30, 2015 at 3:46:58 PM UTC-5, דוד ברקת wrote: > > היי חברים. > אני מתכנת זקן אבל חדש לאנדרואיד. > > >

[android-developers] Re: internet permissions in Android M app

2015-06-08 Thread Jonathan S
If you compiled against Android M, Internet will be automatically added. On Monday, June 8, 2015 at 8:03:36 PM UTC-4, just a dev wrote: Regarding the recent announcement on Google I/O about Android M and its new permission model, can anyone clarify if every app has INTERNET permission or

[android-developers] Re: Intel HAXM and windows 8.1

2015-06-06 Thread Jonathan S
it was Microsoft puts that restriction in. You would have to use Windows 8.1 Pro Pack upgrade. On Saturday, June 6, 2015 at 12:00:49 PM UTC-4, Ricardo Santos wrote: Ok, thanks! Is it a restriction from 8.1? I think Windows 8 allowed it! Em sábado, 6 de junho de 2015, Michael Banzon

[android-developers] Re: net.simonvt.menudrawer:menudrawer stopped working in Android Studio

2015-05-22 Thread Jonathan S
Try compile 'net.simonvt.menudrawer:menudrawer:3.0.6' + can leads to problems On Friday, May 22, 2015 at 6:51:20 AM UTC-4, Abhinav wrote: To whomsoever it may concern at: Android Studio, Dear Sir, Ma'am This library: 'net.simonvt.menudrawer:menudrawer:3.0.+@aar' has stopped working

[android-developers] Re: Getting FileNotFound exception when URL is valid

2015-03-15 Thread Jonathan S
it is looking for files in the assets directory over ContentResolver.openAssetFileDescriptor. You should have to use http://developer.android.com/reference/android/media/MediaPlayer.html#setDataSource%28java.lang.String%29 you would need prepareAsync too On Sunday, March 15, 2015 at 8:35:57

[android-developers] Re: INSTALL_FAILED_DUPLICATE_PERMISSION

2015-02-20 Thread Jonathan S
uses-permission and permission have to be unique On Wednesday, February 18, 2015 at 10:27:03 AM UTC-5, marten wrote: Hi all, we've some problems with Android 5. There seems to be a new policy that requires two apps that define the same permissions to be signed by the same key. Otherwise

[android-developers] Re: Library Project No Class Def Error (Eclipse)

2015-01-26 Thread Jonathan S
Okay, you supposed to get this error if this class is not FOUND by runtime. Check your dependency for that library. On Monday, January 26, 2015 at 10:25:21 AM UTC-5, pdm-tex wrote: Jonathan S: com.dsi.client.lib.UniMagII is class that manages interaction with a Mag Stripe Reader

[android-developers] Re: Library Project No Class Def Error (Eclipse)

2015-01-23 Thread Jonathan S
What is com.dsi.client.lib.UniMagII for? On Friday, January 23, 2015 at 3:13:30 PM UTC-5, pdm-tex wrote: I have an Android library project that is giving me a problem. To test it I have a client application. If I add the library project in the Android settings my client application runs

[android-developers] Re: How to disable certain dex warning in Gradle

2014-11-26 Thread Jonathan S
Apache Commons dependency using Java 6 format. You compiled it under Java 7. On Wednesday, November 26, 2014 4:48:16 AM UTC-5, Leith Bade wrote: I have a bunch of dex warning generated by an Apache Commons dependency like this: warning: Ignoring InnerClasses attribute for an anonymous inner

[android-developers] Re: Getting Unsupported major.minor version 51.0 in eclipse w/ lollipop

2014-11-24 Thread Jonathan S
JRE = Java Runtime Enviorment JDK = Java Development Kit I think you need to get the latest version of JDK 7 On Monday, November 24, 2014 12:35:34 PM UTC-5, dashman wrote: I think the problem is the JRE. Which one do I need. -- You received this message because you are subscribed to the

[android-developers] Re: finish() does not dismiss AlertDialogs

2014-09-30 Thread Jonathan S
http://stackoverflow.com/questions/14853325/how-to-dismiss-alertdialog-in-android On Tuesday, September 30, 2014 6:21:46 AM UTC-4, pedr0 wrote: Hi all, I am developing an activity which generate an AlertDialog and attach to it an onClickListener which calls the finish() method, I am

[android-developers] Re: Absolutely stumped. libcore.io.ErrnoException

2014-09-28 Thread Jonathan S
This one keep repeating WVMExtractor﹕ Failed to open libwvm.so On Sunday, September 28, 2014 11:05:43 PM UTC-4, Qoheleth wrote: Everytime I start the debugger, before my app even starts or installs, the debugger stops on an exception: libcore.io.ErrnoException. I have no idea what this

[android-developers] Re: Speed up webview

2014-09-18 Thread Jonathan S
Why you are testing on Android Honeycomb? On Wednesday, September 17, 2014 8:00:01 AM UTC-4, rahul kaushik wrote: How can i speed up my webview am using android version 3.0 i have tried android:hardwareAccelerated=true webview.getSettings().setRenderPriority(RenderPriority.HIGH);

[android-developers] Re: Tracking down multiple Activity instances in memory

2014-09-15 Thread Jonathan S
Anonymous Inner Class has a strong reference of class itself. You may have to pass Context into it. On Wednesday, September 10, 2014 12:00:36 AM UTC-4, Nathan wrote: I'm fairly sure I have been able to use the eclipse tools before to track down memory leaks - I even found one in Google

[android-developers] Re: DefaultHttpClient / AndroidHttpClient - Multiple Cookie Headers

2014-08-09 Thread Jonathan S
I see you add two Cookie Headers. On Saturday, August 9, 2014 3:08:32 PM UTC-4, Gaurav Vaish wrote: Hi, I noticed that DefaultHttpClient as well as AndroidHttpClient do not work nicely if multiple Cookie or Cookie2 headers are set in a request. I tried with a simple test code:

[android-developers] Re: WrongThread exception - how to analyze/debug?

2014-05-20 Thread Jonathan S
Any class that touch View MUST BE in the Main Thread only. On Tuesday, May 20, 2014 4:17:16 PM UTC-4, plnelson wrote: I have a multi-threaded Android app. One thread wakes up periodically on a timer and exchanges information over WiFi with a remote device and the other one is the main

[android-developers] Re: WrongThread exception - how to analyze/debug?

2014-05-20 Thread Jonathan S
Can you copy and paste code in the *MyRemoteActivity class?* On Tuesday, May 20, 2014 4:17:16 PM UTC-4, plnelson wrote: I have a multi-threaded Android app. One thread wakes up periodically on a timer and exchanges information over WiFi with a remote device and the other one is the main

[android-developers] Re: New Content Policy in Google Play

2014-03-28 Thread Jonathan S
http://www.androidpolice.com/2014/03/28/google-updates-play-store-developer-program-policies-to-crack-down-on-deceptive-ads/ On Friday, March 28, 2014 6:07:53 PM UTC-4, Nathan wrote: Just had to accept it. Who has done a diff on it already? What has changed? Nathan -- You received

Re: [android-developers] External Storage lockout in 4.4 update on some Samsung devices.

2014-02-26 Thread Jonathan S
Users should have to backup data first. On Tuesday, February 25, 2014 3:21:14 PM UTC-5, Nathan wrote: On Thursday, February 20, 2014 5:25:28 PM UTC-8, Nathan wrote: There is a chance that if I directed my users to use: Android/data/com.example.foo/ on external storage devices that they

[android-developers] Re: LocalBroadcastManager.java NullPointerException at line 297

2013-12-22 Thread Jonathan S
This doesn't explain much. Im sure you have more exceptions after that one. On Sunday, December 22, 2013 7:14:06 AM UTC-5, kevikev2020 wrote: Sure, here it is. Also attached a screenshot of the devices and OS. Since adding try/catch in Hackborns code, I haven't seen one report of crash

[android-developers] Re: Build Tools 19 no good. How to downgrade?

2013-12-04 Thread Jonathan S
Did you check build.gradle for buildToolsVersion? On Wednesday, December 4, 2013 8:41:16 PM UTC-5, Nathan wrote: Apparently, Build tools version 19 is broken. https://code.google.com/p/android/issues/detail?id=61710 None of the workarounds worked for me. I tried uninstalling Build

[android-developers] Re: HttpsUrlConnection: Trust anchor for certification path not found on 2.3

2013-09-23 Thread Jonathan S
Try http://stackoverflow.com/questions/6825226/trust-anchor-not-found-for-android-ssl-connection On Monday, September 23, 2013 11:22:26 AM UTC-4, Dmitry wrote: Hello, there. I need to establish https connection with https://free.temafon.ru but I've got CertPathValidatorException on Android

[android-developers] Re: JDK Path still giving problems

2013-09-16 Thread Jonathan S
Try http://stackoverflow.com/questions/16574189/android-studio-installation-on-windows-7-fails-no-jdk-found On Monday, September 16, 2013 2:27:39 PM UTC-4, Phil Gibbs wrote: Couple weeks ago I tried installing Android Studio, but had problem with it not finding any JAVA_HOME, although it did

[android-developers] Re: Crash on LG Devices: IllegalArgumentException: Invalid payload item type

2013-09-12 Thread Jonathan S
http://stackoverflow.com/questions/7658725/android-java-lang-illegalargumentexception-invalid-payload-item-type On Thursday, September 12, 2013 7:21:19 PM UTC-4, roundhill wrote: I'm wondering if anyone can share the solution that was added to the Gmail app to fix a crash on LG devices, as

[android-developers] Re: Nested JSON Parsing with Volley

2013-09-06 Thread Jonathan S
your temp is double. You have to use getDouble(temp) On Thursday, September 5, 2013 3:04:51 PM UTC-4, Raza Rahil Hussain wrote: Hello everyone, I'm trying to parse Nested JSON with Volley Library but i'm getting problem somewhere catching object. Any can please look up the code -

[android-developers] Re: APK Re-Install Won't Clear Data

2013-07-03 Thread Jonathan S
Did you hard-coded outside of data directory? On Wednesday, July 3, 2013 2:40:00 PM UTC-4, Cayce wrote: Hey; I'm developing an app that is a shell in which a user will purchase and load business information from 29 separate, purchasable regions in the US. These regions are database

[android-developers] Re: Cross-platform development question

2013-06-21 Thread Jonathan S
Java is more verbose than C# because it requires a lot of boiler plate to get it to work. If you can make a RESTful Service to return data as XML or JSON, it would be useful. On Friday, June 21, 2013 5:17:31 PM UTC-4, Mark Turkel wrote: Hi all, This is an interesting question, but a bit of

[android-developers] Re: Can't build after update to ADT 22 - library packages not resolved.

2013-06-13 Thread Jonathan S
each library has own unique package name. You have to set it separate from other library and application. If library is com.example.lib and app is com.example.app you can't do com.example.app.R in the com.example.lib, it need to be separate. On Thursday, June 13, 2013 9:18:45 PM UTC-4, Nathan

[android-developers] Re: Re. Tablet filtering

2013-06-10 Thread Jonathan S
http://developer.android.com/guide/practices/screens_support.html On Monday, June 10, 2013 11:25:28 AM UTC-4, Base Velocity, LLC wrote: Yes I'm curious to know what's going on as well. We're experiencing the same problem with our most recent update, even though we have tablet screenshots

[android-developers] Re: Hello. I am Japanese. Is it possible to divide View used using a conditional expression within a xml file?

2013-06-03 Thread Jonathan S
Not in XML. You only do that in Java. On Monday, June 3, 2013 10:15:54 PM UTC-4, マキレット wrote: Hello. I am Japanese. Is it possible to divide View used using a conditional expression within a xml file? The boolean value used by a conditional expression wants then to use what the java side

[android-developers] Re: Some tablets marked as Incompatible in Play Store, but not in Developer Console

2013-05-20 Thread Jonathan S
Problem is Android 2.2 SDK build. You can built it on 4.0 and keep minimum API level. Just be very careful. On Monday, May 20, 2013 12:50:39 PM UTC-4, jjbunn wrote: I uploaded a new APK for one of my apps on Friday. There was no change to the manifest or build settings for the app, but some

[android-developers] Re: Another Resources.NotFoundException with setContentView()

2013-05-20 Thread Jonathan S
how about ant clean build On Monday, May 20, 2013 12:20:02 PM UTC-4, plnelson wrote: There are lots of Resources$NotFoundException questions on the web and I've reviewed them and tried the various suggestions to no avail. I had a perfectly working layout to display some graphics with some

[android-developers] Re: Another Resources.NotFoundException with setContentView()

2013-05-20 Thread Jonathan S
clean remove all gen and bin folders. Would you post all stacktrace for this exceptions? On Monday, May 20, 2013 4:35:24 PM UTC-4, plnelson wrote: On Monday, May 20, 2013 4:26:05 PM UTC-4, Jonathan S wrote: how about ant clean build This isn't an ant-based project, and anyway, ant

[android-developers] Re: Sharing SharedPreferences from two different processes

2013-05-13 Thread Jonathan S
Context.MODE_MULTI_PROCESS That is only available in API 11+ (3.0 and later) On Monday, May 13, 2013 7:29:37 PM UTC-4, Gary Blakely wrote: My app originally had an activity and a service running in the same process. When I first wrote it I specified sharedPreferences with MODE_PRIVATE. The

[android-developers] Re: Update a textview from another thread

2013-05-11 Thread Jonathan S
No. TextView only be updated in the Main Thread. Why not to pass String? On Saturday, May 11, 2013 5:56:00 PM UTC-4, Michael Leung wrote: Is it possible to Update a textview from another thread? I got a list item in list view from another fragement. -- Regards, Michael Leung

Re: [android-developers] what to keep in mind with OpenJDK 7

2013-05-06 Thread Jonathan S
javac already set target to 6 and source to 6, so any 7 features will be disabled. You can use OpenJDK, but you can't use any 7 features. On Monday, May 6, 2013 8:55:09 PM UTC-4, seansf wrote: Thanks, I saw that. Wondering if anybody on the list has any tips also. On Monday, May 6, 2013

[android-developers] Re: Splash Screen: When my splash screen loads and i hit the back button, the application still shows?? why??

2013-05-03 Thread Jonathan S
http://developer.android.com/guide/topics/manifest/activity-element.html#nohist I am still think the Splash Screen shouldn't be needed on Android. I am curious why you needed it. On Friday, May 3, 2013 6:14:22 AM UTC-4, mrallen302 wrote: I am fairly new to android development and i have just

[android-developers] Re: exception when create new AlertDialog

2013-04-14 Thread Jonathan S
on new AlertDialog.Builder(getApplication());, replaces getApplication() to MainActivity.this On Sunday, April 14, 2013 10:55:42 AM UTC-4, Carlos Calvo wrote: Hello, I have a ProgressDialog running. Execute method .dismiss for destroy them. But when i create a new AlertDialog i take a

[android-developers] Re: How to compile APK using different constant

2013-04-07 Thread Jonathan S
That wouldn't work because getResources need Context. You have to call it in a function like public static boolean isGoogleMarket(Context context) { context.getResources().getBoolean(R.bool.forMarket) R.bool.forMarket is a constants too. On Sunday, April 7, 2013 4:42:31 PM UTC-4, Lew wrote:

[android-developers] Re: null pointer on setOnInfoWindowClickListener

2013-03-29 Thread Jonathan S
GoogleMap is still NULL after setupMapIfNeeded(). I hope you able to improve your coding ability. On Friday, March 29, 2013 12:27:45 AM UTC-4, Pratama Nur Wijaya wrote: https://lh3.googleusercontent.com/-EAF7YkcXBpg/UVUYLGGlBkI/Af0/CaAjJY8l4X8/s1600/Untitled.png here are my code

[android-developers] Re: null pointer on setOnInfoWindowClickListener

2013-03-29 Thread Jonathan S
Looks like Google Play services is not available in your tablet. On Friday, March 29, 2013 11:11:49 AM UTC-4, Pratama Nur Wijaya wrote: https://lh5.googleusercontent.com/-o4SyZfDxWvI/UVWvKvkpfLI/AgE/bj65FJ_evaY/s1600/Image+1.png i have change my code become like these one..

[android-developers] Re: Android In App Billing version 3. Querying for Purchased Items returned null information

2013-03-10 Thread Jonathan S
Did you look into http://developer.android.com/google/play/billing/billing_reference.html On Sunday, March 10, 2013 7:20:53 AM UTC-4, md abdul gafur (Bangladesh) wrote: After purchased product , i am try to get Purchased Items information but return null value. The app are publish in

[android-developers] Re: I have problem working with SHARED PREFERENCES, I think is project specific... i used the same before without errors but now get error

2013-03-09 Thread Jonathan S
in Shared1, Context.MODE_PRIVATE in Shared2, getContext().getSharedPreferenceshttp://developer.android.com/reference/android/content/Context.html#getSharedPreferences%28java.lang.String,%20int%29(top5, Context.MODE_PRIVATE) On Saturday, March 9, 2013 4:43:08 AM UTC-5, lselwd wrote: I have

[android-developers] Re: Delay on Track Playing(SoudMixter Application)

2013-03-09 Thread Jonathan S
It is a bad idea to call System.exit(1). Do you need all songs to play at once? On Saturday, March 9, 2013 1:25:51 PM UTC-5, Dharmendra Deshmukh wrote: This is Application Code I am Posting here.. public class MulitrackmixtureActivity extends Activity { /** Called when the activity is

[android-developers] Re: How to access HTTPS

2013-03-08 Thread Jonathan S
Something like http://stackoverflow.com/questions/2012497/accepting-a-certificate-for-https-on-android On Friday, March 8, 2013 11:46:27 AM UTC-5, askl wrote: Hi friends, already i've access HTTP. But i can't access HTTPS protocol base server. How can i access php files on HTTPS protocol

[android-developers] Re: problem in detecting samsung android tablet 2 P5100

2013-03-04 Thread Jonathan S
on Windows, you need ADB Drivers for your tablet. on tablet, USB Debugging needs to be enabled. On Monday, March 4, 2013 3:16:18 PM UTC-5, |-NK-| wrote: Hello, I bought a samsung android tablet 2 P5100. I am developing an application and wanted to debug it on this tablet using eclipse.

[android-developers] Re: Problem with gradle build version 0.3 and signing (signingConfigs)

2013-03-01 Thread Jonathan S
http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Signing-Configurations I see string values On Friday, March 1, 2013 6:53:19 AM UTC-5, Daniel Rindt wrote: Hello, using the builder version 0.3 and try to sign my app. Those values are present in ~/.gradle/gradle.properties

[android-developers] Re: Problem with gradle build version 0.3 and signing (signingConfigs)

2013-03-01 Thread Jonathan S
{ signingConfig signingConfigs.myConfig } } On Friday, March 1, 2013 4:06:37 PM UTC-5, Jonathan S wrote: http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Signing-ConfigurationsI see string values On Friday, March 1, 2013 6:53:19 AM UTC-5, Daniel Rindt wrote

[android-developers] Re: Adopting Android 4.0+ ONLY app development policy with an app currently supporting 2.1+?

2013-02-28 Thread Jonathan S
If this is for ActionBar, you could use Actionbarsherlock https://github.com/JakeWharton/ActionBarSherlock On Thursday, February 28, 2013 3:11:05 PM UTC-5, Darren McEntee wrote: Hi everyone, I'll cut right to the chase... I have an app live in the Google Play store that supports Android 2.1+

[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: gradle and libs

2013-02-19 Thread Jonathan S
You already have dependencies { compile fileTree(dir: 'libs', include: '*.jar') } you have to put all *.jar file inside the libs directory. If any *.jar file outside of the libs folder wouldn't be compiled. On Tuesday, February 19, 2013 5:52:54 AM UTC-5, Daniel Rindt wrote: Hello, my

[android-developers] Re: Catch network traffic?

2013-02-15 Thread Jonathan S
You can use https://play.google.com/store/apps/details?id=lv.n3o.sharkhl=en Also, Android Emulator has tcpdump capability too. On Thursday, February 14, 2013 12:07:38 PM UTC-5, BearTi wrote: Allright, thanks! Hmm but where can I get tcpdump? It´s in the store right? -- -- You received

[android-developers] Re: Catch network traffic?

2013-02-15 Thread Jonathan S
https://play.google.com/store/apps/details?id=lv.n3o.sharkhl=en On Wednesday, February 13, 2013 4:33:58 AM UTC-5, BearTi wrote: Hi, is it possble to catch all network traffic respectively to get all the network traffic that comes from a specific app? (My phone is rootet) Thanks -- --

[android-developers] Re: Backup Manager not working on HTC Desire running Android 2.2

2013-01-13 Thread Jonathan S
http://developer.android.com/guide/topics/data/backup.html#Testing On Sunday, January 13, 2013 5:06:57 PM UTC-5, Amy Phillips wrote: Hi Jason, I'm definitely calling dataChanged(), but have just also tried an extra call to adb shell bmgr backup

[android-developers] Re: hi

2013-01-08 Thread Jonathan S
If those data provided by SQLite database? If yes, SQLiteDatabase has query methods that you can use for sort by. On Wednesday, January 9, 2013 12:29:33 AM UTC-5, sree wrote: Hi friends, In android which Sorting technique is better. In Above image i wanna(want) to sort on

[android-developers] Re: Defining a ListPreference

2013-01-04 Thread Jonathan S
on string-array, it is expect to have string values. you have to do some java code to set theme then restarts the activity. On Friday, January 4, 2013 5:15:36 PM UTC-5, dashman wrote: I've got a ListPreference ListPreference android:key=themes_pref

[android-developers] Re: Hi bros

2013-01-04 Thread Jonathan S
list.setOnItemClickListener( new OnItemClickListener() { public void onItemClick(AdapterView? arg0, View arg1, int position, long arg3) { Toast.makeText(TasksActivity.this,I am clicked on Item Number is:+position,3000).show(); } }); On Saturday, January 5, 2013 1:49:33 AM UTC-5,

[android-developers] Re: floating window with actionbar

2013-01-03 Thread Jonathan S
I noticed similiar in http://stackoverflow.com/questions/11425020/actionbar-in-a-dialogfragment On Thursday, June 28, 2012 6:36:37 PM UTC-4, Johan Bilien wrote: Hi, I'm trying to place an activity in a floating window, with an action bar. Something similar to this:

[android-developers] Re: PreferenceHeaders with GingerBread

2012-12-29 Thread Jonathan S
How about intent android:targetPackage=com.example.android.misterhouse.activity android:targetClass=SettingsActivity / On Saturday, December 29, 2012 6:38:32 PM UTC-5, Jim Duda wrote: My application is using modern preference headers. I need to support compatibility with Gingerbread.

[android-developers] Re: error in custom list adapter

2012-12-25 Thread Jonathan S
i see Attendance_print a=null; you don't need to import android.R; On Tuesday, December 25, 2012 12:18:06 PM UTC-5, Gaurav wrote: hey, i am making an application in which i have to list the attendance of people. I want to show name,total attendance, and present number in list of every

Re: [android-developers] Re: OnStop and OnDestroy aren`t invoked after calling finish()

2012-12-22 Thread Jonathan S
onDestroy - The final call you receive before your activity is destroyed. This can happen either because the activity is finishing (someone called * finish()* on it, or because the system is temporarily destroying this instance of the activity to save space. You can distinguish between these

Re: [android-developers] Re: OnStop and OnDestroy aren`t invoked after calling finish()

2012-12-22 Thread Jonathan S
Did you look in http://developer.android.com/guide/components/tasks-and-back-stack.html when you use singleTop On Friday, December 21, 2012 2:26:25 AM UTC-5, Amit Dwivedi wrote: i also have a similar problem... please have a look on my Detailed

[android-developers] Re: Android example code and Apache 2.0 licence

2012-12-20 Thread Jonathan S
http://www.apache.org/legal/3party.html this may help you On Thursday, December 20, 2012 2:50:22 PM UTC-5, saladbowl wrote: I'm sorry if this is not relevant. I understand that no-one on here is a lawyer - but I thought that developers need to have some appreciation of software licensing

Re: [android-developers] Re: Send bug report from 4.1

2012-12-19 Thread Jonathan S
it is hidden. http://howto.cnet.com/8301-11310_39-57549207-285/restore-the-developer-options-menu-in-android-4.2/ On Wednesday, December 19, 2012 9:18:56 PM UTC-5, lbendlin wrote: I just uninstalled 4.2.1 because I couldn't find the developer options any more in the settings, and thus was

[android-developers] Re: SyncAdapter exception that I can't seem to trace.

2012-12-18 Thread Jonathan S
AsyncTask is calling this error which is Can't create handler inside thread that has not called Looper.prepare() On Tuesday, December 18, 2012 12:43:51 PM UTC-5, Brill Pappin wrote: THis is not the first time I've written a sync adapter, but thi is the first time I've seen this problem. I

[android-developers] Re: SyncAdapter exception that I can't seem to trace.

2012-12-18 Thread Jonathan S
I am wondering why you are calling AsyncTask in SyncAdapter or ContentResolver? It is very odd. AsyncTask supposed to do run CPU heavy tasks on background then update it to UI threads. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: How i convert upload code to AsyncTask?

2012-12-18 Thread Jonathan S
In other hand, you can't use System.out.println on Android too. -- 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: BadTokenException in ExtractEditText

2012-12-10 Thread Jonathan S
Did it said something like token null is not for an application? On Monday, December 10, 2012 6:15:52 AM UTC-5, santhu wrote: Hello All, I am getting badTokenException in extractedittext. i am developing a Keyboard and i have Override *onCreateExtractTextView*() and supplied my layout to

[android-developers] Re: android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 1

2012-12-07 Thread Jonathan S
if count == 0 is True then ! make it as False. getString(0) is for users column value. Don't forget if(result.moveToFirst()) After rawQuery On Saturday, December 8, 2012 2:10:11 AM UTC-5, laxman k wrote:

[android-developers] Re: creating shared preferences throws null pointer exception

2012-11-26 Thread Jonathan S
*context is Context and **getApplicationContext() is Application's Context. There is no needed for call both context, just one context.* On Monday, November 26, 2012 3:26:36 AM UTC-5, SIVAKUMAR.J wrote: Dear All, I had android doubt. getSharedPreferences(sharedprefname,

[android-developers] Re: Fragment transaction between 2 FragmentActivity

2012-11-24 Thread Jonathan S
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState Look in the onSaveInstanceState methods On Saturday, November 24, 2012 5:36:57 AM UTC-5, Live Happy wrote: this is the error i got wish that someone can help with it 11-24 07:09:48.269:

[android-developers] Re: Disable HDCP in Android 3.1

2012-11-21 Thread Jonathan S
custom ROM like in xda On Wednesday, November 21, 2012 2:22:07 PM UTC-5, tgraupmann wrote: Ditto, did you find a solution? Nexus 10 has HDCP on and I need to turn it off... On Thursday, June 30, 2011 12:13:00 AM UTC-7, Pauland wrote: Ok, so nobody wants to answer this question, whatever

[android-developers] Re: Blocked my UI thread by background service

2012-11-09 Thread Jonathan S
Why you are not using IntentService? that class stop the service when it finished. On Friday, November 9, 2012 3:21:25 PM UTC-5, Rajan wrote: What i need to do = 1. I need to get Latitude longitude every 1 min. 2. after getting this lat long, i need to call one web service

[android-developers] Re: Button#onClickListener thread unsafe?

2012-10-14 Thread Jonathan S
Any class use View is not thread safe. -- 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: Jagged array's objects in the ListView

2012-10-14 Thread Jonathan S
ArrayAdapter On Sunday, October 14, 2012 5:58:55 PM UTC-4, solnichko wrote: Hi Dhruv, This is not what I am asking. I am trying to convert a jagged array returned by a web service into an (2D)array list to be displayed in a list view(Android). Searched online, heaps of info on how to

Re: [android-developers] My widget stop working as of Android 4

2012-08-24 Thread Jonathan S
How about http://www.vogella.com/articles/AndroidWidgets/article.html ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Error In My Code for Usb detection in Android..please Help me..!!

2012-08-08 Thread Jonathan S
adb logcat On Wednesday, August 8, 2012 2:40:48 AM UTC-4, om mehta wrote: My problem is when i run this code on AVD emulator...it show that this application gas stop working...Force Close..whats the error??..and can anyone give me solution? -- You received this message because you

[android-developers] Re: HttpsURLConnection when APN has proxy set

2012-08-08 Thread Jonathan S
HttpsURLConnection extends HttpURLConnection -- 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: Installing a private corporate app

2012-08-06 Thread Jonathan S
1) Upload APK to the internal servers 2) Instruct all employee to download and install it by direct link to the apk file if they have *Unknown Sources* checkbox enabled On Sunday, August 5, 2012 11:23:55 AM UTC-4, jayd wrote: I’m developing a training app for the company I work for and we

[android-developers] Re: Idle Actvity

2012-07-30 Thread Jonathan S
Look in logcat like red font On Monday, July 30, 2012 2:53:45 AM UTC-4, rahul kaushik wrote: Hi, If my activity stay idle for Sometime, it shows (Activity is not responding and i ahve two option Force Close Wait) how i can avoid this Thanks RK -- You received this message because

[android-developers] Re: java.lang.nullpointerexception in ServerSocket.accept()

2012-07-10 Thread Jonathan S
s is null because you are not assign it. ServiceSocket is NULL because you are assigned it in the background threads. You need to rewrite whole thing again. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Using HttpClient in Desktop and HttpURLConnection in Android

2012-06-16 Thread Jonathan S
http://code.google.com/p/httpclientandroidlib/ On Friday, June 15, 2012 3:45:58 PM UTC-4, b0b wrote: If you are happy and familiar with HttpClient, use it. But the Android HttpClient client version is old and buggy and unmaintained and I wouldn't use it as is. Hopefully you can use the

[android-developers] Re: Open JDK crash

2012-05-29 Thread Jonathan S
already added: Lorg/ccnx/ccn/BasicInterestListener; This mean it see two classes for that name. On Tuesday, May 29, 2012 1:59:16 PM UTC-4, mpd wrote: Hi, Has anyone experienced OpenJDK crashes with: java version 1.6.0_20 OpenJDK Runtime Environment (IcedTea6 1.9.8)

[android-developers] Re: XML parseing working in android 2.2 but not in android 4.0

2012-05-16 Thread Jonathan S
Which errors? On Wednesday, May 16, 2012 6:24:29 AM UTC-4, Bhaumik Thaker wrote: Hello All, i have a problem i have parse the data using DOM parser in android 2.2 but it will not work in higher version of 2.2. I have use the khop to fetch the response from webservice... It will

[android-developers] Re: Android to PHP error- Unidentified Index

2012-05-12 Thread Jonathan S
$_REQUEST is $_GET http://www.php.net/manual/en/reserved.variables.get.php, $_POST http://www.php.net/manual/en/reserved.variables.post.php and $_COOKIE http://www.php.net/manual/en/reserved.variables.cookies.php. since you are not doing query string, it be null. On Saturday, May 12, 2012

[android-developers] Re: Android to PHP error- Unidentified Index

2012-05-12 Thread Jonathan S
I think you should use $_POST instead $_REQUEST because $_REQUEST is $_POST, $_GET and $_COOKIE. look into this sample http://www.androidsnippets.com/executing-a-http-post-request-with-httpclient On Saturday, May 12, 2012 10:22:34 PM UTC-4, Jeresam515 wrote: when sending data to a php

[android-developers] Re: How to know the request is from Android 4.0 phone or Android 4.0 Tablet?

2012-05-11 Thread Jonathan S
if dual pane view is VISIBLE, it is tablet. you would have to put it in xml file for tablet like under layout-xlarge-land (3.0 to 3.1) and layout-sw600dp-land (3.2+) On Thursday, May 10, 2012 12:25:01 AM UTC-4, Kevin Chang wrote: I woudl like to develop a Web Application. It has different UI

[android-developers] Re: client server socket: a beginners question

2012-05-08 Thread Jonathan S
http://developer.android.com/guide/appendix/media-formats.html this would help On Wednesday, April 18, 2012 5:18:07 AM UTC-4, ikimatsu noob wrote: Hello everyone, im terribly sorry if this happens to be a repost. Im new to android development and i have been assigned a project about

Re: [android-developers] Re: live video streaming

2012-05-08 Thread Jonathan S
http://developer.android.com/guide/appendix/media-formats.html On Tuesday, May 8, 2012 6:20:08 AM UTC-4, kavitha chidambaram wrote: Hi, I am trying the same thing, got any idea? can we use Darwin streaming server for streaming live video between android phone. Thanks, Kavitha On

Re: [android-developers] Consumer closed input channel

2012-05-03 Thread Jonathan S
I'm curious about W/Qt ( 1402): WARNING: QApplication was not created in the main() thread. On Monday, October 17, 2011 7:12:16 PM UTC-4, Marco Bernasocchi wrote: Hi Dianne, what do you mean by fd? (sorry if I miss a super clear abbreviation). I just got this error, do you have any

[android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Jonathan S
Any class is under View NEEDS to be in the Main Thread. On Tuesday, May 1, 2012 2:09:15 PM UTC-4, Ab wrote: This TestActivity mimics some behavior in my app, which casues an ANR on the Samsung Note ( running Android version 2.3.6). It did not produce an ANR on a few other devices I tried,

Re: [android-developers] Re: reading file from SDcard

2012-04-30 Thread Jonathan S
if you use lint tools, it will give you warning for hard-coded sdcard directory. On Monday, April 30, 2012 1:24:56 PM UTC-4, Rahul Vijay wrote: On Mon, Apr 30, 2012 at 6:03 PM, Mark Murphy mmur...@commonsware.comwrote: On Mon, Apr 30, 2012 at 8:26 AM, RLScott fixthatpi...@yahoo.com wrote:

[android-developers] Re: Getting system's color value from string resource.

2012-04-30 Thread Jonathan S
On Monday, April 30, 2012 11:58:13 AM UTC-4, Put_tiMe wrote: I want to retrieve the system's color value from a resource string, like: getResources().getIdentifier(* android.R.style.TextAppearance_StatusBar_EventContent*, style, getPackageName()); How do I do this? That is not quite

[android-developers] Re: Fetching remote image data - byteArray vs createFromStream vs decodeStream

2012-04-30 Thread Jonathan S
I think URL.openStream js URl.openConnection().getInputStream() On Monday, April 30, 2012 11:02:06 PM UTC-4, momo wrote: I've been looking at the source for several open-source image loaders, and am comparing the approaches. Looks like when processing the image data, most involve

  1   2   >