Android Widgets & C2

Discussion and feedback on Construct 2

Post » Fri May 11, 2012 9:29 pm

Does anyone know if it would be possible to create Android widgets using C2? Obviously it can't all be done through the editor itself, but I imagine the output could be edited to work as a widget instead of an app. I know very little about creating widgets so please bear with me.

Basically I'm looking to develop a game and instead of having a simple icon you press to open the game, there will be an interactive widget that will communicate with the game data, show animated sprites of the main character, his stats (Health, etc.) and have a few buttons. Pressing one of these buttons will open a game featuring this character. That's the gist of it at least.
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Sat May 12, 2012 2:42 am

   Please keep in mind that Scirra is in fact a small company with just two staff members. You may not be able to run your widget like an actual android widget. Construct 2 does not yet have the capability to retrieve data from databases on the phone, nor run on the phone's main screen like a widget. Unfortunately, you will not be able to create your widget as of now, but you can prototype it until the technology comes out! Try looking at this link on how to create a twitter widget: [URL= http://www.scirra.com/tutorials/184/how-to-make-a-twitter-widget]http://www.scirra.com/tutorials/184/how-to-make-a-twitter-widget[URL] for ideas.
B
6
S
1
G
1
Posts: 22
Reputation: 719

Post » Sat May 12, 2012 9:55 am

not true. you can learn a little programming and with an android sdk you can do anything you want. construct is only a display+mechanics engine, game is wrapped into html page, which is then displayed as native app by phonegap. with android sdk and little programming knowledge you can create a widget with this html page. also as of now, construct (with android sdk help and some code) IS able to do every thing that phonegap plugins can do (bluetooth, sms functionalities, status bar notifications, etc.)
B
81
S
50
G
10
Posts: 555
Reputation: 13,009

Post » Sat May 12, 2012 3:14 pm

@ranma I assumed that he was referring to doing this strictly with c2 events, not SDK, or this post would be in the SDK section.
B
6
S
1
G
1
Posts: 22
Reputation: 719

Post » Sat May 12, 2012 4:56 pm

im not talking about construct sdk :)
B
81
S
50
G
10
Posts: 555
Reputation: 13,009


Return to Construct 2 General

Who is online

Users browsing this forum: saiyadjin and 14 guests