Hi All,
I want to get Facebook Friends List and online presence from my
android application.
For that i have got API_KEY and SECRET from facebook.
I am using this code.
Intent intent = new Intent(android.intent.action.VIEW,
Uri.parse(http://www.facebook.com/login.php?
Do we need any more app stores? :)
We've been running AndAppStore since the G1 launch and the most common
reason we hear for developers not listing is that they don't want to
maintain multiple market listings, so I doubt that the creation of
multiple markets backed by large companies is viable.
On Thu, Jun 10, 2010 at 2:15 PM, Jeff jeff.th...@gmail.com wrote:
Is there anyway that I can simulate or test this case to make sure I
am restoring correctly now?
Rotate the screen.
-
TreKing -
you can see that any company
getting into the Android app store space is competing on a uneven
playing field from day 1 on devices where they aren't integrated into
the firmware, which makes running a market an unattractive proposition
for most businesses.
If they can offer paid apps in
I am sure the source code for the unlock screen is available, I would
start there.
On Jun 11, 7:55 am, Rijad Sacirovic rij...@gmail.com wrote:
What i mean is switches whom you cannot click to activate but
instead have to slide them on
Illustration:
[x]---x
Off On
You need to
On Thu, Jun 10, 2010 at 4:19 PM, Rohit mord...@gmail.com wrote:
What I want is that when then user is done adding the item it should not
take the user to activity A but directly to the desktop because that is
where he invoked the activity (B) from
Wait ...are you saying that if you start
Thanks Paul,
Everything else seems a bit too heavy
Thats the exact concern for why i have been hunting around different
forums to check out for a better option, and as u said JSON with a
RESTful service is one option am closely looking at.
and other part which i need suggestion is on the Data
Hi,
I am having an HTC Magic device.
Scenario For the problem
I turn off airplane mode after putting it on for sometime.
Once i do that and make some network connection either programatically or
opening a browser, i get a Force Close dialog with process com.android.phone
not responding.
When i
Hi All,
I have some code--
Intent intent = new Intent(android.intent.action.VIEW,
Uri.parse(http://www.facebook.com/login.php?
api_key=API_KEYconnect_display=popupv=1.0next=http://
Hi All,
I have some code--
Intent intent = new Intent(android.intent.action.VIEW,
Uri.parse(http://www.facebook.com/login.php?
api_key=API_KEYconnect_display=popupv=1.0next=http://
杨键,别当卖国贼
On Jun 11, 2010 1:15 PM, �罱� youken1...@gmail.com wrote:
To: Brad Gies
I am sorry , I just means 安卓市�� is not the official market of China.
It is faster that reply from your letter than search the original letter
from hundreds of developers group letters.
Good luck everyone.Hope your
Can you explain what you said? Am I wrong?
_
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of a a
Sent: Friday, June 11, 2010 4:43 PM
To: android-developers@googlegroups.com
Subject: Re: RE: [android-developers] Re: How global is the
I have put some instructions in onLowMemory() callback and want to
test the same. Is there a direct way to test onLowMemory function of
the application subclass?
Or will I have to just overload the phone by starting many apps and
doing memory intensive tasks?
Thanks.
--
You received this
Hi,
I need a hint (or actually more than one) on how to use the camera for
capturing video and streaming it to a server.
android.media.MediaRecorder seems to simple for this task i believe?
Im in way above my head on this one, i hope you guys can help me.
Everything is welcome! ideas, hints,
Hi Jason,
EditText component provides setText() method with one integer indeed,
but it's resource id. This means it will seek the string you defined
in xml file.
If the parameter you pass is not a resource id, it will occur error.
Please invoke String.valueOf(tmp) or Integer.toString(int) method
I have a .mp3 track that contains song meta-data (title,lyrics,etc.)
in ID3 tags. Does Android have any support for reading this? What
would be the best way to read the tagged information?
Thanks.
--
You received this message because you are subscribed to the Google
Groups Android Developers
Hello,
I want to view two listviews at the same time. This is not the
problem!
What I don't know if it's possible is if I can have two different
context menus for the two lists?
And second, is there a way to check in which of the two lists the user
has selected an item?
I'd appreciate answers.
Hi all,
Be one of Android developers, you must be aware of the
ANR(Application Not Responding) very well and understand how to avoid
it. There are many ways you can choose to do. I usually create a
thread and use a flag
to trigger it to handle time-consuming tasks. For example:
public class
Hi
everyone
How to show a alert dialog(whithout any Activity) when receive a
broadcast.
--
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
Hi,
Most of time, ANR happened when main thread blocked. So I use
another thread to handle 'time-consuming' operation, after receiving
thread callback then invoke main thread.
On Jun 11, 5:23 pm, NightGospel wutie...@gmail.com wrote:
Hi all,
Be one of Android developers, you must be aware of
Hi there,
I'm wondering if and how one can load dex or class files dynamically
in dalvik, some quick'n'dirty test function I wrote was this:
public void testLoader() {
InputStream in;
int len;
byte[] data = new byte[2048];
One is (background) 480x800, others are approx. 70x70px.
(40x40,80x80,50x50...).
I understood your answer but I don't know (technically, exactly) what
I need to find. I sent you an e-mail.
On Jun 11, 3:18 am, Eric F ericfrie...@gmail.com wrote:
Look at the dimensions of your images, not the
Is anyone able to run the little applications I included above? I
would love to know if it is just me with this problem or if it is a
wider issue with the OS or my code.
I am considering a re-write to ditch the gallery widget, but I kinda
like the UI effect I am getting with the gallery widget; I
André wrote:
What I don't know if it's possible is if I can have two different
context menus for the two lists?
Yes.
And second, is there a way to check in which of the two lists the user
has selected an item?
Yes, with difficulty.
Cast the MenuInfo you get in onContextItemSelected() to an
julius wrote:
I have a ListView which is populated with items and I would like to be
able to create the context menu based on some information fetched from
the Cursor used to create the row. Is there a preferred approach for
storing a boolean or flag associate with the row?
You could use
Hi,
Is it possible to communicate from desktop app to an android app
running on phone via usb connection? If its possible then please refer
me the ways and APIs. I came to know that this is possible by using
Bluetooth. But I want to do it by using usb connection if possible.
--
You received
Thanks Mark, I will give it a go!
On Jun 11, 12:42 pm, Mark Murphy mmur...@commonsware.com wrote:
Andr wrote:
What I don't know if it's possible is if I can have two different
context menus for the two lists?
Yes.
And second, is there a way to check in which of the two lists the user
Got it. ID3v1 is easy.
Use RandomAccessFile and then seekTo (File.length - 128) bytes. Rest
of the bytes is what I need.
--
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
Probably you can'tso, simply start an Activity that will display just
your dialog.
On Fri, Jun 11, 2010 at 11:46 AM, Mohammad Siddiqui siddiqui.m...@gmail.com
wrote:
Hi
everyone
How to show a alert dialog(whithout any Activity) when receive a
broadcast.
--
You received this
There are a number of Karaoke application in Android market. I was
wondering how these could have been written?
Does Android MediaPlayer support MP3+G or .kar file formats?
Thanks.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Hello,
A background thread in the main activity is almost, but not quite the
same as an Android service.
Quoting from
http://developer.android.com/reference/android/app/Service.html:
The Android system will attempt to keep the process hosting a
service around as long as the service
I have an Activity where I show a user a Dialog on the onCreate(), the
user is then allowed Click OK to dismiss the dialog, Click RULES
to read some rules, Click 'HIDE to hide the dialog in the future.
The problem I'm having is when the user click view rules, which
launches the browser and then
Mark Hansen wrote:
I have an Activity where I show a user a Dialog on the onCreate(), the
user is then allowed Click OK to dismiss the dialog, Click RULES
to read some rules, Click 'HIDE to hide the dialog in the future.
The problem I'm having is when the user click view rules, which
Hi All,
Below code not working in my system.
public class WebViewDemo extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Would you mind telling us how it is not working?
Sohan badaya wrote:
Below code not working in my system.
public class WebViewDemo extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
Sohan badaya wrote:
Not working means I am getting blank white screen.
When i hit url in browser of emulator, it works so internet connection
is perfectly fine.
Do you have the INTERNET permission in your manifest?
Does LogCat have any information? You can access LogCat via adb logcat,
DDMS,
Hi,
Thanks for reply,
Yes i have written internet permission in menifest file.
Sohan Badaya
On Fri, Jun 11, 2010 at 7:09 PM, Mark Murphy mmur...@commonsware.comwrote:
Sohan badaya wrote:
Not working means I am getting blank white screen.
When i hit url in browser of emulator, it works
Hi
everyone
How to delete a inbox message programmaticaly coming from a specific
sender
Thanks
--
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
Hello all,
in my XPS(Hybrid Positioning System) app my app is crashing
after login to view the latitude,longitude page.
what i think is my problem is at preference.
after viewing the latitude longitude it get saved into the preference
again fetching it because to send the old (latitude ,
Hi All,
I'm having some strange behavior of wakeup alarms scheduled by
AlarmManager in Motorola Milestone (Droid in US). The thing is that
they don't wake the device as they should. The same piece of code
works fine in Samsung Galaxy and the alarms are fired as they should
fire. In Milesstone
Sohan badaya wrote:
Hi,
Thanks for reply,
Yes i have written internet permission in menifest file.
Try other Web pages.
You mentioned a proxy server. AFAIK, whatever setting you have for the
device proxy will be used by WebView. I do not see where you can
configure a separate proxy for the
BrowserActivity uses WebView.setEmbeddedTitleBar to create the cool
search bar feature at the top of it's web pages. This embedded title
bar doesn't zoom when the users zoom the web page or scroll left/
right.
My question is whether WebView.setEmbeddedTitleBar is a public API?
The source shows
I don't know your code, but it looks like the notifiyDataSetChanged()
(like many other methods that can update the UI) needs to be called on
the main GUI thread.
You need to get hold of a View or a Hander (that was created on the
main GUI thread, e.g. in your onCreate()) and call 'post' on it:
Hi,
Thanks for reply,
I will try this code behind proxy.
Hope this will work.
Sohan Badaya
On Fri, Jun 11, 2010 at 7:38 PM, Mark Murphy mmur...@commonsware.comwrote:
Sohan badaya wrote:
Hi,
Thanks for reply,
Yes i have written internet permission in menifest file.
Try other Web
Hello world.
Currently I am working on an Android application, was a time I do a
key exchange between the mobile and a J2EE server, I use the Diffie
Hellman, here is how I did for the initialization:
Security.addProvider (new BouncyCastleProvider ());
Provider provider = new BouncyCastleProvider
If you are following this thread you can find the initial
implementation at the following project download url.
http://www.satyakomatineni.com/akc/filestorage/satya/documentfiles/3468/StandaloneBroadcastReceiver.zip
You can see the key source code from this project at
I too am interested in running an application as ROOT. I am using
libusb and the setup requires writing to usb_set_configuration, which
is not permitted unless run from a C application as root (eg. I cannot
use JNI in my app to configure USB-host).
Please keep posted.
sws-vinpa
On Jun 11,
I'm running into an issue with the Quick Search Bar that I'm hoping
someone can help me with.
My application includes a Searchable activity used to provide search
behavior within my application. That search activity is designed to
trigger a separate Intent when the search item is clicked on so
Silence from Google has been puzzling.
--
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
So, I have an IntentService that handles button callbacks from a
widget. When the user presses a certain button, I want to display a
Toast. I return from onHandleIntent almost immediately after doing
Toast.show(), which in turn stops the service and kills its thread,
which keeps the Toast from
Another reference is the SDK documentation
http://developer.android.com/guide/developing/testing/testing_otheride.html#AMSyntax
Regards,
Brett.
On Wed, Jun 9, 2010 at 1:05 AM, Chander Pechetty cspeche...@gmail.comwrote:
Use adb shell am instrument
Check out the platform documentation at
Have you read the docs at
http://developer.android.com/guide/topics/testing/testing_android.html
Thats the best source of info that I know of.
Regards,
Brett.
On Wed, Jun 9, 2010 at 1:01 AM, Raja Nagendra Kumar
nagendra.r...@tejasoft.com wrote:
Hi,
Would like to know the best place to get
Flying Coder wrote:
So, I have an IntentService that handles button callbacks from a
widget. When the user presses a certain button, I want to display a
Toast. I return from onHandleIntent almost immediately after doing
Toast.show(), which in turn stops the service and kills its thread,
Look at the service API demos, I think all of them display toasts. There
should be nothing special involved -- just use the regular toast methods
from the main thread.
On Fri, Jun 11, 2010 at 9:58 AM, Flying Coder av8r.st...@gmail.com wrote:
So, I have an IntentService that handles button
Hi Mark,
Thanks for the suggestion, but unfortunately, SystemClock.sleep()
doesn't do the trick. :-(
Cheers,
Steve
On Jun 11, 1:22 pm, Mark Murphy mmur...@commonsware.com wrote:
Flying Coder wrote:
So, I have an IntentService that handles button callbacks from a
widget. When the user
You absolutely can not do this. There are some open-source mods to Android
that do allow apps to get root, but because of the security repercussions
those should never appear on a shipping device.
On Thu, Jun 10, 2010 at 9:28 PM, saikiran n saikiran@gmail.com wrote:
Shall we give root
Oh for doing it from the callback from IntentService, you need to do it from
a thread that is actually running a responsive looper (which by definition
IntentService does not, since the thread it is calling you on is there to
run long-running operations).
So schedule a message in a Handler of the
I'm trying to draw some points (around 200) in a MapOverlay and
noticed that the application gets slow and the phone becomes
unresponsive. Here's my code:
MapOverlay mapOverlay = new MapOverlay();
ListOverlay listOfOverlays = mapa.getOverlays();
listOfOverlays.clear();
Pinheiro wrote:
I'm trying to draw some points (around 200) in a MapOverlay and
noticed that the application gets slow and the phone becomes
unresponsive.
Any reason you're not using an ItemizedOverlay?
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
May be this will work:
MyService extends IntentService
{
Handler mMainThreadHandler = null;
onCreate() {
super.onCreate();
//initialize and populate the mMainThreadHandler
//because this method runs on the main thread
If it helps here is a link to the source code of the nifty IntentService
http://www.netmite.com/android/mydroid/1.6/frameworks/base/core/java/android/app/IntentService.java
Satya
On Fri, Jun 11, 2010 at 2:01 PM, Satya Komatineni
satya.komatin...@gmail.com wrote:
May be this will work:
Any reason you're not using an ItemizedOverlay?
Afaik, ItemizedOverlay only supports one marker type, right? I want to
be able to use several.
Of course I could use several ItemizedOverlays, each with it's own
marker, but I guess that will impact perfomance.
--
You received this message
Thanks Satya,
That did indeed do the trick!
All the best,
Steve
On Jun 11, 2:01 pm, Satya Komatineni satya.komatin...@gmail.com
wrote:
May be this will work:
MyService extends IntentService
{
Handler mMainThreadHandler = null;
onCreate() {
super.onCreate();
Pinheiro wrote:
Any reason you're not using an ItemizedOverlay?
Afaik, ItemizedOverlay only supports one marker type, right?
No, you can have as many as you want:
http://github.com/commonsguy/cw-advandroid/tree/master/Maps/ILuvNooYawk%2F
--
Mark Murphy (a Commons Guy)
Hello!
I am having trouble with using Bluetooth on the Nexus One. I want to
be able to make the phone go to Discoverable mode without having the
user to give my application permission every 120 seconds or 300
seconds. I have added the BLUETOOTH and BLUETOOTH_ADMIN permissions
on the Manifest
Hey Streets,
thanks.
Actually I already run this on the UI thread.
Here is my code (from a ListActivity):
updateCursorRunnable = new Runnable() {
public void run() {
updateCursor();
refreshUI();
}
};
Above you see the
Once you use the ItemizedOverlay class to prepare the markers to be
plotted on the map, it will be easy to make it work. Here's the link
that you can use to create the MyItemizedOverlay:
http://developer.android.com/guide/tutorials/views/hello-mapview.html
Hope it helps.
Bits Android Team
On
From my experiences, it seems as though all of the HTC phones with the
Sense UI on it have trouble with SPP. It looks like the Bluetooth
implementation is being hampered in someway by HTC. We've been able
to connect using reflection, but the connection is currently flaky at
best. Tested on
Have you figured out how to start the discoverable mode without having
to request the user to press YES? I am having a similar problem as
you. I wanted to have my app to be able to use the bluetooth and be
discoverable automatically and without turning off after a certain
amount of time.
Have
Thanks, Mark!
Strangely, I can't seem to make your code work.
If I use:
public MyItemOverlay() {
super(null);
... the rest of your code...
It crashes with NullPointer in:
@Override public void draw(Canvas canvas, MapView mapView,boolean
shadow) {
Thanks BITS.
Unfortunately the doc is not very helpful since it doesn't even give
an hint on how to use different markers in the same ItemOverlay.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Thanks, Mark!
It seems to solve my problem :)
--
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
Two answers:
1. Call the intended service instead of using the DISCOVERABLE option.
Because every 300 seconds there will be a dialog box asking you make the
device discoverable. If you make a service call, the device need not be
discoverable to use the service.
2. There is an issue in the issue
Hi All,
I was using this method to show users the installed app details page
Intent i = new Intent(Intent.ACTION_VIEW);
i.setClassName(com.android.settings,
com.android.settings.InstalledAppDetails);
i.putExtra(com.android.settings.ApplicationPkgName,
mAppContextPackageName);
// start
Still not working for me :-/! I've just found a pirated version of one
of my apps (that had copy-protection enabled) floating around on
several different sites, so the copy protection apparently isn't doing
much good anyway and I can safely disable it ;-)!
On Jun 9, 1:17 am, TreKing
I'm trying to capture audio from a Nexus One and no matter what buffer
size (bufferSizeInBytes) I set at construct time of AudioRecord, when
I do a AudioRecord.read I always get 8192 bytes of audio data (128
ms). I would like the AudioRecord.read be able to read 40ms of data
(2560 bytes). The only
I would manipulate the contact groups in Android 2.O. My code is
following:
To get a list of group (with id and title):
final String[] GROUP_PROJECTION = new String[]
{ ContactsContract.Groups._ID, ContactsContract.Groups.TITLE };
Cursor cursor =
Eg. should it be in
the View? I could make the decision when creating the menu too, but I
need to get a unique id from the row in the ListView
public void onCreateContextMenu(ContextMenu menu, View v,
ContextMenuInfo menuInfo) {
Cast the menuInfo to an
(the story continues at:
http://stackoverflow.com/questions/3022454/how-to-load-a-java-class-dynamically-on-android-dalvik
)
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
hi:
I am currently working on a project which uses XMPP,I non't know whether
I can use a
client must is a GMail account.
Please do comment on the above approach. If there is another way to do
this, please do suggest.
/***/
苗忠良(Miao Zhong-liang)
hi:
I am currently working on a project which uses XMPP,I non't know whether
I can use a
client must is a GMail account.
Please do comment on the above approach. If there is another way to do
this, please do suggest.
/***/
苗忠良(Miao Zhong-liang)
Hi All,
When I click on a button i want to make entire screen disabled ... i.e there
are other buttons and text area ..which should get disabled ...on
a particular button click ..is it possible ??
--
You received this message because you are subscribed to the Google
Groups Android Developers
I was just checking out the developer docs and came across this
http://developer.android.com/reference/android/preference/Preference.OnPreferenceChangeListener.html
I have an idea I want to possibly use for this but one quick question
if anyone knows. It says in the documentation Called when a
Hi all, I am developing one application in that I want to save backup
of sms on server and then restore that sms to mobile. I had saved the
backup of sms on server but I don't know how to restore it to mobile,
Please help me.
Thanks in advance
--
You received this message because you are
84 matches
Mail list logo