On Wed, Mar 23, 2011 at 9:09 PM, asdf wrote:
> for example,i want to get a view object in java file.there are
> two ways:inflate view and R.id.view.what`t the difference between
> them.and when to use them. thanks
Read the documentation - this is fairly thoroughly covered.
On Thu, Mar 24, 2011 at 4:49 AM, mathcat wrote:
> This mechanism is so frustrating, how to handle such situation??
Sounds you're already doing it with onSaveInstanceState. If you have
Singletons, the whole point behind them is they are initialized on access if
they're not already. If you need t
On Thu, Mar 24, 2011 at 4:42 AM, Nikolay Yanev wrote:
> How can I set mp3 for background music in my app?
Read the relevant sections in the documentation and / or Google for
examples.
-
TreKing
startActivity from a fragment starts the Activity and then returns
immediately. It executes the onCreate in the new Activity but never
brings it to the front.
Has anyone seen this behavior?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
Hi All,
Is it possible to start an Android App from a browser. I would like to
create a website that has a button, and whenever the button is pushed,
an android application already previously installed have to start.
Is this possible? In some of the earlier post here, it was mentioned
that Intent
On Thu, Mar 24, 2011 at 9:14 PM, perumal316 wrote:
> Sorry couldn't find much info regarding this.
Read this:
https://groups.google.com/group/android-developers/browse_thread/thread/4462c79065294680
---
More information -
- there are no errors in the logcat log
- the logcat shows ActivityManager starting the new Activity and then
immediately start the first Activity again.
On Mar 24, 7:11 pm, jotobjects wrote:
> startActivity from a fragment starts the Activity and then returns
> immediately.
I root all my phones. Root lets you access your app's data directory,
which is handy for viewing/editing a database or shared preferences
file.
But I don't run custom roms (Unless I'm actually tested something
related to that rom). Custom roms definitely can lead to ridiculous
problems.
I've gott
is there a way to add a 'custom url scheme' to an Android app that
when a user goes to a certain http:// url in the web browser it will
open the app?
i need functionality that is the same as this on Android.
http://iphonedevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-schem
Going to throw a shameless plug...
If you're looking to implement the action bar design pattern on all
platforms in your app I have written a library which automatically abstracts
and marshalls interactions to either the native ActionBar on 3.0+ or a
custom third-party control on pre-3.0. You c
Good to know, thanks!
On Mar 25, 11:24 am, Jake Wharton wrote:
> Going to throw a shameless plug...
>
> If you're looking to implement the action bar design pattern on all
> platforms in your app I have written a library which automatically abstracts
> and marshalls interactions to either the nat
Does Android expand the apk files into a filesystem structure? If yes where?
I don't seem to find much in /data/data/ (package name
as defined in the AndroidManifest.mf.
Thanks
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to th
http://developer.android.com/intl/de/guide/topics/media/index.html
Playing from a Raw Resource
MediaPlayer mp = MediaPlayer.create(context, R.raw.sound_file_1);
mp.start();
On Mar 24, 12:42 pm, Nikolay Yanev wrote:
> How can I set mp3 for background music in my app?
--
You received this mes
No they remain in the .apk, and you must use the AssetManager APIs to access
them.
On Thu, Mar 24, 2011 at 9:55 PM, Demetris wrote:
>
> Does Android expand the apk files into a filesystem structure? If yes
> where?
> I don't seem to find much in /data/data/ (package name
> as defined in the Andr
Yes, for example here is the declaration in the activity of Market that
handles the user clicking on an Android Market URI link:
There is nothing special about calling this from a fragment; all it is doing
is calling the containing activity's startActivity().
If you say the logcat is showing the first activity being started again,
then most likely you are calling startActivity() somewhere and causing that.
On Thu, Mar 24,
If I right-click the res folder of a project, I can create a menu
folder. If I right click that folder and try to create a menu.xml
file, eclipse hangs. I have to force quit it. After relaunching
eclipse, menu.xml is there. I've seen this behavior on two different
computers now. If I then try
Thanks for your valuable reply,
i have to develop speed test application in andorid. i have developed
upload application in java , i can upload the file from java to public
server, when i put that application to android , it is not working , i
will attach the upload code and log. kinldy guid me ho
Create a new layout that looks better in landscape mode... You can have
separate layouts for both portrait and landscape
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Thu, Mar 24, 2011 at 7:47 PM, Jake Colman wrote:
>
> My app is designed to use a 2
Hi Hackborn,
For the example you have specified what will be the URL be?
Is it something like market://?
Regards,
Perumal
On Mar 25, 1:46 pm, Dianne Hackborn wrote:
> Yes, for example here is the declaration in the activity of Market that
> handles the user clicking on an Android Market UR
201 - 220 of 220 matches
Mail list logo