Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old December 19th, 2011, 01:58 AM   #1 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 5
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default Single app device

Hi

I am looking to create a single app device and exploring if android works well as an embedded OS in such scenario. So I will be using beagleboard or similar that support android. The use case is as follows:
1. User boots the device. the device boots up android.
2. The first UI screen that user sees is my custom app screen. User will not be able to exit out of the app or close it. This would mean that any hardware buttons will be disabled expect for the reset and power on/off.
3. Within my UI I will still want to launch the Settings app to allow user to set the Wifi connectivity and also be able to use the virtual keyboard.


Is this scenario possible and if yes any good links to follow. I have been hunting on google and youtube but didnt find a conclusive answer.

Thanks
Pankaj

PS: This is my first post on the forum

pankaj013 is offline  
Reply With Quote
Sponsors
Old December 19th, 2011, 04:48 AM   #2 (permalink)
Member
 
Join Date: Sep 2010
Location: Virginia
Posts: 433
 
Device(s): Droid 2, Droid Charge
Thanks: 14
Thanked 58 Times in 51 Posts
Default

Here is a video from Utube to get you started and there are others on the right of this one.


Do a Google on "beagleboard android" to get tons of links to start you in the right direction. I think is doable, but not very practical unless you are just practicing.
chrstdvd is offline  
Last edited by chrstdvd; December 19th, 2011 at 04:49 AM. Reason: clarify
Reply With Quote
Old December 19th, 2011, 06:40 AM   #3 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 5
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I already know how to get android working on beagleboard. The thing I want help on is that when android boots up, instead of it coming to the android home screen, I want my custom app to start without having to click the icon in the launcher. Infact my android install will only have one app installed and that is mine and taht is the only app I want running all the time.
pankaj013 is offline  
Reply With Quote
Old December 19th, 2011, 07:03 AM   #4 (permalink)
Member
 
Join Date: Sep 2010
Location: Virginia
Posts: 433
 
Device(s): Droid 2, Droid Charge
Thanks: 14
Thanked 58 Times in 51 Posts
Default

Then in your code at the point where the lock screen is normally painted, open your app at that point in your code.
chrstdvd is offline  
Reply With Quote
Old December 19th, 2011, 07:04 AM   #5 (permalink)
Phone Kira
 
Tresezk's Avatar
 
Join Date: Feb 2011
Location: The Great Void
Posts: 2,810
 
Device(s): SE Xperia Mini Pro
Thanks: 441
Thanked 1,696 Times in 1,188 Posts
Default

Make an app which starts on boot probably .

Some tips here

Launching an Application on startup in Android devices | Androidpeople.com
__________________
Site Rules and Guidelines
FAQ by the Monk Nakama
Galaxy 551 The Blog

Previously karandpr
Tresezk is online now  
Reply With Quote
Old December 19th, 2011, 07:09 AM   #6 (permalink)
Check six!
 
Slug's Avatar
 
Join Date: Aug 2009
Location: Inverness, UK
Posts: 12,514
 
Device(s): HTC Hero (ret), HTC DesireZ (Quattro RC3), SGS2 (D4 ROM)
Thanks: 1,588
Thanked 5,816 Times in 3,143 Posts
Send a message via Skype™ to Slug slugbrem@gmail.com
Default

A very interesting idea, Pankaj. You may get more specific help in the Development section, so I'll move this topic to there.
Slug is online now  
Reply With Quote
Old December 19th, 2011, 07:39 AM   #7 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 5
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Karan, yes that is what I want. I can actually do that easily using core embedded linux with framebuffer and an application dev environment like Qt which allows creating UI applications targeted to framebuffer. I just need to add my application in the init script and it gets started as soon as the boot process is finished. The problem with that direction is that then in my application I have to implement almost all components including things like virtual keyboard, wifi settings screen etc. The reason I want to use android is so that I can use existing components for keyboard etc. Also driver support and application development & testing is better when using android.
pankaj013 is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 11:57 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo