Hey guys, first of all, sorry if I post on the wrong section.
I have aquestion for devs. I'm a student developer and I'm learning to develop for Android. Do you guys think I'd necessarily need an Android device or the Android emulator would be enough(maybe for one year or more). I also like w10 mobile and I don't know what to do.
Thanks!!!!!!
Also another question, I'm a really beginner dev, but I'd like to get involved in community development, hacking etc, what do you guys recommend to me? Where should a beginner like me start from?
I am always running the apps on a real device if I can. This is definetly needed if the app uses for example something like networking because these functions will not be available on an emulator. The main reason however for using a real device is that it runs a lot smoother. The emulator can take a long time to boot up and it can be really laggy when running the app. Also when you are holding the phone on your hand you get to see how the app really looks and feels.
Emulator is ok though if there is nothing else available.
VilleI said:
I am always running the apps on a real device if I can. This is definetly needed if the app uses for example something like networking because these functions will not be available on an emulator. The main reason however for using a real device is that it runs a lot smoother. The emulator can take a long time to boot up and it can be really laggy when running the app. Also when you are holding the phone on your hand you get to see how the app really looks and feels.
Emulator is ok though if there is nothing else available.
Click to expand...
Click to collapse
Thanks for your reply. Well... the emulator is not really slow on latest versions of android studio... but it does start pretty slow. I'll finally use a real device.
On ADV, how can you test GPS, other sensors?
Do you guys think I'd necessarily need an Android device or the Android emulator would be enough(maybe for one year or more)
Click to expand...
Click to collapse
You can use Android Studio emulator and it will work in most cases. Couple recommendations:
1. Select Android version with Google APIs when creating device
2. Install Intel HAXM (you can find it in SDK manager also) - this will really speed up your emulator including loading time
3. Android Studio 2.0 will be released soon and looks like they will improve emulator performance and functionality there.
Of course you may face something wich is not currently works on emulator but you will face this on a real devices too - some features may work different on devices from different manufacturers. But the chance with facing this kind of troubles is very low when you work on common stuff. Also you can take a look to the 3rd party emulators, like Genymotion.
Anyway I prefer to use real device when developing because I can "feel" it
Where should a beginner like me start from?
Click to expand...
Click to collapse
Start with creating some app which will work with some Rest services, display some sort of lists, images, use database to store data. Just think about creating something useful and interesting for you.
---------- Post added at 04:54 PM ---------- Previous post was at 04:50 PM ----------
Cuong Phan said:
On ADV, how can you test GPS, other sensors?
Click to expand...
Click to collapse
You can test GPS using different apps which mocks your location (you can download apk from play store and install it on emulator) or using the terminal:
1. Connect to emulator with "telnet localhost 5554" command. Maybe you will need to change "5554" with another digits - just look at emulator's window title
2. Set location with "geo fix 12.345 67.89" command
What other sensors you need to test?
Used android emulators a lot, but mostly to test different unusual screen resolutions/dpi combinations.
They're ok speedwise, but you'll never get real feel of your app on AVD. And please, don't release anything, that just been tested only on AVD.
Also AVDs are quite good for recording videos of your app UI using screengrabbers on desktop (SSR - Simple Screen recorder is the best for me so far)
As for beginner's project - try to implement little game. I've started with simple rotating cube example from "Hello Android" book , and this little project ended with game with 3M downloads on play store
Android emulator will work when you begin a project.
If you need more tests or make a formal public apk, you can use real devices.
Best way is use both if you have device - use device. Another android versions, resolutions, sizes etc. test on the emulator.
If standard emulator is too slow, you can use genymotion.
Related
Oh man, i had fun with this little piece of software in school with my old sony erricsson c510. my friend and me used to link our phones, hide it behind the board and activate the music with the other one xD. the teacher didnt knew what was goin on ^^
anyways, bt-info was a fun program and i searched the web for an android version of this. i alao tried to convert the jar file into an apk file. it worked but the software was incompatible. can anyone make it work on my samsung galaxy s2?
Would be awesome....
lol i remember that app back in the times... but it worked only with a few target phones, I remember always failing against Symbians, working on some LG and SE ( AT standard commands huh?).
Anyway, in my free time I'm playing with some Android scripting and I could sort something like this... you got any request for features ?
As of now I got a "talk server"... just run on the phone, connect to its IP from anywhere else (another phone, iphone, ipad, pc...) type something and the phone will say it you could prank as well with that, but there could be added other cool functions...
Think that could be done via bluetooth too, though haven't tried much the bt libs..
Let me know if that could interest you
ell3 said:
lol i remember that app back in the times... but it worked only with a few target phones, I remember always failing against Symbians, working on some LG and SE ( AT standard commands huh?).
Anyway, in my free time I'm playing with some Android scripting and I could sort something like this... you got any request for features ?
As of now I got a "talk server"... just run on the phone, connect to its IP from anywhere else (another phone, iphone, ipad, pc...) type something and the phone will say it you could prank as well with that, but there could be added other cool functions...
Think that could be done via bluetooth too, though haven't tried much the bt libs..
Let me know if that could interest you
Click to expand...
Click to collapse
It would be awesome if you could it even get to work! it crashes on my phone when i try to connect! i used a jar to apk converter ..... maybe not the best idea
the app is/was great just the way it worked! maybe wifi support... and dissable the code request-thingy when i try to connect to a phone - but i think that would be iligal...
but yeah ... if you can get it to work, you could sell it on the market! or publish it anywere else! im not the only one whos searching for that app working on android!
See, targeting new generation phones with that old bluetooth app wont be of any effect.... will just work on old ones.
Removing the "code thing" you say it's the pairing procedure of bluetooth, the standard authentication feature of bt, actually you can't get around it, and though it would be illegal, it would get you big money if you ever find how to
That app used pseudo-standard AT commands through the bluetooth modem interface of the phone, and that supposedly to issue an action on the phone (like push/pull contacts,sms,calendars, raise volume, set alarm....) but that was not implemented in all phones so most commands failed, but virtually could work with any target as long as it was bt enabled and paired.
TL;DR
Not worth porting bt-info. So, as it must be build from scratch, you can suggest some feature request
ell3 said:
See, targeting new generation phones with that old bluetooth app wont be of any effect.... will just work on old ones.
Removing the "code thing" you say it's the pairing procedure of bluetooth, the standard authentication feature of bt, actually you can't get around it, and though it would be illegal, it would get you big money if you ever find how to
That app used pseudo-standard AT commands through the bluetooth modem interface of the phone, and that supposedly to issue an action on the phone (like push/pull contacts,sms,calendars, raise volume, set alarm....) but that was not implemented in all phones so most commands failed, but virtually could work with any target as long as it was bt enabled and paired.
TL;DR
Not worth porting bt-info. So, as it must be build from scratch, you can suggest some feature request
Click to expand...
Click to collapse
would be nice if someone could 'rebuild' that app on android bases... hacking the bluetooth 'password-thingy'™© isnt a big deal! the app worked great without it!
My question: is it POSSIBLE to make that app for android with all the functions that it has? and make it work with android-> symbian and android -> android?
Man I've been looking and wanting this for my phone forever.
Evo 3D in full Affect with WTSB HYDRO SENSE 3.5
Q: is it POSSIBLE to make that app for android with all the functions that it has and make it work with android-> symbian and android -> android?
A: Symbians hardly support AT commands, you can try yourself using old bt.info or any other AT enabled shell to issue a command to a Symbian, I had no luck in the past. Android to android I dont know if it could be done natively (client on one phone, no server in the other) but it surely might be done with an app. To get a 100% compatibility there should be a client or a server installer in BOTH phones, UNLESS you find some AT command that would run on all (hard, as most vendors implement them differently).
I found this lil app that can give you an example, it's called "AT COMMAND TOOL" (google -> "sd.at.c8600"). It says it has presets for Huaweii phones, but that's the only supported. Anyway, looks like you can issue any command, but you have to find out WHICH one works with other phones !!
Google "at command list" and get the idea...
I haven't tested it, but looks similar to what you're looking for.
I remember using
Code:
AT+CNUM
to get the phone number via BT... that could come handy in certain situations
I've heard this is possible for the Note Pro but cannot find an actual working process for either.
Any luck out there for others?
Agrajag27 said:
I've heard this is possible for the Note Pro but cannot find an actual working process for either.
Any luck out there for others?
Click to expand...
Click to collapse
There's a thread here somewhere on using a hacked flash apk with dolphin and jet pack. Works great. As for Java? No idea.
Working java binaries (runtime environment, not a browser plugin...) were distributed with android apktool:
https://code.google.com/p/apktool/
However since kitkat i cant get it to work.The binaries structure is very messy and it would take some time to catch how to launch java vm in an appropriate way, ie. letting it use associated so libs. Didnt have time yet.
They are also seem to be redistribuded with AIDE app. Didnt checked out that yet, too.
Above may let you execute jar applications from command line.
Browser plugin not available atm.
Um what do you want with java on an android tablet?
Sent from my SM-P600 using XDA Premium HD app
{Diemex} said:
Um what do you want with java on an android tablet?
Click to expand...
Click to collapse
I have several java-based games I play online that are not working now.
I followed the instructions and it works. However, flash playback seems to be slow. Anybody has an idea why?
http://forum.xda-developers.com/goo...-android-4-t2548001/post47958533#post47958533
hajime_android said:
I followed the instructions and it works. However, flash playback seems to be slow. Anybody has an idea why?
http://forum.xda-developers.com/goo...-android-4-t2548001/post47958533#post47958533
Click to expand...
Click to collapse
Because Adobe do not care about Android Flash users.
KitKat version is working at all thanks to community, not to the developer... Adobe depreciated Flash some time ago (a year or something?). It's not optimized, that's it.
It's not a drama after all, as the whole world seems to be switching to HTML5...
PS: you may want to try turning on GPU acceleration in developer options...
PS2: you may also want to try Puffin Browser from Google Play store, which has newer version of flash included (and really works!), however I cannot guarantee if the performance will be better...
Hi all!
So I've been working on an app in my spare time on & off for about 2 years and have finally put it up on the play store. I'm looking for opinions about it, as after building it for so long I've most likely got severe tunnel vision and wouldn't know what's intuitive and what's not to a new user!
What does it do?
Remote control your PC (mouse, keyboard, media buttons)
Copy files to & from your PC or other Android devices
Sync files automatically
Share clipboard data between devices
Open URLs and files (eg music, video) on remote devices
Supports sleep and wake-on-lan of devices
Why? There are similar apps already!
I wrote it out of frustration with the available options for "inter-connectivity" between my devices. I use a HTPC to watch movies and wanted a remote app to control the HTPC (remote mouse, play/pause/volume). There are many existing such apps but I didn't like what's out there:
Are complicated with separate "remotes" for each app that you have to juggle between, etc
They don't behave like a keyboard & mouse, but have special buttons to learn
They often require Java on the PC
Can be slow
I wanted much more than just a remote control app if I'm going to have a "server" running on my PC...
If you want remote clipboard sharing, file transfers, etc, you have ot install separate servers for each app on your PC... I thought I could do better, and you only need 1 "server" on the PC to do all of the above.
Finally, I wrote it to be peer-to-peer. This means that your PC isn't really a "server", for example, you can transfer files/open URLs Android-Android without a PC being present. One such case is when I'm often reading a webpage and open the link on my wifes tablet so she can check it out too!
It's also cross-platform. The same core bit compiles on pretty much anything, but so far I've only released the Android and Windows ports, as they're the ones that I've tested the most. Coming soon will be OSX, Linux and iOS last (I HATE objective-C syntax!)
I've got heaps of other features which I want to add, to build this into the ultimate way to make your devices cooperate... but with the existing features I thought it's time to release it & see what others think!
How can I download it?
The app is called MissingLink (one word, if you want to search for it on the play store). Or the direct link is here: https://play.google.com/store/apps/details?id=com.peaklabs.missinglink
The Windows version is available on my site at:
http://www.peaklabs.net/apps/missing-link/download/
Quit blabbing
Ok If you have time please give it a shot and let me know what you think! It has a trial as synching is a paid feature, but if you want I can reset your trial! Just message me.
Just hoping to get some feedback as I continue building it! Thanks heaps!
Oh and if you have any features you think might come in handy, please let me know! I'm sure there's so much that could be done with our devices that find each other and are connected via TCP/IP that isn't being done yet
XDA:DevDB Information
MissingLink, Tool/Utility for all devices (see above for details)
Contributors
peaklabs.net
Version Information
Status: Stable
Current Stable Version: 1.1.7.0
Stable Release Date: 2014-10-12
Created 2014-07-13
Last Updated 2014-10-12
Looms really cool. will download now and test later
@peaklabs.net
Trying it now will report back.
EDIT : Awesome now I can control my PC wirelessly and transfer files(I have already set wake on LAN and now with remote functionality its complete Just one doubt is the app trial or full version ? (What features are Pro one ??)
Hope we can get MAC version...
Navneet Suresh said:
@peaklabs.net
Trying it now will report back.
EDIT : Awesome now I can control my PC wirelessly and transfer files(I have already set wake on LAN and now with remote functionality its complete Just one doubt is the app trial or full version ? (What features are Pro one ??)
Click to expand...
Click to collapse
Hi! Glad you found it useful
It's free, but you can upgrade to pro from the app - currently only file synching and PC shutdown/restart requires "pro"! I think as I add features in the future they'll most likely end up being part of the "pro" upgrade.
NeroD said:
Hope we can get MAC version...
Click to expand...
Click to collapse
Certainly will! That's the next OS I'm going for actually.
Just wondering, what would you need it for - Android->MAC remote, or also due to file transfers? Some people have trouble with setting up windows shares between windows & OSX, and ML can be a replacement for that between win & osx too... Just wondering how you'd use it, as my wife is an OSX using photographer and I'm always annoyed by her backup needs with her weird (to me) file systems
I can completely understand about the shortcomings of the 'current' offerings, Sounds like ML is exactly what I've been missing for years.. (Wish I had something like this since I had my first android phone, to be honest).. Too bad I killed the battery in my tablet, but I'll be sure to test it out as soon as the tablet's charged and the phone is re-flashed.
Thank you
Hi. I've installed the app on my phone and Nexus 7. The Windows app is not playing at the moment. I keep getting a path error. Will report back tomorrow (it's late here), This could be really valuable. Thanks for your efforts. John
great work. this is what i waiting for
force close on kitkat
First time starting it gives an FC, after that it wont FC anymore, haven't recorded the logcat though. just saying
Working perfect on my Nexus 5. You sir are a genius. Very smooth and no-brainer install and usage. As matter of fact I typed this from the app itself :good:
Edit: I didn't like the icon so i made one for my use, but why not share it?
FC at startup with CM11 on ART
EDIT: second startup worked perfectly
Awesome. I think the icon above looks nicer, but apart from that, nothing much to say. Maybe try using different colours, maybe white instead of green would improve readability. Thumbs up
i'd love to have something like this for mac. as it stands android file transfer is not a great solution and i prefer just to adb push/pull things instead of using that.
hope there is a mac version soon!
Looking for the Linux version.
Once it's out, this will be my app.
I'm currently using a bunch of soft for the same things
- explorer ES for smb exploration
- Pushbullet for sharing pastes
- pydio for remote file access
- airdroid for some file exchanges
However some of these apps also works over mobile data and not only Wifi.
johnwillyums said:
Hi. I've installed the app on my phone and Nexus 7. The Windows app is not playing at the moment. I keep getting a path error. Will report back tomorrow (it's late here), This could be really valuable. Thanks for your efforts. John
Click to expand...
Click to collapse
I'm not sure, but the previous Windows build (v 1.0.110) had an error that came up sometimes on first start, maybe that's what you saw - it should be fixed on 1.0.111 though. Let me know if you find out what it was! Thanks!
yamin8000 said:
force close on kitkat
Click to expand...
Click to collapse
Hi! Sorry to hear that. I unfortunately don't have a kitkat phone to test on, as samsung hasn't released it for my S4 for some reason
If you see it again, please press the "Report" button, that'd be a great help! Thanks!
Hi All!
Thanks for the awesome feedback, glad people are liking it. I've noted your issues, and once I finish the next update I think I'll focus on building the mac & linux versions.
Also several requests for configurable UI colours, that's going to be a pain to code, but I think I'll have to do it in the end!
Please if anyone is seeing force closes, press the "Report" button. I may have found 1 cause of them but there may be others :-/
Thanks heaps!
Upon trying to activate the trial features after having had it installed for less than a minute, I get "Failed to start a MissingLink trial. Have you previously done a trial with this device?"
The answer is obviously "No," but the only option available is "OK."
Cannot find a price anywhere, and attempting to buy the pro version (since the trial is not available) results in an error.
Nexus 4 with a 4.4.4-based AOSP custom firmware
Hi,
I would like to flash few android devices with very basic operating system and one app only - like vPos system.
What will be ideal is:
Replace starting screen of the oem device with my own graphics.
Start my own app when the device is fully booted.
Have ability to change wifi network within the app.
Use 3g/4g connection within the app.
I know about locking device for one app only (kiosk mode), but this is now what I'm asking for here.
I will really appreciate any kind of help.
Many thanks...
FlexRoad
If u want to replace OS of ur phone with another one, you may try miracle box.
Run One App or Few Selected Apps with ease!
Absolutely, all that you have mentioned under the "ideal" part can be done easily with a kiosk lockdown software that needs no technical skills to set the device with one app or few selected apps from a web-based dashboard using a laptop or a desktop.
flexroad said:
Hi,
I would like to flash few android devices with very basic operating system and one app only - like vPos system.
What will be ideal is:
Replace starting screen of the oem device with my own graphics.
Start my own app when the device is fully booted.
Have ability to change wifi network within the app.
Use 3g/4g connection within the app.
I know about locking device for one app only (kiosk mode), but this is now what I'm asking for here.
I will really appreciate any kind of help.
Many thanks...
FlexRoad
Click to expand...
Click to collapse
This is a pretty common thing to do, actually.
What I would recommend you do is start with an AOSP build for the devices you want use, either by building one yourself (as in this tutorial, which has a similar goal), or by finding a pre-built AOSP-based rom around on these forums. (AOSP is kind of the closest one gets "just installing the OS"). After that, you could consider tweaking the build or modifying the image, but another alternative is just to use some type of MDM (mobile device management) solution for deploying your app, customizing the available options, locking things down, etc. (There are other MDM vendors beside Google as well.) This might be a good idea for something like a vPOS, because it inherently also gives you some amount of traceability and a "paper trail".
---------- Post added at 12:13 AM ---------- Previous post was at 12:08 AM ----------
geoff-codes said:
This is a pretty common thing to do, actually.
What I would recommend you do is start with an AOSP build for the devices you want use, either by building one yourself (as in this tutorial, which has a similar goal), or by finding a pre-built AOSP-based rom around on these forums. (AOSP is kind of the closest one gets "just installing the OS"). After that, you could consider tweaking the build or modifying the image, but another alternative is just to use some type of MDM (mobile device management) solution for deploying your app, customizing the available options, locking things down, etc. (There are other MDM vendors beside Google as well.) This might be a good idea for something like a vPOS, because it inherently also gives you some amount of traceability and a "paper trail".
Click to expand...
Click to collapse
This was going to be a much more helpful response, but apparently I can't link outside this site. So maybe Google search:
"intellectsoft blog build and run android from aosp source code to a nexus 7", "g suite manage your organization's mobile devices", and "G Suite Compare mobile management features"
Hello there, I've been working on this for a few days and I thought I'd finally show it off!
Please note that there is absolutely no graphics, only console output! Also, it's not very fast (only runs at 15fps on a SD625) and it only runs old homebrew (e.g. first libtransistor tests and such).
Discord support: https://discord.gg/fn8VV9T
Source code: https://github.com/Cyuubi/MonoNX
Credits:
Ryujinx Team - For the base of MonoNX, without them this would not be possible! Show them some love over at their GitHub (https://github.com/Ryujinx/Ryujinx).
Xamarin - For allowing us C# developers to program on Android.
Dr.Hacknik - Logo design.
Requirements:
An ARM64 or 64-bit x86 processor
NOTE: If you get a ROM load error, close out of MonoNX and go into app info and turn on and off storage permissions. This should fix the issue.
App download: https://play.google.com/store/apps/details?id=com.cyuubiapps.mononx
Test ROM download: https://drive.google.com/open?id=1cVa5BDn1w6FNb6QEKmch2m6k67t_q5c_
Interesting, I'll be looking forward this project. Thanks.
Great work , but can't load rom.
Pankaj Rai said:
Great work , but can't load rom.
Click to expand...
Click to collapse
NOTE: If you get a ROM load error, close out of MonoNX and go into app info and turn on and off storage permissions. This should fix the issue.
Very nice, BUT, I have a very important question.
Do you use on aarch64 target devices dynamic recompilation or you execute directly the code?
If not, would you mind to give an insight?
VIRGIN KLM said:
Very nice, BUT, I have a very important question.
Do you use on aarch64 target devices dynamic recompilation or you execute directly the code?
If not, would you mind to give an insight?
Click to expand...
Click to collapse
Sadly, Hypervisors aren't really possible on Android from Xamarin... So we translate ARM64 -> MSIL/CIL -> ARM64, this is quite a hackjob but it works however it kills performance. MonoNX also works on 64-bit x86 processors, so the same thing works for this.
Toggling the storage permission back and forth changes nothing for me.
Sent from my crosshatch using XDA Labs
Cyubii said:
Sadly, Hypervisors aren't really possible on Android from Xamarin... So we translate ARM64 -> MSIL/CIL -> ARM64, this is quite a hackjob but it works however it kills performance. MonoNX also works on 64-bit x86 processors, so the same thing works for this.
Click to expand...
Click to collapse
Hmm, that still sounds though like something that CAN be tackled among the line.
Like what if somebody would switch (no pun intended, hahahaha) the codebase to Firebase?
UPDATE: Apparently it works with under 4GB RAM. (probably using swap though)
Hello, the app force close for me (test rom and snake homebrew). I can not launch anything. I tried turn on and off. Doesn't help.
Here's what I get when I load the test ROM.
EDIT: The emulator closes shortly afterwards. I have a OnePlus 5 with Android 9.0.3.
Hope upcoming updates soon.
Can you support google pixel c? The same soc as switch!
Maybe the adaptation speed will be faster
I hope I can play D3 on my phone soon
[email protected] said:
Can you support google pixel c? The same soc as switch!
Maybe the adaptation speed will be faster
Click to expand...
Click to collapse
Yeah then the games can run natively therefore no need for emulation. I would actually buy a pixel C over a switch if it can work. Also what about nvidia shield tv that can run mario galaxy at 1080p
So? Where we can find roms for this emulator?
Cyubii said:
NOTE: If you get a ROM load error, close out of MonoNX and go into app info and turn on and off storage permissions. This should fix the issue.
Click to expand...
Click to collapse
Tried not working , btw m using oneplust 3T (Aarch64)
nintendobuster420 said:
Yeah then the games can run natively therefore no need for emulation. I would actually buy a pixel C over a switch if it can work. Also what about nvidia shield tv that can run mario galaxy at 1080p
Click to expand...
Click to collapse
Any site to download roms from?
What do you think should be the minimum requirements for an Android device to play resident evil 7 using this emulator, considering RE7 is a cloud game for Nintendo switch?
Also, I found its rom whose size is about 40 MB (YES, 40MB).
Only 3 games playable as I see the base project. Need some time but waiting for D3