Hi,
I want to know the context in which getContentResolver() is called ?
I have a scenario like this :
I have an activity A that calls a method myFunc() of class B whcih is not an activity.
So, in class B I have to use getContentResolver(). I directly called getContentResolver(). It was showing error. Then I called myFunc(Acitivy act) ...
Hi, I'm a totally newbie to the Android SDK. I have been installed
Eclipse 3.4 (Ganymede), Android 2.1 SDK with JRE 6 updated 7.
I need to use external .jar 's, when i load that jar in
eclispe,automatically abc.apk is missing and showing the error like
[2010-09-20 08:33:54 - CodeFinder]warning: Ignoring InnerClasses
attribute for an an...
hi
I have developed an application , where it provide some services to user. he has to subscribe before for 2 months , 4 months like that , he can update it by paying . Can any one tell me , is there any api provided to serve the above purpose . ??
Thank you,
Srinivas
...
hi can anyone tell me that in android if i have a circle's radius and center value than how could i measure the latitude ,longitude of about 1 km. periphery of that circle.
Plz help me for this...asap
thanks in advance
...
Hello All,
Can anyone give me a comparison for android push notification services.
Mainly I want to compare these services.
MQTT - http://mqtt.org/
XTIFY - http://xtify.com/
Mobile Push - https://labs.ericsson.com/apis/mobile-push/
Thanks
...
Does the Android 2.2 media framework support IGMP/Multicast? If yes, can anyone guide how we can do that?
...
Hi everybody,
I really need a help on this point because its the only thing not working in my app.
I have a listview managed by an adapter that is extending BaseAdapter.
In the getview function im using the convertView to set up a OnClickListener.
This OnClickListener work well when I am touching the screen but if I use the trackball o...
Here they write:
To apply a style definition as a theme, you must apply the style to an Activity or application in the Android manifest. When you do so, every View within the
Activity or application will apply
each property that it supports. For
example, if you apply the CodeFont
style from the previous examples to an
Acti...
I'v encountered a problem with Google Maps on Android. In my app I have a location-chooser where the user navigates to his desired location to save the exact street location. In order for the user to actually see what street he is no (and not just the general area) I need to mark the middle of the map clearly.
The problem is that the re...
I would like to use self defined Environment variables in my source code. I use System.getenv() to do this and the code line looks like this. Log.d("MyTest","== MyEnv " + System.getenv("AP") + " ANDROID_ASSETS:" + System.getenv("ANDROID_ASSETS"));
before I execute my code I define my AP variable with export: export AP="12345" and the t...
Is there anywhere that I can find documentation on the scope of the XML files? I have an app I am currently working on and have been struggling with getting a feature to work and it seems that the problem I am having is that I am trying to access an element in an XML file that must be out of scope. To simplify the layout, my project has ...
Hi All,
Is it possible to place Textviews along a curved line?
I was able to place ImageViews and was able to draw Text along the Curved line. But i was not able to find an API which could support me placing a TextView along a curved line.
All ideas are welcome. Please help.
Thanks & Regards,
Sen
...
I have a ListAdapter that displays View with contains an Edittext.
When that view is focused the softkeyboard pops up.
However for some reason that causes the view to lose focus.
Is there a way to avoid this behavior?
...
I am using the package org.json package: I need help with getting the corect data from the json in java. this is the string I have in json:
{"GetLocationsResult":[{"ID":82,"Name":"Malmo","isCity":true,"isCounty":false,"isDisctrict":false,"ID_Parent":null,"ID_Map":35,"ZipCode":"7000"},{"ID":82,"Name":"Trelleborg","isCity":true,"isCounty"...
Dear all,
I'm new to mobile phones development, but I wonder whether there is any way to develop native apps (HTML-based apps is another story) that would run both on Android and iPhone? I know that there exist applications available for both OSs, so I wonder how are they ported/developed for both targets?
...
I've got a dispatch/delivery/tracking application running on (ugh) Windows mobile that allows a signature capture.
I really want to port this to Android to give my customers another option (thankfully) from Windows mobile devices.
Is it possible to capture a signature on the device? What are my options here?
Thanks.
...
My boss recently gave me an HTC Wildfire phone for doing an Android version of one of our mobile apps, which is all fine and good, except that the app requires API level 8 (ie Android 2.2), and the phone itself only has Android 2.1 installed. After much googling, I discovered that this phone does support Android 2.2, and carriers will b...
I have an App and an AppWidget associated with it. The AppWidget is updated by an Update Service. What I want to implement is that the AppWidget only starts getting updates only when the User has logged in, much like the Facebook/Twitter Application and AppWidget functionality on Android. If the User is not logged in, the Widget will sho...
i want to analyse the json just like:
[{"id":"ssq","name":"双色球","term":"2010092","date":"2010-08-12 19:15","numbers":{"normal":"3,13,19,27,28,30","special":"2"},"jackpot":"30000000"},{"id":"3d","name":"3D","term":"2010216","date":"2010-08-12 19:55","numbers":{"normal":"6,8,8"},"jackpot":"-"},{"id":"qlc","name":"七乐彩","term":"2010093","da...
Hi!
I've created service which has LocationListener in it. In order to keep service running the service is set as foreground. I have some questions about phone power management and sleeping in that circumstances:
Will phone go to sleep while such service is running?
How can I save power in this stuation?
Thanks in advance!
...